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.cache.util |
Contains util classes used in cache based implementation of dataset.
|
org.apache.ignite.ml.dataset.impl.local |
Base package for local implementation of machine learning dataset.
|
org.apache.ignite.ml.dataset.primitive.builder.context |
Contains partition
context builders. |
Modifier and Type | Method and Description |
---|---|
default <C2 extends Serializable> |
PartitionContextBuilder.andThen(IgniteFunction<C,C2> fun)
Makes a composed partition
context builder that first builds a context and then applies the
specified function on the result. |
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 . |
static <K,V,C extends Serializable> |
DatasetFactory.createSimpleDataset(DatasetBuilder<K,V> datasetBuilder,
PartitionContextBuilder<K,V,C> partCtxBuilder,
IgniteBiFunction<K,V,Vector> featureExtractor)
Creates a new instance of distributed
SimpleDataset using the specified partCtxBuilder and
featureExtractor . |
static <K,V,C extends Serializable> |
DatasetFactory.createSimpleDataset(Ignite ignite,
IgniteCache<K,V> upstreamCache,
PartitionContextBuilder<K,V,C> partCtxBuilder,
IgniteBiFunction<K,V,Vector> featureExtractor)
Creates a new instance of distributed
SimpleDataset using the specified partCtxBuilder and
featureExtractor . |
static <K,V,C extends Serializable> |
DatasetFactory.createSimpleDataset(Map<K,V> upstreamMap,
int partitions,
PartitionContextBuilder<K,V,C> partCtxBuilder,
IgniteBiFunction<K,V,Vector> featureExtractor)
Creates a new instance of local
SimpleDataset using the specified partCtxBuilder and
featureExtractor . |
static <K,V,C extends Serializable> |
DatasetFactory.createSimpleLabeledDataset(DatasetBuilder<K,V> datasetBuilder,
PartitionContextBuilder<K,V,C> partCtxBuilder,
IgniteBiFunction<K,V,Vector> featureExtractor,
IgniteBiFunction<K,V,double[]> lbExtractor)
Creates a new instance of distributed
SimpleLabeledDataset using the specified partCtxBuilder ,
featureExtractor and lbExtractor . |
static <K,V,C extends Serializable> |
DatasetFactory.createSimpleLabeledDataset(Ignite ignite,
IgniteCache<K,V> upstreamCache,
PartitionContextBuilder<K,V,C> partCtxBuilder,
IgniteBiFunction<K,V,Vector> featureExtractor,
IgniteBiFunction<K,V,double[]> lbExtractor)
Creates a new instance of distributed
SimpleLabeledDataset using the specified partCtxBuilder ,
featureExtractor and lbExtractor . |
static <K,V,C extends Serializable> |
DatasetFactory.createSimpleLabeledDataset(Map<K,V> upstreamMap,
int partitions,
PartitionContextBuilder<K,V,C> partCtxBuilder,
IgniteBiFunction<K,V,Vector> featureExtractor,
IgniteBiFunction<K,V,double[]> lbExtractor)
Creates a new instance of local
SimpleLabeledDataset using the specified partCtxBuilder ,
featureExtractor and lbExtractor . |
Modifier and Type | Method and Description |
---|---|
<C extends Serializable,D extends AutoCloseable> |
CacheBasedDatasetBuilder.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. |
Modifier and Type | Method and Description |
---|---|
static <K,V,C extends Serializable> |
ComputeUtils.initContext(Ignite ignite,
String upstreamCacheName,
IgniteBiPredicate<K,V> filter,
String datasetCacheName,
PartitionContextBuilder<K,V,C> ctxBuilder,
int retries)
Initializes partition
context by loading it from a partition upstream . |
static <K,V,C extends Serializable> |
ComputeUtils.initContext(Ignite ignite,
String upstreamCacheName,
IgniteBiPredicate<K,V> filter,
String datasetCacheName,
PartitionContextBuilder<K,V,C> ctxBuilder,
int retries,
int interval)
Initializes partition
context by loading it from a partition upstream . |
Modifier and Type | Method and Description |
---|---|
<C extends Serializable,D extends AutoCloseable> |
LocalDatasetBuilder.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. |
Modifier and Type | Class and Description |
---|---|
class |
EmptyContextBuilder<K,V>
A partition
context builder that makes EmptyContext . |
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019