splitdatasetindex
splitdatasetindex ¶
Split dataset index module
Classes¶
Functions¶
get_set ¶
Chooses a set for a file according to the given sets with their probability. If you run get_set with the same arguments multiple times, you will always get back the same result.
Parameters:
-
file_id(str) –file id
-
set_infos(List[DataSetInfo]) –list of DataSetInfos including set names and their probability
Returns:
-
str–Name of the chosen set
Source code in niceml/scripts/splitdatasetindex.py
split_dataset_index ¶
Split dataset index into subsets
Source code in niceml/scripts/splitdatasetindex.py
split_dataset_index_cmd ¶
Split dataset index command