utils.fileutils

Module Attributes

PROJECT_DIR

Project root directory.

DATA_DIR

Data directory

EXPAND_DIR

Expanded data directory

Functions

hash_params(params)

Encodes preprocessing parameters into a hash.

utils.fileutils.DATA_DIR = 'C:\\Users\\Violet\\Documents\\GitHub\\PerovskiteML\\data'

Data directory

utils.fileutils.EXPAND_DIR = 'C:\\Users\\Violet\\Documents\\GitHub\\PerovskiteML\\data\\expanded'

Expanded data directory

utils.fileutils.PROJECT_DIR = 'C:\\Users\\Violet\\Documents\\GitHub\\PerovskiteML'

Project root directory.

utils.fileutils.hash_params(params: dict)

Encodes preprocessing parameters into a hash. Is used to create unique file names for preprocessed data.

Parameters:

params (dict) – The preprocessing parameters.

Returns:

The hash of the parameters.

Return type:

str