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
Note, that using this, you can also optimize the preprocessing. Just use the prefix ``prepro__`` when specifying the preprocessor arguments you want to optimize:
214
+
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 +321,7 @@ Here's how you can implement a custom model with Mambular:
321
321
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
322
323
323
```python
324
-
from mambular.base_models import BaseModel
324
+
from mambular.base_models.utilsimport BaseModel
325
325
from mambular.utils.get_feature_dimensions import get_feature_dimensions
326
326
import torch
327
327
import torch.nn
@@ -365,7 +365,7 @@ Here's how you can implement a custom model with Mambular:
365
365
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
366
367
367
```python
368
-
from mambular.models import SklearnBaseRegressor
368
+
from mambular.models.utilsimport SklearnBaseRegressor
0 commit comments