The Model companion object provides methods useful for classes extending the Model trait.
Model
Get the TE ratio = ratio of the size of the TESTING-set to size of the FULL dataset.
Set the TE ratio = ratio of the size of the TESTING-set to size of the FULL dataset.
the new ratio of the size of the TESTING-set to size of the FULL dataset
Calculate the size (number of instances) for a testing set (round up).
the size of the full dataset
Calculate the size (number of instances) for a training set.