tirank.Model.MLPEncoderModel
- class tirank.Model.MLPEncoderModel(*args: Any, **kwargs: Any)[source]
Bases:
ModuleMLP-based (Multi-Layer Perceptron) encoder network.
- Parameters:
n_features (int) – Input feature size (number of gene pairs).
nhid (int) – Dimension of the hidden layers.
nlayers (int) – Total number of layers (input, hidden, output).
n_output (int) – Output embedding dimension.
dropout (float, optional) – Dropout value. Defaults to 0.5.