Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add mlflow guidance in website and fix some installation pieces #1428

Merged
merged 3 commits into from
Feb 28, 2022

Conversation

serena-ruan
Copy link
Contributor

Summary

Add samples of Mlflow usage with SynapseML on the website and fix some installation guidance for the next version.

Tests

Tested website rendering correctly.

@serena-ruan
Copy link
Contributor Author

FYI: #1407

@serena-ruan
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@codecov-commenter
Copy link

codecov-commenter commented Feb 25, 2022

Codecov Report

Merging #1428 (73f7f92) into master (dde2d63) will decrease coverage by 1.64%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1428      +/-   ##
==========================================
- Coverage   84.78%   83.13%   -1.65%     
==========================================
  Files         287      280       -7     
  Lines       14250    14115     -135     
  Branches      719      719              
==========================================
- Hits        12082    11735     -347     
- Misses       2168     2380     +212     
Impacted Files Coverage Δ
...soft/azure/synapse/ml/cognitive/AudioStreams.scala 0.00% <0.00%> (-87.88%) ⬇️
...t/azure/synapse/ml/cognitive/SpeechToTextSDK.scala 16.47% <0.00%> (-74.12%) ⬇️
...crosoft/azure/synapse/ml/cognitive/SpeechAPI.scala 0.00% <0.00%> (-70.00%) ⬇️
...org/apache/spark/ml/param/JsonEncodableParam.scala 53.33% <0.00%> (-26.67%) ⬇️
...g/apache/spark/ml/param/PythonWrappableParam.scala 66.66% <0.00%> (-8.34%) ⬇️
...ft/azure/synapse/ml/core/env/StreamUtilities.scala 77.77% <0.00%> (-7.41%) ⬇️
...soft/azure/synapse/ml/cognitive/TextToSpeech.scala 84.84% <0.00%> (-3.04%) ⬇️
...oft/azure/synapse/ml/cognitive/TextAnalytics.scala 85.82% <0.00%> (-2.69%) ⬇️
...crosoft/azure/synapse/ml/io/http/HTTPClients.scala 73.33% <0.00%> (-1.67%) ⬇️
.../azure/synapse/ml/cognitive/TextAnalyticsSDK.scala 86.01% <0.00%> (-1.40%) ⬇️
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dde2d63...73f7f92. Read the comment docs.

display(sentiment.transform(df))

# Wrap it as a stage in the PipelineModel
sentimentM = PipelineModel(stages=[sentiment])
Copy link
Collaborator

@mhamilton723 mhamilton723 Feb 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: maybe just call this sentiment_model

Copy link
Collaborator

@mhamilton723 mhamilton723 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an awesome PR!! only a few nits

.setLeafPredictionCol("leafPrediction")
.setFeaturesShapCol("featuresShap"))

lightbmCM = lightgbmClassifier.fit(df_trans)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe just lightgbm_model


with mlflow.start_run():

featureColumns = ["Number of times pregnant","Plasma glucose concentration a 2 hours in an oral glucose tolerance test",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: snake case in python examples

@mhamilton723
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@serena-ruan
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mhamilton723 mhamilton723 merged commit db227b3 into microsoft:master Feb 28, 2022
@serena-ruan serena-ruan deleted the serena/addMLFlowSample branch March 1, 2022 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants