Mambular is a Python package that brings the power of Mamba architectures to tabular data, offering a suite of deep learning models for regression, classification, and distributional regression tasks. This includes models like Mambular, FT-Transformer, TabTransformer and tabular ResNets.
This pull request introduces a change to the initialization process of the TabulaRNN class in the tabularnn.py file. The most important changes involve the reordering of the initialization of the normalization layer and the introduction of the replace function from the dataclasses module.
Initialization process improvements:
Added import for the replace function from the dataclasses module. (mambular/base_models/tabularnn.py)
Moved the initialization of the normalization layer to use a temporary configuration object created with the replace function. (mambular/base_models/tabularnn.py)
This pull request introduces a change to the initialization process of the
TabulaRNN
class in thetabularnn.py
file. The most important changes involve the reordering of the initialization of the normalization layer and the introduction of thereplace
function from thedataclasses
module.Initialization process improvements:
replace
function from thedataclasses
module. (mambular/base_models/tabularnn.py
)replace
function. (mambular/base_models/tabularnn.py
)