Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix DecisionTree, RandomForest, StopWords, Tokenizer failing in #468 …
…(sparkml converters) (#471) * enable spark on CI * update init.py * update CI
- Loading branch information
Showing
58 changed files
with
724 additions
and
677 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
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 |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
from onnxconverter_common.utils import * # noqa | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
try: | ||
from onnxconverter_common.utils import hummingbird_installed # noqa | ||
except ImportError: | ||
def hummingbird_installed(): | ||
""" | ||
Checks that *Hummingbird* is available. | ||
""" | ||
try: | ||
import hummingbird.ml # noqa: F401 | ||
|
||
return True | ||
except ImportError: | ||
return False | ||
|
||
from onnxconverter_common.utils import * # noqa |
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
Oops, something went wrong.