teras.models module#
Backbones#
|
FT-Transformer Encoder backbone based on the FT-Transformer architecture proposed in the "Revisiting Deep Learning Models for Tabular Data" paper. |
|
SAINT Backbone based on the SAINT architecture proposed in the paper, "SAINT: Improved Neural Networks for Tabular Data". |
|
TabNetEncoder proposed by Arik et al. in the "TabNet: Attentive Interpretable Tabular Learning" paper. |
|
TabTransformer backbone based on the architecture proposed in the "TabTransformer: Tabular Data Modeling Using Contextual Embeddings". |
|
Transformer Encoder model as proposed in the "Attention is all you need" paper. |
Pretrainers#
|
SAINTPretrainer as proposed in the paper, "SAINT: Improved Neural Networks for Tabular Data". |
|
TabNetPretrainer for pretraining TabNetEncoder as proposed by Arik et al. in the paper, "TabNet: Attentive Interpretable Tabular Learning". |
|
TabNetDecoder model for self-supervised learning, proposed by Arik et al. in the "TabNet: Attentive Interpretable Tabular Learning" paper. |
|
Replaced Token Detection (RTD) based Pretrainer for pretraining TabTransformerBackbone as proposed by Huang et al. in the paper, "TabTransformer: Tabular Data Modeling Using Contextual Embeddings". |
|
Masked Language Modelling (MLM) based Pretrainer for pretraining TabTransformerBackbone as proposed by Huang et al. in the paper, "TabTransformer: Tabular Data Modeling Using Contextual Embeddings". |
Generative#
|
CTGAN is a state-of-the-art tabular data generation architecture proposed by Lei Xu et al. in the paper, "Modeling Tabular data using Conditional GAN". |
|
CTGANGenerator for CTGAN architecture as proposed by Lei Xu et al. in the paper, "Modeling Tabular data using Conditional GAN". |
|
CTGANDiscriminator for CTGAN architecture as proposed by Lei Xu et al. in the paper, "Modeling Tabular data using Conditional GAN". |
|
GAIN is a missing data imputation model based on GANs. |
|
Generator model for the GAIN architecture proposed by Jinsung Yoon et al. in the paper "GAIN: Missing Data Imputation using Generative Adversarial Nets.". |
|
Discriminator model for the GAIN architecture proposed by Jinsung Yoon et al. in the paper GAIN: Missing Data Imputation using Generative Adversarial Nets. |
|
PCGAIN is a missing data imputation model based on the GAIN architecture. |
|
TVAE is a tabular data generation architecture proposed by Lei Xu et al. in the paper, "Modeling Tabular data using Conditional GAN". |
|
Encoder for the TVAE model as proposed by Lei Xu et al. in the paper, "Modeling Tabular data using Conditional GAN". |
|
Encoder for the TVAE model as proposed by Lei Xu et al. in the paper, "Modeling Tabular data using Conditional GAN". |
Task Models#
|
Classifier class that provides a dense prediction head. |
|
Regressor class that provides a dense prediction head. |