cerebral.features.load_data(datafiles: list | None = None, targets: list[dict] = [], input_features: list[str] = [], drop_correlated_features: bool = True, drop_na: bool = True, merge_duplicates: bool = True, required_features: list[str] | None = None, ignore_columns: list[str] = [], model=None, postprocess: Callable | None = None, save_csv: bool = False) DataFrame[source]

Load and process data for use by cerebral.

Parameters:
datafiles: list | None = None

List of data file paths to load from.

drop_correlated_features: bool = True

If True, cull pairs of correlated features.

model=None

Use an existing model to extract particular required input features.

postprocess: Callable | None = None

A function to run on the data after loading.

save_csv: bool = False

If True, save the calculated features as a csv file.


Last update: Feb 09, 2023