dasf.ml.model_selection.split

Classes

train_test_split

Class representing a Targetered Transform operation of the pipeline.

Module Contents

class dasf.ml.model_selection.split.train_test_split(output='train', test_size=None, train_size=None, random_state=None, shuffle=None, blockwise=True, convert_mixed_types=False, **kwargs)

Bases: dasf.transforms.TargeteredTransform, dasf.transforms.Transform

Class representing a Targetered Transform operation of the pipeline.

This specific transform operates according the parameters of the constructor.

Parameters

run_localbool

Define that the operator will run locally and not distributed.

run_gpubool

Define if the operator will use GPU(s) or not.

Constructor of the class TargeteredTransform.

output
test_size
train_size
random_state
shuffle
blockwise
convert_mixed_types
_lazy_transform_cpu(X)[source]

Respective lazy transform mocked function for CPUs.

abstract _lazy_transform_gpu(X)[source]

Respective lazy transform mocked function for GPUs.

_transform_cpu(X)[source]

Respective immediate transform mocked function for local CPU(s).

_transform_gpu(X)[source]

Respective immediate transform mocked function for local GPU(s).