Skip to content

A JavaScript client library for MLflow that streamlines machine learning lifecycle management in web environments.

License

Notifications You must be signed in to change notification settings

open-source-labs/mlflow-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 


TypeScript JavaScript Next.js TailwindCSS Jest Node.js NPM Vercel

mlflow.js 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.


About

Code coverage percentage: Static Badge

Release version: Static Badge


Prerequisites

Set Up MLflow UI

Ensure MLflow is installed on your system:

pip install mlflow

Note: MLflow is compatible with MacOS. If you encoutner issues with the default system Python, consider installing Python 3 via the Homebrew package manger using brew install python. In this case, installing MLflow is now pip3 install mlflow.

Start the MLflow Tracking Server

To start the MLflow tracking server locally, use the following command:

mlflow ui --port 5000

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


Quickstart

Install MLflow.js Library

To use the MLflow.js library, navigate to your project directory and install it via npm:

npm instatll mlflow-js

Usage Example

Here is an example of how to use the MLflow.js library to create an experiment:

import Mlflow from 'mlflow-js'; // Initialize the MLflow client const mlflow = new Mlflow('http://127.0.0.1:5000'); // Get the experiment client const experimentClient = mlflow.getExperimentClient(); // Create a new experiment async function createExperiment(){ try { await experimentClient.createExperiment('My Experiment'); console.log('Experiment created successfully'); } catch (error) { console.error('Error creating experiment:', error); } } createExperiment();

Documentation

Official documentation for MLflow.js can be found at ...


Meet The Team

Kyler Chiago
GitHub
LinkedIn
Austin Fraser
GitHub
LinkedIn
Stephany Ho
GitHub
LinkedIn
Winston Ludlam
GitHub
LinkedIn
Yiqun Zheng
GitHub
LinkedIn

OR

  • Kyler Chiago GitHub LinkedIn

  • Austin Fraser GitHub LinkedIn

  • Stephany Ho GitHub LinkedIn

  • Winston Ludlam GitHub LinkedIn

  • Yiqun Zheng GitHub LinkedIn

About

A JavaScript client library for MLflow that streamlines machine learning lifecycle management in web environments.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5