class CrystalML::Regression::LinearRegression
- CrystalML::Regression::LinearRegression
- CrystalML::SupervisedEstimator
- CrystalML::BaseEstimator
- Reference
- Object
Included Modules
Defined in:
regression/linear_regression.crConstructors
Instance Method Summary
- #coefficients : Tensor(Float64, CPU(Float64)) | Nil
- #coefficients=(coefficients : Tensor(Float64, CPU(Float64)) | Nil)
- #fit(data : Tensor(Float64, CPU(Float64)), target : Tensor(Float64, CPU(Float64)))
- #predict(data : Tensor(Float64, CPU(Float64))) : Tensor(Float64, CPU(Float64))
Instance methods inherited from module CrystalML::Regressor
predict(data : Tensor(Float64, CPU(Float64))) : Tensor(Float64, CPU(Float64))predict(data : Array(Array(Float64)) | Crysda::DataFrame) : Tensor(Float64, CPU(Float64)) predict
Instance methods inherited from class CrystalML::SupervisedEstimator
fit(data : Tensor(Float64, CPU(Float64)), target : Tensor(Float64, CPU(Float64)))fit(data : Tensor(Float64, CPU(Float64)) | Array(Array(Float64)) | Crysda::DataFrame, target : Tensor(Float64, CPU(Float64)) | Array(Array(Float64)) | Array(Float64) | Crysda::DataFrame) fit
Constructor Detail
Instance Method Detail
def fit(data : Tensor(Float64, CPU(Float64)), target : Tensor(Float64, CPU(Float64)))
#