Class Step_5_Scaling
- java.lang.Object
-
- org.apache.ignite.examples.ml.tutorial.Step_5_Scaling
-
public class Step_5_Scaling extends java.lang.ObjectMinMaxScalerTrainerandNormalizationTrainerare used in this example due to different values distribution in columns and rows.Code in this example launches Ignite grid and fills the cache with test data (based on Titanic passengers data).
After that it defines preprocessors that extract features from an upstream data and perform other desired changes over the extracted data, including the scaling.
Then, it trains the model based on the processed data using decision tree classification.
Finally, this example uses
Evaluatorfunctionality to compute metrics from predictions.
-
-
Constructor Summary
Constructors Constructor Description Step_5_Scaling()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Run example.
-