rfc.predict_proba(test_X) predictions = lrutils.get_classicification(predictions_proba, rfc.classes_, threshod,positiveValue, targetMappings) # confusion matrix dataset and statistics confusion_df, statistics_df = datasetutils.prepare_output_datasets(test_y, predictions, target, "classification", targetMappings) confusion_mappings = None confusion_ds = ModelDataset("Confusion Matrix", confusion_df, confusion_mappings) model.add_output_dataset(confusion_ds) # statistics dataset statistics_mappings = None statistics_ds = ModelDataset("Statistics", statistics_df, statistics_mappings) model.add_output_dataset(statistics_ds)