intelelm.utils package¶
intelelm.utils.activation module¶
- intelelm.utils.activation.silu(x)¶
intelelm.utils.data_loader module¶
- class intelelm.utils.data_loader.Data(X=None, y=None, name='Unknown')[source]¶
Bases:
objectThe structure of our supported Data class
- Parameters
X (np.ndarray) – The features of your data
y (np.ndarray) – The labels of your data
- SUPPORT = {'scaler': ['standard', 'minmax', 'max-abs', 'log1p', 'loge', 'sqrt', 'sinh-arc-sinh', 'robust', 'box-cox', 'yeo-johnson']}¶
intelelm.utils.encoder module¶
- class intelelm.utils.encoder.LabelEncoder[source]¶
Bases:
objectEncode categorical features as integer labels.
- fit_transform(y)[source]¶
Fit label encoder and return encoded labels.
- Parameters
y (array-like of shape (n_samples,)) – Target values.
- Returns
y – Encoded labels.
- Return type
array-like of shape (n_samples,)