rindti.utils¶
- class IterDict[source]¶
Bases:
objectReturns a list of dicts with all possible combinations of hyperparameters.
- add_arg_prefix(prefix: str, kwargs: dict) dict[source]¶
Adds the prefix to all the args. Removes None values and “index_mapping”.
- recursive_apply(ob: Union[Dict, Any], func: Callable) Union[Dict, Any][source]¶
Apply a function to the nested dict recursively.
- minmax_normalise(s: pandas.core.series.Series) pandas.core.series.Series[source]¶
MinMax normalisation of a pandas series.
- to_prob(s: pandas.core.series.Series) pandas.core.series.Series[source]¶
Convert to probabilities.