casm.learn.checkspecs¶
-
casm.learn.
checkspecs
(input, verbose=True)[source]¶ Output data and cv files containing the current problem specs.
- Parameters
input (dict) –
The input settings as a dict. This is expected to have the object input[“checkspecs”], with the following attributes:
- data_filename: string
The path to the file where the training data (including weights) should be written
- data_kwargs: dict or null, optional, default=dict()
Additional parameters to be used to write training data.
- Options for input ‘filetype’ “selection”:
None.
- Options for input ‘filetype’ “csv”:
Any options to pass to pandas.to_csv
- Options for input ‘filetype’ “json”:
Any options to pass to pandas.to_json
- cv_filename: string
The path to the file where the cv generator or train/tests sets should be written as pickle file
- cv_kwargs: dict or null, optional, default=dict()
Additional parameters to be used to write cv data using pickle.dump.
Example:
- ”checkspecs”{
“data_filename”: “check_train”, “data_kwargs”: null, “cv_filename”: “check_cv.pkl”, “cv_kwargs”: null
}
verbose (boolean, optional, default=True) – Print information to stdout.