prepare

MPPData.prepare(params)[source]

Prepare MPP data according to given parameters (from campa.data.create_dataset()).

After calling this function, you might want to call MPPData.subsample() and MPPData.add_neighorhood().

Parameters

params (Mapping[str, Any]) – Parameter dict describing how to prepare MPPData. See campa.data.create_dataset(). Ignores parameters data_dirs, split, subsampling, and neighborhood.

Return type

Nothing, modifies MPPData in place.