-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
Description of your problem
The initial_point
method for the Model
class shows up twice.
Lines 998 to 1007 in 5d7283e
def initial_point(self, seed=None) -> Dict[str, np.ndarray]: | |
"""Computes the initial point of the model. | |
Returns | |
------- | |
ip : dict | |
Maps names of transformed variables to numeric initial values in the transformed space. | |
""" | |
fn = make_initial_point_fn(model=self, return_transformed=True) | |
return Point(fn(seed), model=self) |
Lines 1262 to 1271 in 5d7283e
def initial_point(self, seed=None) -> Dict[str, np.ndarray]: | |
"""Computes the initial point of the model. | |
Returns | |
------- | |
ip : dict | |
Maps names of transformed variables to numeric initial values in the transformed space. | |
""" | |
fn = make_initial_point_fn(model=self, return_transformed=True) | |
return Point(fn(seed), model=self) |
Please provide any additional information below.
Seems to be a mistake.
Another side note, the seed
parameter seems to be inconsistent with many of the other methods using random_seed
named argument.
Versions and main components
- PyMC/PyMC3 Version: 4.3.0
- Aesara/Theano Version:
- Python Version:
- Operating system:
- How did you install PyMC/PyMC3: (conda/pip)