peal.teachers.spray_teacher.create_attribution_database¶
- peal.teachers.spray_teacher.create_attribution_database(attribution_database_file_path, attribution_shape, number_of_classes, number_of_samples)[source]¶
Create an HDF5 attribution database in the ViReLay layout.
- Parameters:
- Returns:
Open file with
attribution,prediction,labelanddataset_splitdatasets.- Return type:
h5py.File- Raises:
ImportError – If the optional
h5pydependency is not installed.