morpheus.models.dfencoder.dataframe.EncoderDataFrame

(Latest Version)
class EncoderDataFrame(*args, **kwargs)[source]

Bases: pandas.DataFrame

Methods

__call__(*args, **kwargs) Call self as a function.
swap([likelihood]) Performs random swapping of data.
swap(likelihood=0.15)[source]

Performs random swapping of data.

Parameters
likelihood

The probability of a value being randomly replaced with a value from a different row. By default .15

Returns
pandas.DataFrame

A copy of the dataframe with equal size.

Previous morpheus.models.dfencoder.dataframe
Next morpheus.models.dfencoder.dataloader
© Copyright 2024, NVIDIA. Last updated on Apr 25, 2024.