Class: Rumale::LinearModel::BaseEstimator
- Inherits:
-
Base::Estimator
- Object
- Base::Estimator
- Rumale::LinearModel::BaseEstimator
- Defined in:
- rumale-linear_model/lib/rumale/linear_model/base_estimator.rb
Overview
BaseEstimator is an abstract class for implementation of linear model. This class is used internally.
Direct Known Subclasses
ElasticNet, Lasso, LinearRegression, LogisticRegression, NNLS, Ridge, SGDEstimator, SVC, SVR
Instance Attribute Summary collapse
-
#bias_term ⇒ Numo::DFloat
readonly
Return the bias term (a.k.a. intercept).
-
#weight_vec ⇒ Numo::DFloat
readonly
Return the weight vector.
Attributes inherited from Base::Estimator
Instance Attribute Details
#bias_term ⇒ Numo::DFloat (readonly)
Return the bias term (a.k.a. intercept).
16 17 18 |
# File 'rumale-linear_model/lib/rumale/linear_model/base_estimator.rb', line 16 def bias_term @bias_term end |
#weight_vec ⇒ Numo::DFloat (readonly)
Return the weight vector.
12 13 14 |
# File 'rumale-linear_model/lib/rumale/linear_model/base_estimator.rb', line 12 def weight_vec @weight_vec end |