BaselineClassifier
¶
Baseline Classifier.
Get a baseline by fitting data on multiple different models and comparing the best metrics.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
extendedSearch |
Boolean |
If set to true, an extended set of models will be used to fit the classifier. This might result in significantly higher runtime. | false |
Stub code in BaselineClassifier.sdsstub
isFitted
¶
Whether the model is fitted.
Type: Boolean
fit
¶
Train the Classifier with given training data.
The original model is not modified.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
trainData |
TabularDataset |
The data the network should be trained on. | - |
Results:
Name | Type | Description |
---|---|---|
trainedClassifier |
BaselineClassifier |
The trained Classifier |
Stub code in BaselineClassifier.sdsstub
predict
¶
Make a prediction for the given test data and calculate the best metrics.
The original Model is not modified.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
testData |
TabularDataset |
The data the Classifier should predict. | - |
Results:
Name | Type | Description |
---|---|---|
bestMetrics |
Map<String, Float> |
A dictionary with the best metrics that were achieved. |