dabl API

This is a list of all functions and classes provided by dabl.

High-level API

clean(X[, type_hints, return_types, …])

Public clean interface

detect_types(X[, type_hints, …])

Detect types of dataframe columns.

explain(estimator[, X_val, y_val, …])

Explain estimator.

plot(X[, y, target_col, type_hints, …])

Automatic plots for classification and regression.

set_config([truncate_labels])

Set global dabl configuration.

get_config()

Retrieve global configuration values set by set_config.

AnyClassifier([n_jobs, min_resources, …])

Classifier with automatic model selection.

EasyPreprocessor([scale, force_imputation, …])

A simple preprocessor.

SimpleClassifier([refit, random_state, …])

Automagic anytime classifier.

SimpleRegressor([refit, random_state, …])

Automagic anytime classifier.

Full API

Datasets

load_adult()

Load adult census dataset.

load_ames()

Load ames housing dataset.

load_titanic()

Load titanic dataset.

Plotting

class_hists(data, column, target[, bins, …])

Grouped univariate histograms.

discrete_scatter(x, y, c[, unique_c, …])

Scatter plot for categories.

find_pretty_grid(n_plots[, max_cols])

Determine a good grid shape for subplots.

mosaic_plot(data, rows, cols[, …])

Create a mosaic plot from a dataframe.

plot_classification_categorical(X, target_col)

Plots for categorical features in classification.

plot_classification_continuous(X, target_col)

Plots for continuous features in classification.

plot_coefficients(coefficients, feature_names)

Visualize coefficients of a linear model.

plot_regression_categorical(X, target_col[, …])

Plots for categorical features in regression.

plot_regression_continuous(X, target_col[, …])

Plots for continuous features in regression.

Portfolios

Built-in lists of classifiers and regressors to search.

get_any_classifiers([portfolio])

Return a portfolio of classifiers.

get_fast_classifiers(n_classes)

Get a list of very fast classifiers.

get_fast_regressors()

Get a list of very fast regressors.