Class Step_1_Read_and_Learn
- java.lang.Object
-
- org.apache.ignite.examples.ml.tutorial.Step_1_Read_and_Learn
-
public class Step_1_Read_and_Learn extends java.lang.ObjectUsage ofDecisionTreeClassificationTrainerto predict death in the disaster.Extract 3 features "pclass", "sibsp", "parch" to use in prediction.
Code in this example launches Ignite grid and fills the cache with test data (based on Titanic passengers data).
After that it trains the model based on the specified data using decision tree classification.
Finally, this example uses
Evaluatorfunctionality to compute metrics from predictions.
-
-
Constructor Summary
Constructors Constructor Description Step_1_Read_and_Learn()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Run example.
-