Skip to content

Commit d8d3028

Browse files
committed
readme fix
1 parent 55c433a commit d8d3028

1 file changed

Lines changed: 20 additions & 21 deletions

File tree

README.md

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,18 @@
1515
[🤔Report Issues](https://github.com/basf/mamba-tabular/issues)
1616
</div>
1717

18-
# Mambular: Tabular Deep Learning with Mamba Architectures
18+
<h1>Mambular: Tabular Deep Learning with Mamba</h1>
1919

20-
You can find our paper `Mambular: A Sequential Model for Tabular Deep Learning` [here](https://arxiv.org/abs/2408.06291).
20+
Mambular is a Python library for tabular deep learning. It includes models that leverage the Mamba (State Space Model) architecture, as well as other popular models like TabTransformer, FTTransformer, and tabular ResNets. Check out our paper `Mambular: A Sequential Model for Tabular Deep Learning`, available [here](https://arxiv.org/abs/2408.06291).
2121

22-
# Table of Contents
23-
- [Mambular: Tabular Deep Learning with Mamba Architectures](#mambular-tabular-deep-learning-with-mamba-architectures)
24-
- [Table of Contents](#table-of-contents)
25-
- [Introduction](#introduction)
22+
<h3> Table of Contents </h3>
23+
24+
- [Introduction](#introduction)
2625
- [Features](#features)
27-
- [Models](#models)
28-
- [Results](#results)
29-
- [Documentation](#documentation)
30-
- [Installation](#installation)
26+
- [Models](#models)
27+
- [Results](#results)
28+
- [Documentation](#documentation)
29+
- [Installation](#installation)
3130
- [Usage](#usage)
3231
- [Preprocessing](#preprocessing)
3332
- [Data Type Detection and Transformation](#data-type-detection-and-transformation)
@@ -37,13 +36,13 @@ You can find our paper `Mambular: A Sequential Model for Tabular Deep Learning`
3736
- [Key Features of MambularLSS:](#key-features-of-mambularlss)
3837
- [Available Distribution Classes:](#available-distribution-classes)
3938
- [Getting Started with MambularLSS:](#getting-started-with-mambularlss)
40-
- [Implement Your Own Model](#implement-your-own-model)
41-
- [Citation](#citation)
42-
- [License](#license)
39+
- [Implement Your Own Model](#implement-your-own-model)
40+
- [Citation](#citation)
41+
- [License](#license)
4342

4443

4544

46-
## Introduction
45+
# Introduction
4746
Mambular is a Python package that brings the power of advanced deep learning architectures to tabular data, offering a suite of models for regression, classification, and distributional regression tasks. Designed with ease of use in mind, Mambular models adhere to scikit-learn's `BaseEstimator` interface, making them highly compatible with the familiar scikit-learn ecosystem. This means you can fit, predict, and evaluate using Mambular models just as you would with any traditional scikit-learn model, but with the added performance and flexibility of deep learning.
4847

4948
## Features
@@ -56,7 +55,7 @@ Mambular is a Python package that brings the power of advanced deep learning arc
5655
- **PyTorch Lightning Under the Hood**: Built on top of PyTorch Lightning, Mambular models benefit from streamlined training processes, easy customization, and advanced features like distributed training and 16-bit precision.
5756

5857

59-
## Models
58+
# Models
6059

6160
| Model | Description |
6261
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -73,7 +72,7 @@ All models are available for `regression`, `classification` and distributional r
7372
Hence, they are available as e.g. `MambularRegressor`, `MambularClassifier` or `MambularLSS`
7473

7574

76-
## Results
75+
# Results
7776
Detailed results for the available methods can be found [here](https://arxiv.org/abs/2408.06291).
7877
Note, that these are achieved results with default hyperparameter and for our splits. Performing hyperparameter optimization could improve the performance of all models.
7978

@@ -130,11 +129,11 @@ The average rank table over all models and all datasets is given here:
130129

131130

132131

133-
## Documentation
132+
# Documentation
134133

135134
You can find the Mamba-Tabular API documentation [here](https://mambular.readthedocs.io/en/latest/).
136135

137-
## Installation
136+
# Installation
138137

139138
Install Mambular using pip:
140139
```sh
@@ -253,7 +252,7 @@ model.fit(
253252
```
254253

255254

256-
### Implement Your Own Model
255+
# Implement Your Own Model
257256

258257
Mambular allows users to easily integrate their custom models into the existing logic. This process is designed to be straightforward, making it simple to create a PyTorch model and define its forward pass. Instead of inheriting from `nn.Module`, you inherit from Mambular's `BaseModel`. Each Mambular model takes three main arguments: the number of classes (e.g., 1 for regression or 2 for binary classification), `cat_feature_info`, and `num_feature_info` for categorical and numerical feature information, respectively. Additionally, you can provide a config argument, which can either be a custom configuration or one of the provided default configs.
259258

@@ -332,7 +331,7 @@ regressor = MyRegressor(numerical_preprocessing="ple")
332331
regressor.fit(X_train, y_train, max_epochs=50)
333332
```
334333

335-
## Citation
334+
# Citation
336335

337336
If you find this project useful in your research, please consider cite:
338337
```BibTeX
@@ -344,6 +343,6 @@ If you find this project useful in your research, please consider cite:
344343
}
345344
```
346345

347-
## License
346+
# License
348347

349348
The entire codebase is under MIT license.

0 commit comments

Comments
 (0)