BaseMetaModel
Static methods
set_keys
Returns:
from_model_config
Returns:
from_neptune_config
Returns:
Instance variables
-
add_features: Dict[str, Callable]: -
categories: pandas.core.series.Series: -
category_mapping: Dict[str, int]: -
data: vectorbtpro.data.base.Data: -
features: pandas.core.frame.DataFrame | numpy.ndarray: -
label_mapping: Dict[str, int]: -
minp: int: -
model_mapping: Dict[str, systematica.portfolio.analyzer.PortfolioAnalyzer]: -
runners: Dict[str, vectorbtpro.portfolio.base.Portfolio]: -
s1: str: -
s2: str: -
window_in_days: int:
Methods
run_clf
Returns:
get_target
Returns:
get_inputs
To include data in vbt.Data object, use
data.add_feature method as follow:
Returns:
get_accuracy_score
y_true.
See Also:
balanced_accuracy_score: Compute the balanced accuracy to deal with imbalanced datasets.jaccard_score: Compute the Jaccard similarity coefficient score.hamming_loss: Compute the average Hamming loss or Hamming distance between two sets of samples.zero_one_loss: Compute the Zero-one classification loss. By default, the function will return the percentage of imperfectly predicted subsets.
Returns:
get_report
precision_recall_fscore_support: Compute precision, recall, F-measure and support for each class.confusion_matrix: Compute confusion matrix to evaluate the accuracy of a classification.multilabel_confusion_matrix: Compute a confusion matrix for each class or sample.
Returns:
get_confusion_matrix
ConfusionMatrixDisplay.from_estimator: Plot the confusion matrix given an estimator, the data, and the label.ConfusionMatrixDisplay.from_predictions: Plot the confusion matrix given the true and predicted labels.ConfusionMatrixDisplay: Confusion Matrix visualization.
Returns:
get_feature_importance
Returns:
plot_rolling_metrics
plot_target
plot_heatmap_overlay
Returns:

