One-versus-rest ridge classifier on a dense feature matrix.
More...
#include <structure_desc.hpp>
|
| void | fit (const std::vector< std::vector< double > > &X, const std::vector< int > &y) |
| int | predict (const std::vector< double > &x) const |
One-versus-rest ridge classifier on a dense feature matrix.
Definition at line 51 of file structure_desc.hpp.
◆ fit()
| void chill::LinearClassifier::fit |
( |
const std::vector< std::vector< double > > & | X, |
|
|
const std::vector< int > & | y ) |
◆ predict()
| int chill::LinearClassifier::predict |
( |
const std::vector< double > & | x | ) |
const |
|
nodiscard |
◆ labels
| std::vector<std::string> chill::LinearClassifier::labels |
◆ nClasses
| int chill::LinearClassifier::nClasses = 0 |
◆ nFeat
| int chill::LinearClassifier::nFeat = 0 |
◆ ridge
| double chill::LinearClassifier::ridge = 1e-6 |
◆ weights
| std::vector<double> chill::LinearClassifier::weights |
The documentation for this struct was generated from the following file: