fraud#

Load the credit card fraud dataset, which can be used for binary classification problems.

Module Contents#

Functions#

load_fraud

Load credit card fraud dataset.

Contents#

evalml.demos.fraud.load_fraud(n_rows=None, verbose=True)[source]#

Load credit card fraud dataset.

The fraud dataset can be used for binary classification problems.

Parameters
  • n_rows (int) – Number of rows from the dataset to return

  • verbose (bool) – Whether to print information about features and labels

Returns

X and y

Return type

(pd.Dataframe, pd.Series)