evalml.demos.load_fraud

evalml.demos.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, y

Return type

pd.DataFrame, pd.Series