dasf.ml.model_selection.split ============================= .. py:module:: dasf.ml.model_selection.split Classes ------- .. autoapisummary:: dasf.ml.model_selection.split.train_test_split Module Contents --------------- .. py:class:: train_test_split(output='train', test_size=None, train_size=None, random_state=None, shuffle=None, blockwise=True, convert_mixed_types=False, **kwargs) Bases: :py:obj:`dasf.transforms.TargeteredTransform`, :py:obj:`dasf.transforms.Transform` Class representing a Targetered Transform operation of the pipeline. This specific transform operates according the parameters of the constructor. Parameters ---------- run_local : bool Define that the operator will run locally and not distributed. run_gpu : bool Define if the operator will use GPU(s) or not. Constructor of the class TargeteredTransform. .. py:attribute:: output .. py:attribute:: test_size .. py:attribute:: train_size .. py:attribute:: random_state .. py:attribute:: shuffle .. py:attribute:: blockwise .. py:attribute:: convert_mixed_types .. py:method:: _lazy_transform_cpu(X) Respective lazy transform mocked function for CPUs. .. py:method:: _lazy_transform_gpu(X) :abstractmethod: Respective lazy transform mocked function for GPUs. .. py:method:: _transform_cpu(X) Respective immediate transform mocked function for local CPU(s). .. py:method:: _transform_gpu(X) Respective immediate transform mocked function for local GPU(s).