class CrystalML::Classification::RidgeClassifier
- CrystalML::Classification::RidgeClassifier
- CrystalML::SupervisedEstimator
- CrystalML::BaseEstimator
- Reference
- Object
Included Modules
Defined in:
classification/ridge.crConstructors
Instance Method Summary
- #alpha : Float64
- #alpha=(alpha : Float64)
- #coef_ : Tensor(Float64, CPU(Float64))
- #coef_=(coef_ : Tensor(Float64, CPU(Float64)))
- #fit(x : Tensor(Float64, CPU(Float64)), y : Tensor(Float64, CPU(Float64)), n_iter : Int32 = 10, tol : Float64 = 1e-3)
- #intercept_ : Float64
- #intercept_=(intercept_ : Float64)
- #predict(x : Tensor(Float64, CPU(Float64))) : Tensor(Float64, CPU(Float64))
Instance methods inherited from module CrystalML::Classifier
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(x : Tensor(Float64, CPU(Float64)), y : Tensor(Float64, CPU(Float64)), n_iter : Int32 = 10, tol : Float64 = 1e-3)
#