scikit-learn

This module provides various utilities for working with scikit-learn and PACE together.

pace.sklearn.create_one_hot_encoder(length)

Create an sklearn OneHotEncoder for encoding peptides.

Parameters

length (int) – the expected length of the peptides to be encoded

Returns

the created encoder

Return type

sklearn.preprocessing.OneHotEncoder