Class CacheBasedDatasetExample
- java.lang.Object
-
- org.apache.ignite.examples.ml.dataset.CacheBasedDatasetExample
-
public class CacheBasedDatasetExample extends java.lang.ObjectExample that shows how to create dataset based on an existing Ignite Cache and then use it to calculatemeanandstdvalues as well ascovarianceandcorrelationmatrices.Code in this example launches Ignite grid and fills the cache with simple test data.
After that it creates the dataset based on the data in the cache and uses Dataset API to find and output various statistical metrics of the data.
You can change the test data used in this example and re-run it to explore this functionality further.
-
-
Constructor Summary
Constructors Constructor Description CacheBasedDatasetExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Run example.
-