cbr_fox.builder.cbr_fox_builder
- class cbr_fox.builder.cbr_fox_builder(techniques)[source]
A class for managing multiple techniques used in case-based reasoning (CBR) with cbr_fox objects.
This class allows the user to store different techniques, explain them, fit them to training data, and make predictions. It provides an interface for visualizing the results of each technique using plot_utils.
- __init__(techniques)[source]
Initializes the cbr_fox_builder with a list of techniques.
- Parameters:
techniques (list) – A list of techniques (objects) that contain a metric (string or callable) for CBR.
Methods
__init__(techniques)Initializes the cbr_fox_builder with a list of techniques.
explain_all_techniques(training_windows, ...)Explains all techniques provided by the user.
fit(training_windows, ...)Fits all techniques to the provided training data.
predict(prediction, num_cases[, mode])Makes predictions using all the techniques stored in techniques_dict.
visualize_pyplot([mode])Visualizes the techniques using plot_utils.visualize_pyplot.