class CrystalML::DimensionalityReduction::PCA

Included Modules

Defined in:

dimensionality_reduction/pca.cr

Constructors

Instance Method Summary

Instance methods inherited from module CrystalML::Transformer

transform(data : Tensor(Float64, CPU(Float64))) : Tensor(Float64, CPU(Float64))
transform(data : Array(Array(Float64)) | Crysda::DataFrame) : Tensor(Float64, CPU(Float64))
transform

Instance methods inherited from class CrystalML::UnsupervisedEstimator

fit(data : Tensor(Float64, CPU(Float64)))
fit(data : Array(Array(Float64)) | Crysda::DataFrame)
fit

Constructor Detail

def self.new(num_components : Int32) #

[View source]

Instance Method Detail

def components : Tensor(Float64, CPU(Float64)) #

[View source]
def components=(components : Tensor(Float64, CPU(Float64))) #

[View source]
def explained_variance : Array(Float64) #

[View source]
def explained_variance=(explained_variance : Array(Float64)) #

[View source]
def fit(data : Tensor(Float64, CPU(Float64))) #

[View source]
def num_components : Int32 #

[View source]
def num_components=(num_components : Int32) #

[View source]
def transform(data : Tensor(Float64, CPU(Float64))) : Tensor(Float64, CPU(Float64)) #

[View source]