Created
November 13, 2018 10:36
-
-
Save allwefantasy/4bb41fd791390690f08d33b782d7ae03 to your computer and use it in GitHub Desktop.
pythonalg-mlflow
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
load csv.`/Users/allwefantasy/CSDNWorkSpace/streamingpro-spark-2.3.x/examples/sklearn_elasticnet_wine/wine-quality.csv` | |
where header="true" and inferSchema="true" | |
as data; | |
train data as PythonAlg.`/tmp/abc` where pythonScriptPath="/Users/allwefantasy/CSDNWorkSpace/streamingpro-spark-2.3.x/examples/sklearn_elasticnet_wine" | |
and keepVersion="true" | |
and enableDataLocal="true" | |
and dataLocalFormat="csv" | |
; | |
predict data as PythonAlg.`/tmp/abc`; | |
register PythonAlg.`/tmp/abc` as pj |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment