khiops.sklearn.helpers
Submodule of khiops.sklearn
General helper functions
| FUNCTION | DESCRIPTION |
|---|---|
train_test_split_dataset |
Splits a multi-table dataset spec into train and test |
Classes
Functions:
train_test_split_dataset(ds_spec, y=None, test_size=0.25, **kwargs)
Splits a multi-table dataset spec into train and test
| PARAMETER | DESCRIPTION |
|---|---|
ds_spec
|
A
TYPE:
|
y
|
The target values.
TYPE:
|
test_size
|
The proportion of the dataset (between 0.0 and 1.0) to be included in the test split.
TYPE:
|
See Also
- sklearn.model_selection.train_test_split : Other optional parameters.
| RAISES | DESCRIPTION |
|---|---|
TypeError
|
If |
ValueError
|
If the tables in |
Examples:
See the following functions of the samples_sklearn.py documentation script: