You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,10 @@ Mambular is a Python package that brings the power of advanced deep learning arc
76
76
|`TabulaRNN`| A Recurrent Neural Network for Tabular data, introduced [here](https://arxiv.org/pdf/2411.17207). |
77
77
|`MambAttention`| A combination between Mamba and Transformers, also introduced [here](https://arxiv.org/pdf/2411.17207). |
78
78
|`NDTF`| A neural decision forest using soft decision trees. See [Kontschieder et al.](https://openaccess.thecvf.com/content_iccv_2015/html/Kontschieder_Deep_Neural_Decision_ICCV_2015_paper.html) for inspiration. |
79
-
|`SAINT`| Improve neural networs via Row Attention and Contrastive Pre-Training, introduced [here](https://arxiv.org/pdf/2106.01342). |
79
+
|`SAINT`| Improve neural networs via Row Attention and Contrastive Pre-Training, introduced [here](https://arxiv.org/pdf/2106.01342). |
Note, that using this, you can also optimize the preprocessing. Just use the prefix ``prepro__`` when specifying the preprocessor arguments you want to optimize:
217
+
Note, that using this, you can also optimize the preprocessing. Just specify the necessary parameters when specifying the preprocessor arguments you want to optimize:
@@ -321,7 +324,7 @@ Here's how you can implement a custom model with Mambular:
321
324
Define your custom model just as you would for an `nn.Module`. The main difference is that you will inherit from `BaseModel` and use the provided feature information to construct your layers. To integrate your model into the existing API, you only need to define the architecture and the forward pass.
322
325
323
326
```python
324
-
from mambular.base_models import BaseModel
327
+
from mambular.base_models.utilsimport BaseModel
325
328
from mambular.utils.get_feature_dimensions import get_feature_dimensions
326
329
import torch
327
330
import torch.nn
@@ -365,7 +368,7 @@ Here's how you can implement a custom model with Mambular:
365
368
You can build a regression, classification, or distributional regression model that can leverage all of Mambular's built-in methods by using the following:
366
369
367
370
```python
368
-
from mambular.models import SklearnBaseRegressor
371
+
from mambular.models.utilsimport SklearnBaseRegressor
0 commit comments