Skip to content

Commit 4f3b7a6

Browse files
committed
Fix remaining mambular references in docstrings and tests
- Update all docstring examples in model files from mambular to deeptabular - Update test_configs.py import paths - All Python files now compile without syntax errors
1 parent 9a36018 commit 4f3b7a6

17 files changed

Lines changed: 49 additions & 49 deletions

deeptabular/models/autoint.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class and uses the AutoInt model with the default AutoInt
1515
configuration.
1616
""",
1717
examples="""
18-
>>> from mambular.models import AutoIntRegressor
18+
>>> from deeptabular.models import AutoIntRegressor
1919
>>> model = AutoIntRegressor(d_model=64, n_layers=8)
2020
>>> model.fit(X_train, y_train)
2121
>>> preds = model.predict(X_test)
@@ -33,7 +33,7 @@ class AutoIntClassifier(SklearnBaseClassifier):
3333
"""AutoInt Classifier. This class extends the SklearnBaseClassifier class
3434
and uses the AutoInt model with the default AutoInt configuration.""",
3535
examples="""
36-
>>> from mambular.models import AutoIntClassifier
36+
>>> from deeptabular.models import AutoIntClassifier
3737
>>> model = AutoIntClassifier(d_model=64, n_layers=8)
3838
>>> model.fit(X_train, y_train)
3939
>>> preds = model.predict(X_test)
@@ -52,7 +52,7 @@ class AutoIntLSS(SklearnBaseLSS):
5252
This class extends the SklearnBaseLSS class and uses the
5353
AutoInt model with the default AutoInt configuration.""",
5454
examples="""
55-
>>> from mambular.models import AutoIntLSS
55+
>>> from deeptabular.models import AutoIntLSS
5656
>>> model = AutoIntLSS(d_model=64, n_layers=8)
5757
>>> model.fit(X_train, y_train, family="normal")
5858
>>> preds = model.predict(X_test)

deeptabular/models/enode.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ENODERegressor(SklearnBaseRegressor):
1414
with the default ENODE configuration.
1515
""",
1616
examples="""
17-
>>> from mambular.models import ENODERegressor
17+
>>> from deeptabular.models import ENODERegressor
1818
>>> model = ENODERegressor()
1919
>>> model.fit(X_train, y_train)
2020
>>> preds = model.predict(X_test)
@@ -35,7 +35,7 @@ class ENODEClassifier(SklearnBaseClassifier):
3535
with the default ENODE configuration.
3636
""",
3737
examples="""
38-
>>> from mambular.models import ENODEClassifier
38+
>>> from deeptabular.models import ENODEClassifier
3939
>>> model = ENODEClassifier()
4040
>>> model.fit(X_train, y_train)
4141
>>> preds = model.predict(X_test)
@@ -56,7 +56,7 @@ class ENODELSS(SklearnBaseLSS):
5656
with the default ENODE configuration.
5757
""",
5858
examples="""
59-
>>> from mambular.models import ENODELSS
59+
>>> from deeptabular.models import ENODELSS
6060
>>> model = ENODELSS()
6161
>>> model.fit(X_train, y_train, family='normal')
6262
>>> preds = model.predict(X_test)

deeptabular/models/fttransformer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class and uses the FTTransformer model with the default FTTransformer
1515
configuration.
1616
""",
1717
examples="""
18-
>>> from mambular.models import FTTransformerRegressor
18+
>>> from deeptabular.models import FTTransformerRegressor
1919
>>> model = FTTransformerRegressor(d_model=64, n_layers=8)
2020
>>> model.fit(X_train, y_train)
2121
>>> preds = model.predict(X_test)
@@ -35,7 +35,7 @@ class FTTransformerClassifier(SklearnBaseClassifier):
3535
"""FTTransformer Classifier. This class extends the SklearnBaseClassifier class
3636
and uses the FTTransformer model with the default FTTransformer configuration.""",
3737
examples="""
38-
>>> from mambular.models import FTTransformerClassifier
38+
>>> from deeptabular.models import FTTransformerClassifier
3939
>>> model = FTTransformerClassifier(d_model=64, n_layers=8)
4040
>>> model.fit(X_train, y_train)
4141
>>> preds = model.predict(X_test)
@@ -56,7 +56,7 @@ class FTTransformerLSS(SklearnBaseLSS):
5656
This class extends the SklearnBaseLSS class and uses the
5757
FTTransformer model with the default FTTransformer configuration.""",
5858
examples="""
59-
>>> from mambular.models import FTTransformerLSS
59+
>>> from deeptabular.models import FTTransformerLSS
6060
>>> model = FTTransformerLSS(d_model=64, n_layers=8)
6161
>>> model.fit(X_train, y_train, family="normal")
6262
>>> preds = model.predict(X_test)

deeptabular/models/mambattention.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class MambAttentionRegressor(SklearnBaseRegressor):
1414
with the default MambAttention configuration.
1515
""",
1616
examples="""
17-
>>> from mambular.models import MambAttentionRegressor
17+
>>> from deeptabular.models import MambAttentionRegressor
1818
>>> model = MambAttentionRegressor(d_model=64, n_layers=8)
1919
>>> model.fit(X_train, y_train)
2020
>>> preds = model.predict(X_test)

deeptabular/models/mambular.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class MambularRegressor(SklearnBaseRegressor):
1414
with the default Mambular configuration.
1515
""",
1616
examples="""
17-
>>> from mambular.models import MambularRegressor
17+
>>> from deeptabular.models import MambularRegressor
1818
>>> model = MambularRegressor(d_model=64, n_layers=8)
1919
>>> model.fit(X_train, y_train)
2020
>>> preds = model.predict(X_test)
@@ -34,7 +34,7 @@ class MambularClassifier(SklearnBaseClassifier):
3434
with the default Mambular configuration.
3535
""",
3636
examples="""
37-
>>> from mambular.models import MambularClassifier
37+
>>> from deeptabular.models import MambularClassifier
3838
>>> model = MambularClassifier(d_model=64, n_layers=8)
3939
>>> model.fit(X_train, y_train)
4040
>>> preds = model.predict(X_test)
@@ -54,7 +54,7 @@ class MambularLSS(SklearnBaseLSS):
5454
with the default Mambular configuration.
5555
""",
5656
examples="""
57-
>>> from mambular.models import MambularLSS
57+
>>> from deeptabular.models import MambularLSS
5858
>>> model = MambularLSS(d_model=64, n_layers=8)
5959
>>> model.fit(X_train, y_train, family='normal')
6060
>>> preds = model.predict(X_test)

deeptabular/models/mlp.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class MLPRegressor(SklearnBaseRegressor):
1414
with the default MLP configuration.
1515
""",
1616
examples="""
17-
>>> from mambular.models import MLPRegressor
17+
>>> from deeptabular.models import MLPRegressor
1818
>>> model = MLPRegressor(d_model=64, n_layers=8)
1919
>>> model.fit(X_train, y_train)
2020
>>> preds = model.predict(X_test)
@@ -34,7 +34,7 @@ class MLPClassifier(SklearnBaseClassifier):
3434
with the default MLP configuration.
3535
""",
3636
examples="""
37-
>>> from mambular.models import MLPClassifier
37+
>>> from deeptabular.models import MLPClassifier
3838
>>> model = MLPClassifier(d_model=64, n_layers=8)
3939
>>> model.fit(X_train, y_train)
4040
>>> preds = model.predict(X_test)
@@ -54,7 +54,7 @@ class MLPLSS(SklearnBaseLSS):
5454
with the default MLP configuration.
5555
""",
5656
examples="""
57-
>>> from mambular.models import MLPLSS
57+
>>> from deeptabular.models import MLPLSS
5858
>>> model = MLPLSS(d_model=64, n_layers=8)
5959
>>> model.fit(X_train, y_train, family='normal')
6060
>>> preds = model.predict(X_test)

deeptabular/models/modern_nca.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ModernNCARegressor(SklearnBaseRegressor):
1414
with the default ModernNCA configuration.
1515
""",
1616
examples="""
17-
>>> from mambular.models import ModernNCARegressor
17+
>>> from deeptabular.models import ModernNCARegressor
1818
>>> model = ModernNCARegressor(d_model=64, n_layers=8)
1919
>>> model.fit(X_train, y_train)
2020
>>> preds = model.predict(X_test)
@@ -34,7 +34,7 @@ class ModernNCAClassifier(SklearnBaseClassifier):
3434
with the default ModernNCA configuration.
3535
""",
3636
examples="""
37-
>>> from mambular.models import ModernNCAClassifier
37+
>>> from deeptabular.models import ModernNCAClassifier
3838
>>> model = ModernNCAClassifier(d_model=64, n_layers=8)
3939
>>> model.fit(X_train, y_train)
4040
>>> preds = model.predict(X_test)
@@ -54,7 +54,7 @@ class ModernNCALSS(SklearnBaseLSS):
5454
with the default ModernNCA configuration.
5555
""",
5656
examples="""
57-
>>> from mambular.models import ModernNCALSS
57+
>>> from deeptabular.models import ModernNCALSS
5858
>>> model = ModernNCALSS(d_model=64, n_layers=8)
5959
>>> model.fit(X_train, y_train, family='normal')
6060
>>> preds = model.predict(X_test)

deeptabular/models/node.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class NODERegressor(SklearnBaseRegressor):
1414
with the default NODE configuration.
1515
""",
1616
examples="""
17-
>>> from mambular.models import NODERegressor
17+
>>> from deeptabular.models import NODERegressor
1818
>>> model = NODERegressor()
1919
>>> model.fit(X_train, y_train)
2020
>>> preds = model.predict(X_test)
@@ -35,7 +35,7 @@ class NODEClassifier(SklearnBaseClassifier):
3535
with the default NODE configuration.
3636
""",
3737
examples="""
38-
>>> from mambular.models import NODEClassifier
38+
>>> from deeptabular.models import NODEClassifier
3939
>>> model = NODEClassifier()
4040
>>> model.fit(X_train, y_train)
4141
>>> preds = model.predict(X_test)
@@ -56,7 +56,7 @@ class NODELSS(SklearnBaseLSS):
5656
with the default NODE configuration.
5757
""",
5858
examples="""
59-
>>> from mambular.models import NODELSS
59+
>>> from deeptabular.models import NODELSS
6060
>>> model = NODELSS()
6161
>>> model.fit(X_train, y_train, family='normal')
6262
>>> preds = model.predict(X_test)

deeptabular/models/resnet.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ResNetRegressor(SklearnBaseRegressor):
1414
with the default ResNet configuration.
1515
""",
1616
examples="""
17-
>>> from mambular.models import ResNetRegressor
17+
>>> from deeptabular.models import ResNetRegressor
1818
>>> model = ResNetRegressor()
1919
>>> model.fit(X_train, y_train)
2020
>>> preds = model.predict(X_test)
@@ -34,7 +34,7 @@ class ResNetClassifier(SklearnBaseClassifier):
3434
with the default ResNet configuration.
3535
""",
3636
examples="""
37-
>>> from mambular.models import ResNetClassifier
37+
>>> from deeptabular.models import ResNetClassifier
3838
>>> model = ResNetClassifier()
3939
>>> model.fit(X_train, y_train)
4040
>>> preds = model.predict(X_test)
@@ -54,7 +54,7 @@ class ResNetLSS(SklearnBaseLSS):
5454
with the default ResNet configuration.
5555
""",
5656
examples="""
57-
>>> from mambular.models import ResNetLSS
57+
>>> from deeptabular.models import ResNetLSS
5858
>>> model = ResNetLSS()
5959
>>> model.fit(X_train, y_train, family='normal')
6060
>>> preds = model.predict(X_test)

deeptabular/models/saint.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class and uses the SAINT model with the default SAINT
1515
configuration.
1616
""",
1717
examples="""
18-
>>> from mambular.models import SAINTRegressor
18+
>>> from deeptabular.models import SAINTRegressor
1919
>>> model = SAINTRegressor(d_model=64, n_layers=8)
2020
>>> model.fit(X_train, y_train)
2121
>>> preds = model.predict(X_test)
@@ -33,7 +33,7 @@ class SAINTClassifier(SklearnBaseClassifier):
3333
"""SAINT Classifier. This class extends the SklearnBaseClassifier class
3434
and uses the SAINT model with the default SAINT configuration.""",
3535
examples="""
36-
>>> from mambular.models import SAINTClassifier
36+
>>> from deeptabular.models import SAINTClassifier
3737
>>> model = SAINTClassifier(d_model=64, n_layers=8)
3838
>>> model.fit(X_train, y_train)
3939
>>> preds = model.predict(X_test)
@@ -52,7 +52,7 @@ class SAINTLSS(SklearnBaseLSS):
5252
This class extends the SklearnBaseLSS class and uses the
5353
SAINT model with the default SAINT configuration.""",
5454
examples="""
55-
>>> from mambular.models import SAINTLSS
55+
>>> from deeptabular.models import SAINTLSS
5656
>>> model = SAINTLSS(d_model=64, n_layers=8)
5757
>>> model.fit(X_train, y_train, family="normal")
5858
>>> preds = model.predict(X_test)

0 commit comments

Comments
 (0)