src.util

Utility functions for data loading, preprocessing, and metric calculation.

Functions

calculate_metrics(y_true, y_pred[, ...])

Calculates and returns a dictionary of evaluation metrics.

get_serializable_params(model)

Gets JSON-serializable parameters from a scikit-learn model.

load_boston_housing()

Loads the Boston Housing dataset and converts it to an ordinal problem.

load_car_evaluation()

Loads and preprocesses the Car Evaluation dataset.

load_dataset(name)

Dispatcher to load the specified dataset.

load_poker_hand()

Loads and preprocesses the Poker Hand dataset.

load_wine_quality()

Loads and preprocesses the Wine Quality dataset.