Util
Here is a list of classes in the package.
Overview:
-
class neural_network.DataSplitter(path: str, proportions: List[int])[source]
Class to split a dataset into training, validation and testing, given a
split ratio.
-
__init__(path: str, proportions: List[int])[source]
Constructor method
- Parameters:
-
-
split() → Tuple[DataFrame, ...][source]
Main method for the class - splits the data into train:valid:test
- Returns:
A tuple containing the training, validation and testing dataframes
or fewer, if fewer proportions have been passed
- Return type:
Tuple[pd.DataFrame, …]