ksb.csle.component.operator.analysis
Object that contains message ksb.csle.common.proto.StreamOperatorProto.RandomForestClassifierTrainInfo RandomForestClassifierTrainInfo contains attributes as follows:
message RandomForestClassifierTrainInfo { enum FeatureSubsetStrategy { auto = 1; all = 2; onethird = 3; sqrt = 4; log2 = 5; } enum Impurity { gini = 1; entropy = 2; } required string labelColumnName = 1; required string featureColumnNames = 2 [default = "*"]; required string modelBasePath = 3; optional int32 numFolds = 4 [default = 3]; repeated int32 numTrees = 5; // [default = 20]; repeated int32 maxDepth = 6; // [default = 5]; repeated int32 maxBins = 7; // [default = 32]; repeated FeatureSubsetStrategy featureSubsetStrategy = 8; // [default = auto]; repeated Impurity impurity = 9; // [default = gini]; }
Operate training the RandomForest classification model.
Operate training the RandomForest classification model.
Input dataframe
DataFrame Output dataframe has test results.
:: ApplicationDeveloperApi ::
Operator that trains RandomForest classification model in the given attributes.