sfaira.models.celltype.CellTypeMlp¶
- class sfaira.models.celltype.CellTypeMlp(in_dim: int, out_dim: int, units: List[int] = [], activation='relu', use_bias=True, l1_coef: float = 0.0, l2_coef: float = 0.0, kernel_initializer='glorot_uniform', bias_initializer='zeros', bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, bias_constraint=None, name='celltype_mlp', **kwargs)¶
Multi-layer perceptron to predict cell type.
Attributes
Methods
predict
(x, **kwarg)