equadratures
equadratures copied to clipboard
Data Argument for creating parameters
This argument allows the user to create parameters based on scipy.fit()
method. The user won't be required to input the required arguments for the selected distributions and simply pass the data for which they want to create a parameter object.
Syntax:
eq.Parameter(distribution='gaussian',data=arr)
Currently, data parameter is added for:
- Uniform
- Gaussian
- Lognormal
- Exponential
- Beta
The required documentation has been added and test cases have been added in tests/test_parameter.py