Model

class falcon.abstract.Model

Base class for all models.

abstract fit(X: ndarray[Any, dtype[ScalarType]], y: ndarray[Any, dtype[ScalarType]], *args: Any, **kwargs: Any) Any
Parameters
  • X (npt.NDArray) – features

  • y (npt.NDArray) – targets

Returns

usually None

Return type

Any

abstract predict(X: ndarray[Any, dtype[ScalarType]], *args: Any, **kwargs: Any) ndarray[Any, dtype[ScalarType]]
Parameters

X (npt.NDArray) – features

Returns

predictions

Return type

npt.NDArray