Module smartcore::api

source ·
Expand description

Common Interfaces and API

This module provides interfaces and uniform API with simple conventions that are used in other modules for supervised and unsupervised learning.

Traits

  • empty parameters for an estimator, see BiasedEstimator
  • Implements method predict that estimates target value from new data
  • Implements method predict that estimates target value from new data, with borrowing
  • An estimator for supervised learning, that provides method fit to learn from data and training values
  • An estimator for supervised learning. In this one parameters are borrowed instead of moved, this is useful for parameters that carry references. Also to be used when there is no predictor attached to the estimator.
  • Implements method transform that filters or modifies input data
  • An estimator for unsupervised learning, that provides method fit to learn from data