Skip to content

Commit 202cd68

Browse files
Merge pull request #98 from oslabs-beta/yiqun/readme
feat: revise Readme
2 parents 02ce69c + 182367d commit 202cd68

File tree

3 files changed

+47
-39
lines changed

3 files changed

+47
-39
lines changed

.github/README.md

Lines changed: 44 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -11,44 +11,18 @@
1111
![Coverage](https://img.shields.io/badge/Coverage-87%25-c7ea46.svg)
1212
[![Contributions](https://img.shields.io/badge/Contributions-Welcome-brightgreen.svg)](../CONTRIBUTING.md)
1313

14-
<i>mlflow.js</i> is an open-source npm library designed for JavaScript developers who want to integrate with MLflow, providing tools and functionalities for managing machine learning lifecycle.
15-
16-
<a href="https://www.mlflow-js.org/">Visit the official <i>mlflow.js</i> site for more info!</a>
17-
18-
Visit our LinkedIn page below:
19-
20-
[![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/company/mlflowjs/)
14+
<i>MLflow.js</i> is an open-source JavaScript library that helps developers track machine learning experiments and manage models with MLflow, providing functionalities for machine learning lifecycle in JavaScript/TypeScript environments.
2115

2216
<br>
2317

2418
## Features
2519

26-
<i>mlflow.js</i> covers all REST API endpoints under MLflow's Tracking Server and Model Registry. Official documentation for <i>mlflow.js</i> can be found <a href="https://www.mlflow-js.org/documentation">here</a>. Moreover, high-level abstraction workflows have been developed to facilitate developers' work processes.
27-
28-
### High-Level Abstraction Workflows
29-
30-
**Experiment Manager**
31-
32-
- runExistingExperiment - Full workflow of creating, naming, and starting a run under an existing experiment, logging metrics, params, tags, and the model, and finishing the run
33-
- runNewExperiment - Full workflow of creating, naming, and starting a run under a new experiment, logging metrics, params, tags, and the model, and finishing the run
34-
- experimentSummary - Returns an array of all the passed-in experiment's runs, sorted according to the passed-in metric
20+
<i>MLflow.js</i> covers all REST API endpoints under MLflow's Tracking Server and Model Registry. Moreover, high-level abstractions have been developed to facilitate developers' common ML workflows. It provides some key advantages:
3521

36-
**Run Manager**
37-
38-
- cleanupRuns - Deletes runs that do not meet certain criteria and return an object of deleted runs and details
39-
- copyRun - Copies a run from one experiment to another (without artifacts and models)
40-
41-
**Model Manager**
42-
43-
- createRegisteredModelWithVersion - Creates a new registered model and the first version of that model
44-
- updateRegisteredModelDescriptionAndTag - Updates a registered model's description and tags
45-
- updateAllLatestModelVersion - Updates the latest version of the specified registered model's description, adds a new alias, and tag key/value for the latest version
46-
- setLatestModelVersionTag - Adds a new tag key/value for the latest version of the specified registered model
47-
- setLatestModelVersionAlias - Adds an alias for the latest version of the specified registered model
48-
- updateLatestModelVersion - Updates the description of the latest version of a registered model
49-
- updateAllModelVersion - Updates the specified version of the specified registered model's description and adds a new alias and tag key/value for that specified version
50-
- deleteLatestModelVersion - Deletes the latest version of the specified registered model
51-
- createModelFromRunWithBestMetric - Creates a new model with the specified model name from the run with the best specified metric
22+
- Native JavaScript Integration: Seamlessly integrate MLflow capabilities within JavaScript codebases
23+
- Type Safety: Built with TypeScript for enhanced developer experience and code reliability
24+
- Modular Architecture: Designed with object-oriented structure that mirrors MLflow's concepts while being extensible and maintainable
25+
- Client-side ML Compatibility: Complements popular JavaScript libraries like TensorFlow.js, enabling ML deployment directly in the browser or client side
5226

5327
<br>
5428

@@ -71,7 +45,7 @@ Visit our LinkedIn page below:
7145

7246
## Prerequisites
7347

74-
### Set Up MLflow UI
48+
### Set Up MLflow
7549

7650
Ensure MLflow is installed on your system:
7751

@@ -91,6 +65,9 @@ mlflow ui --port 5000
9165

9266
This will launch the MLflow UI on your local machine at `http://localhost:5000`.
9367

68+
### Development Setup
69+
For development environment setup instructions, please refer to our [Contributing Guide](../CONTRIBUTING.md).
70+
9471
<br>
9572

9673
## Quickstart
@@ -122,18 +99,49 @@ async function createExperiment(){
12299
createExperiment();
123100

124101
```
102+
<br>
103+
104+
## Resources
105+
- [Example Repository](https://github.com/oslabs-beta/mlflow-js/tree/dev/mlflow/examples) - Practical examples demonstrating MLflow.js’s functionality
106+
- [Quick Tutorials](https://www.mlflow-js.org/) - Video walkthrough of the example code with MLflow UI
107+
- [Read our Medium Article](link) - Overview on why we built MLflow.js and how it enhances ML workflows in JavaScript environments
125108

126109
<br>
127110

128111
## Documentation
129112

130-
Official documentation for <i>mlflow.js</i> can be found <a href="https://www.mlflow-js.org/documentation">here</a>.
113+
Official documentation for <i>MLflow.js</i> can be found <a href="https://www.mlflow-js.org/documentation">here</a>.
114+
115+
### High-Level Workflows
116+
117+
**Experiment Manager**
118+
119+
- runExistingExperiment - Full workflow of creating, naming, and starting a run under an existing experiment, logging metrics, params, tags, and the model, and finishing the run
120+
- runNewExperiment - Full workflow of creating, naming, and starting a run under a new experiment, logging metrics, params, tags, and the model, and finishing the run
121+
- experimentSummary - Returns an array of all the passed-in experiment's runs, sorted according to the passed-in metric
122+
123+
**Run Manager**
124+
125+
- cleanupRuns - Deletes runs that do not meet certain criteria and return an object of deleted runs and details
126+
- copyRun - Copies a run from one experiment to another (without artifacts and models)
127+
128+
**Model Manager**
129+
130+
- createRegisteredModelWithVersion - Creates a new registered model and the first version of that model
131+
- updateRegisteredModelDescriptionAndTag - Updates a registered model's description and tags
132+
- updateAllLatestModelVersion - Updates the latest version of the specified registered model's description, adds a new alias, and tag key/value for the latest version
133+
- setLatestModelVersionTag - Adds a new tag key/value for the latest version of the specified registered model
134+
- setLatestModelVersionAlias - Adds an alias for the latest version of the specified registered model
135+
- updateLatestModelVersion - Updates the description of the latest version of a registered model
136+
- updateAllModelVersion - Updates the specified version of the specified registered model's description and adds a new alias and tag key/value for that specified version
137+
- deleteLatestModelVersion - Deletes the latest version of the specified registered model
138+
- createModelFromRunWithBestMetric - Creates a new model with the specified model name from the run with the best specified metric
131139

132140
<br>
133141

134142
## Contributing
135143

136-
We welcome contributions to <i>mlflow.js</i>! Please see our [Contributing Guide](../CONTRIBUTING.md) for more details on how to get started.
144+
We welcome contributions to <i>MLflow.js</i>! Please see our [Contributing Guide](../CONTRIBUTING.md) for more details on how to get started.
137145

138146
<br>
139147

@@ -151,4 +159,4 @@ We welcome contributions to <i>mlflow.js</i>! Please see our [Contributing Guide
151159
| Kyler Chiago | [![GitHub](https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github)](https://github.com/Kyler-Chiago) | [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/kyler-chiago/) |
152160
| Austin Fraser | [![GitHub](https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github)](https://github.com/austinbfraser) | [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](http://www.linkedin.com/in/austin-fraser) |
153161
| Stephany Ho | [![GitHub](https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github)](https://github.com/seneyu) | [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/stephanyho/) |
154-
| Winston Ludlam | [![GitHub](https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github)](https://github.com/winjolu/) | [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/wjludlam/) |
162+
| Winston Ludlam | [![GitHub](https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github)](https://github.com/winjolu/) | [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/wjludlam/) |

mlflow/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- README for NPM; the one for GitHub is in .github directory. -->
22

3-
# mlflow.js
3+
# MLflow.js
44

55
A JavaScript library designed to provide seamless integration with MLflow's REST API. This package offers access to all the essential endpoints for both the MLflow Tracking Server and Model Registry, along with high-level abstraction workflows, enabling efficient management of machine learning experiments and model lifecycle.
66

@@ -31,7 +31,7 @@ createExperiment();
3131

3232
# Documentation
3333

34-
See [https://www.mlflow-js.org/](https://www.mlflow-js.org/)
34+
See [https://www.mlflow-js.org/documentation](https://www.mlflow-js.org/documentation)
3535

3636
# API
3737

mlflow/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"files": [
2020
"lib/",
2121
"README.md",
22-
"LINCENSE"
22+
"LICENSE"
2323
],
2424
"exports": {
2525
".": "./lib/index.js"

0 commit comments

Comments
 (0)