twinlab.load_params#

twinlab.load_params(filepath, verbose=False)[source]#

Load a parameter set from a local file in .json format into a dictionary.

Parameters:
  • filepath (str) – Path to the dataset file, which should be in json format.

  • verbose (bool, optional) – Display information while running.

Returns:

The parameter set loaded from the file.

Return type:

dict

Example

params = tl.load_params("path/to/params.json", verbose=True)