evalml.demos.load_fraud

evalml.demos.load_fraud(n_rows=None, verbose=True, return_pandas=False)[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

Union[(ww.DataTable, ww.DataColumn), (pd.Dataframe, pd.Series)]