public class LSQROnHeap<K,V> extends AbstractLSQR implements AutoCloseable
AbstractLSQR and Dataset.| Constructor and Description |
|---|
LSQROnHeap(DatasetBuilder<K,V> datasetBuilder,
LearningEnvironmentBuilder envBuilder,
PartitionDataBuilder<K,V,LSQRPartitionContext,SimpleLabeledDatasetData> partDataBuilder,
LearningEnvironment localLearningEnv)
Constructs a new instance of OnHeap LSQR algorithm implementation.
|
| Modifier and Type | Method and Description |
|---|---|
protected double |
beta(double[] x,
double alfa,
double beta)
Calculates beta.
|
protected double |
bnorm()
Calculates bnorm.
|
void |
close() |
protected Integer |
getColumns()
Returns number of columns in dataset.
|
protected double[] |
iter(double bnorm,
double[] target)
Perform LSQR iteration.
|
solvepublic LSQROnHeap(DatasetBuilder<K,V> datasetBuilder, LearningEnvironmentBuilder envBuilder, PartitionDataBuilder<K,V,LSQRPartitionContext,SimpleLabeledDatasetData> partDataBuilder, LearningEnvironment localLearningEnv)
datasetBuilder - Dataset builder.envBuilder - Learning environment builder.partDataBuilder - Partition data builder.protected double bnorm()
bnorm in class AbstractLSQRprotected double beta(double[] x,
double alfa,
double beta)
beta in class AbstractLSQRx - X value.alfa - Alfa value.beta - Beta value.protected double[] iter(double bnorm,
double[] target)
iter in class AbstractLSQRbnorm - Bnorm value.target - Target value.protected Integer getColumns()
getColumns in class AbstractLSQRpublic void close()
throws Exception
close in interface AutoCloseableException
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025