Skip to content

Commit

Permalink
cleaned
Browse files Browse the repository at this point in the history
  • Loading branch information
sronilsson committed Dec 12, 2024
1 parent 25fecdd commit 11d64a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion simba/model/regression/model.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
from typing import Dict, List, Optional, Tuple
from itertools import product
from typing import Dict, List, Optional, Tuple

import numpy as np
import pandas as pd
import xgboost as xgb
from sklearn.model_selection import StratifiedKFold

from simba.model.regression.metrics import (mean_absolute_error,
mean_absolute_percentage_error,
mean_squared_error, r2_score,
Expand All @@ -15,6 +16,7 @@
from simba.utils.enums import Formats
from simba.utils.errors import DataHeaderError


def fit_xgb(x: pd.DataFrame,
y: np.ndarray,
xgb_reg: xgb.XGBRegressor) -> xgb.XGBRegressor:
Expand Down

0 comments on commit 11d64a8

Please sign in to comment.