| Package | Description |
|---|---|
| org.apache.ignite.ml.dataset |
Base package for machine learning dataset classes.
|
| org.apache.ignite.ml.dataset.impl.cache |
Base package for cache based implementation of machine learning dataset.
|
| org.apache.ignite.ml.dataset.impl.local |
Base package for local implementation of machine learning dataset.
|
| org.apache.ignite.ml.dataset.primitive |
Package that contains basic primitives build on top of
Dataset. |
| org.apache.ignite.ml.knn |
Contains main APIs for kNN algorithms.
|
| org.apache.ignite.ml.knn.classification |
Contains main APIs for kNN classification algorithms.
|
| org.apache.ignite.ml.knn.regression |
Contains helper classes for kNN regression algorithms.
|
| org.apache.ignite.ml.nn |
Contains neural networks and related classes.
|
| org.apache.ignite.ml.tree.leaf |
Root package for decision trees leaf builders.
|
| Modifier and Type | Method and Description |
|---|---|
default <I extends Dataset<C,D>> |
Dataset.wrap(IgniteFunction<Dataset<C,D>,I> wrapper)
Wraps this dataset into the specified wrapper to introduce new functionality based on
compute and
computeWithCtx methods. |
| Modifier and Type | Method and Description |
|---|---|
<C extends Serializable,D extends AutoCloseable> |
DatasetBuilder.build(PartitionContextBuilder<K,V,C> partCtxBuilder,
PartitionDataBuilder<K,V,C,D> partDataBuilder)
Constructs a new instance of
Dataset that includes allocation required data structures and
initialization of context part of partitions. |
static <K,V,C extends Serializable,D extends AutoCloseable> |
DatasetFactory.create(DatasetBuilder<K,V> datasetBuilder,
PartitionContextBuilder<K,V,C> partCtxBuilder,
PartitionDataBuilder<K,V,C,D> partDataBuilder)
Creates a new instance of distributed dataset using the specified
partCtxBuilder and
partDataBuilder. |
static <K,V,C extends Serializable,D extends AutoCloseable> |
DatasetFactory.create(Ignite ignite,
IgniteCache<K,V> upstreamCache,
PartitionContextBuilder<K,V,C> partCtxBuilder,
PartitionDataBuilder<K,V,C,D> partDataBuilder)
Creates a new instance of distributed dataset using the specified
partCtxBuilder and
partDataBuilder. |
static <K,V,C extends Serializable,D extends AutoCloseable> |
DatasetFactory.create(Map<K,V> upstreamMap,
int partitions,
PartitionContextBuilder<K,V,C> partCtxBuilder,
PartitionDataBuilder<K,V,C,D> partDataBuilder)
Creates a new instance of local dataset using the specified
partCtxBuilder and partDataBuilder. |
| Modifier and Type | Method and Description |
|---|---|
default <I extends Dataset<C,D>> |
Dataset.wrap(IgniteFunction<Dataset<C,D>,I> wrapper)
Wraps this dataset into the specified wrapper to introduce new functionality based on
compute and
computeWithCtx methods. |
| Modifier and Type | Class and Description |
|---|---|
class |
CacheBasedDataset<K,V,C extends Serializable,D extends AutoCloseable>
An implementation of dataset based on Ignite Cache, which is used as
upstream and as reliable storage for
partition context as well. |
| Modifier and Type | Class and Description |
|---|---|
class |
LocalDataset<C extends Serializable,D extends AutoCloseable>
An implementation of dataset based on local data structures such as
Map and List and doesn't requires
Ignite environment. |
| Modifier and Type | Class and Description |
|---|---|
class |
DatasetWrapper<C extends Serializable,D extends AutoCloseable>
A dataset wrapper that allows to introduce new functionality based on common
compute methods. |
class |
SimpleDataset<C extends Serializable>
A simple dataset introduces additional methods based on a matrix of features.
|
class |
SimpleLabeledDataset<C extends Serializable>
A simple labeled dataset introduces additional methods based on a matrix of features and labels vector.
|
| Modifier and Type | Field and Description |
|---|---|
protected Dataset<C,D> |
DatasetWrapper.delegate
Delegate that performs
compute actions. |
| Constructor and Description |
|---|
DatasetWrapper(Dataset<C,D> delegate)
Constructs a new instance of dataset wrapper that delegates
compute actions to the actual delegate. |
SimpleDataset(Dataset<C,SimpleDatasetData> delegate)
Creates a new instance of simple dataset that introduces additional methods based on a matrix of features.
|
SimpleLabeledDataset(Dataset<C,SimpleLabeledDatasetData> delegate)
Creates a new instance of simple labeled dataset that introduces additional methods based on a matrix of features
and labels vector.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Dataset<EmptyContext,LabeledDataset<Double,LabeledVector>> |
KNNUtils.buildDataset(DatasetBuilder<K,V> datasetBuilder,
IgniteBiFunction<K,V,double[]> featureExtractor,
IgniteBiFunction<K,V,Double> lbExtractor)
Builds dataset.
|
| Constructor and Description |
|---|
KNNClassificationModel(Dataset<EmptyContext,LabeledDataset<Double,LabeledVector>> dataset)
Builds the model via prepared dataset.
|
| Constructor and Description |
|---|
KNNRegressionModel(Dataset<EmptyContext,LabeledDataset<Double,LabeledVector>> dataset)
Builds the model via prepared dataset.
|
| Constructor and Description |
|---|
MLPTrainer(IgniteFunction<Dataset<EmptyContext,SimpleLabeledDatasetData>,MLPArchitecture> archSupplier,
IgniteFunction<Vector,IgniteDifferentiableVectorToDoubleFunction> loss,
UpdatesStrategy<? super MultilayerPerceptron,P> updatesStgy,
int maxIterations,
int batchSize,
int locIterations,
long seed)
Constructs a new instance of multilayer perceptron trainer.
|
| Modifier and Type | Method and Description |
|---|---|
DecisionTreeLeafNode |
MeanDecisionTreeLeafBuilder.createLeafNode(Dataset<EmptyContext,DecisionTreeData> dataset,
TreeFilter pred)
Creates new leaf node for given dataset and node predicate.
|
DecisionTreeLeafNode |
DecisionTreeLeafBuilder.createLeafNode(Dataset<EmptyContext,DecisionTreeData> dataset,
TreeFilter pred)
Creates new leaf node for given dataset and node predicate.
|
DecisionTreeLeafNode |
MostCommonDecisionTreeLeafBuilder.createLeafNode(Dataset<EmptyContext,DecisionTreeData> dataset,
TreeFilter pred)
Creates new leaf node for given dataset and node predicate.
|
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018