src.model_utils package
Submodules
src.model_utils.clear module
Script for clearing all the finished runs from the SSD.
src.model_utils.mem_to_input module
Convert mem sting into input function
- src.model_utils.mem_to_input.mem_to_dict(mem)
Single mem variable to dictionary of inputs.
Uses logic in mems_to_df.
- src.model_utils.mem_to_input.mems_to_df(mem_list)
Turn a list of mems into a dataframe of inputs.
- Parameters
mem_list (List[str]) – List of mem to turn into corresponding dataframe of inputs.
- Returns
A dataframe
- Return type
pd.DataFrame
Example
Work out what inputs a list of runs got:
mems_to_df(["EEEE", "CCCC", "66E6"])