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

Unable to make merge request--Update README #3

Open
CloudChaoszero opened this issue Sep 24, 2018 · 1 comment
Open

Unable to make merge request--Update README #3

CloudChaoszero opened this issue Sep 24, 2018 · 1 comment

Comments

@CloudChaoszero
Copy link

Hello,
I just wanted to provide the following to update the README.md file. Since I was unauthorized to make a merge request, thought I would post it here.
Cheers!

(Also included the README.md file as a txt, just in case)


Example MLflow project

Overview

This is an example MLflow project for the MLflow Quickstart
documentation.

Using both the UCI Wine Quality dataset (by P. Cortez, A. Cerdeira, F.
Almeida, T. Matos and J. Reis.) and Elastic Net to predict quality, we create an MLflow project.

Moreover, The example uses MLproject to set up a Conda environment, define parameter types and defaults, entry point for training, etc.

Instructions

If you reached this repository from going through the MLflow Quickstart
documentation, please follow these instructions (else, feel free to independently go through the material yourself):

1 ) Per the Running MLflow Projects section, run the following:

mlflow run tutorial -P alpha=0.5

mlflow run [email protected]:mlflow/mlflow-example.git -P alpha=5

Note: If you are receiving git permission issues, please git clone this repository.

Thereafter, run command:

mlflow run mlflow-example -P alpha=0.5

2 ) Per the Saving and Serving Models
section, run:

python sklearn_logistic_regression/train.py

Therafter, to serve the scikit-learn model through a REST server, run:

mlflow sklearn serve -r <RUN_ID> model

Now, run

curl -d '[{"x": 1}, {"x": -1}]' -H 'Content-Type: application/json' -X POST localhost:5000/invocations

Congrats, you are done! Please refer back to the MLflow Quickstart documentation or feel free to play around more with MLflow!

Cheers!
README..txt

@malanb5
Copy link

malanb5 commented May 13, 2020

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

No branches or pull requests

2 participants