smooth.AutoOM.fit
- AutoOM.fit(y, X=None)
Fit all candidates and return the best model by IC.
- Parameters:
y (
ndarray[tuple[int,...],dtype[TypeVar(_ScalarType_co, bound=generic, covariant=True)]]) – Observation vector (binarised internally: any non-zero → 1).X (
Optional[ndarray[tuple[int,...],dtype[TypeVar(_ScalarType_co, bound=generic, covariant=True)]]]) – Optional regressor matrix forwarded to every candidate.
- Returns:
The best-fitting occurrence model, with
time_elapsed_set to the total selection time in seconds.- Return type:
Parent Class: AutoOM