PyNomaly
PyNomaly copied to clipboard
Alter Fit Convention
Provide parameters in LocalOutlierProbability() and provide data in fit() as opposed to providing data in LocalOutlierProbability() along with params. This is s.t. PyNomaly is more in line with scikit-learn and other popular libraries.
More specifically and as an update, the following parameters could stay in the LocalOutlierProbability()
method:
- extent
- n_neighbors
And any data-related parameters that may change from execution to execution (such in the case of inference) could instead be passed to the fit()
method:
- data
- distance_matrix
- neighbor_matrix
- use_numba
- progress_bar