|
Cosan
1.0
Data Analytics Library
|
#include <polynomialfeatures.h>
Public Member Functions | |
| PolynomialFeatures ()=delete | |
| PolynomialFeatures (CosanRawData< NumericType > &RD, std::vector< std::pair< gsl::index, NumericType >> um, bool add_back=false) | |
| void | SetInteractionFeatures (CosanRawData< NumericType > &RD, std::pair< gsl::index, gsl::index > pair, bool add_back=false) |
| decltype(auto) | GetPolynomialFeatures () |
| decltype(auto) | GetInteractionFeatures () |
| void | UpdatePolynomialFeatures (CosanMatrix< NumericType > inputX) |
Public Member Functions inherited from Cosan::Preprocessor< NumericType > | |
| Preprocessor () | |
| virtual | ~Preprocessor ()=default |
| virtual void | fit (const CosanMatrix< NumericType > &X) |
| virtual CosanMatrix< NumericType > | transform (const CosanMatrix< NumericType > &X) |
Public Member Functions inherited from Cosan::CosanBO | |
| CosanBO () | |
| Default constructor. More... | |
| virtual const std::string | GetName () const |
| Get the name of the objects. More... | |
Private Attributes | |
| CosanMatrix< NumericType > | __polynomialFeatures |
| CosanMatrix< NumericType > | __interactionFeatures |
Generate polynomial and interaction features. Generate a new feature matrix consisting of all polynomial combinations of the features with degree less than or equal to the specified degree.
Definition at line 14 of file polynomialfeatures.h.
|
delete |
|
inline |
Definition at line 17 of file polynomialfeatures.h.
|
inline |
Definition at line 109 of file polynomialfeatures.h.
|
inline |
Definition at line 108 of file polynomialfeatures.h.
|
inline |
Definition at line 41 of file polynomialfeatures.h.
|
inline |
Definition at line 110 of file polynomialfeatures.h.
|
private |
Definition at line 113 of file polynomialfeatures.h.
|
private |
Definition at line 112 of file polynomialfeatures.h.