-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu> Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
- Loading branch information
1 parent
8959622
commit 176fec8
Showing
25 changed files
with
3,650 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# type: ignore | ||
"""PySpark XGBoost integration interface | ||
""" | ||
|
||
try: | ||
import pyspark | ||
except ImportError as e: | ||
raise ImportError("pyspark package needs to be installed to use this module") from e | ||
|
||
from .estimator import ( | ||
SparkXGBClassifier, | ||
SparkXGBClassifierModel, | ||
SparkXGBRegressor, | ||
SparkXGBRegressorModel, | ||
) | ||
|
||
__all__ = [ | ||
"SparkXGBClassifier", | ||
"SparkXGBClassifierModel", | ||
"SparkXGBRegressor", | ||
"SparkXGBRegressorModel", | ||
] |
Oops, something went wrong.