Skip to content

Commit

Permalink
Change import
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescMartiEscofetQC committed Jul 15, 2024
1 parent caeea27 commit 0ce4c73
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/test_drlearner.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
import onnxruntime as rt
import pytest
from lightgbm import LGBMClassifier, LGBMRegressor
from onnxconverter_common.data_types import FloatTensorType
from onnxmltools import convert_lightgbm, convert_xgboost
from skl2onnx import convert_sklearn
from skl2onnx.common.data_types import FloatTensorType
from sklearn.linear_model import LinearRegression, LogisticRegression
from sklearn.neighbors import RadiusNeighborsRegressor
from xgboost import XGBRegressor
Expand Down
2 changes: 1 addition & 1 deletion tests/test_rlearner.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
import pandas as pd
import pytest
from lightgbm import LGBMClassifier, LGBMRegressor
from onnxconverter_common.data_types import FloatTensorType
from onnxmltools import convert_lightgbm, convert_xgboost
from skl2onnx import convert_sklearn
from skl2onnx.common.data_types import FloatTensorType
from sklearn.linear_model import LinearRegression, LogisticRegression
from xgboost import XGBRegressor

Expand Down
2 changes: 1 addition & 1 deletion tests/test_tlearner.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import onnxruntime as rt
import pytest
from lightgbm import LGBMClassifier, LGBMRegressor
from onnxconverter_common.data_types import FloatTensorType
from onnxmltools import convert_lightgbm, convert_xgboost
from skl2onnx.common.data_types import FloatTensorType
from skl2onnx.convert import convert_sklearn
from sklearn.ensemble import (
HistGradientBoostingClassifier,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_xlearner.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
import onnxruntime as rt
import pytest
from lightgbm import LGBMClassifier, LGBMRegressor
from onnxconverter_common.data_types import FloatTensorType
from onnxmltools import convert_lightgbm, convert_xgboost
from skl2onnx import convert_sklearn
from skl2onnx.common.data_types import FloatTensorType
from sklearn.neighbors import RadiusNeighborsClassifier, RadiusNeighborsRegressor
from xgboost import XGBClassifier, XGBRegressor

Expand Down

0 comments on commit 0ce4c73

Please sign in to comment.