Class ExampleSetFactory
java.lang.Object
adaa.analytics.rules.logic.representation.exampleset.ExampleSetFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
Rule type (classification/regression/survival). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(IExampleSet set) Creates an empty rule set of appropriate type.int
getType()
Gets rule type.
-
Field Details
-
type
protected int typeRule type (classification/regression/survival).
-
-
Constructor Details
-
ExampleSetFactory
public ExampleSetFactory(int type) Constructor of example set factory. Initializes with arguments members.- Parameters:
type
- Rule type (classification/regression/survival).
-
-
Method Details
-
getType
public int getType()Gets rule type.- Returns:
- Rule type.
-
create
Creates an empty rule set of appropriate type.- Parameters:
set
- Training set.- Returns:
- Empty rule set.
-