百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

modelfox

> 后端框架
开源

ModelFox 可轻松地训练、部署和监控 机器学习 模型。

1.5K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

ModelFox 可轻松地训练、部署和监控 机器学习 模型。

ModelFox makes it easy to train, deploy, and monitor machine learning models.

Train a model from a CSV file on the command line. Make predictions from Elixir, Go, JavaScript, PHP, Python, Ruby, or Rust. Learn about your models and monitor them in production from your browser.

# ModelFox [Discord](https://discord.gg/jT9ZGp3TK2) ModelFox makes it easy to train, deploy, and monitor machine learning models. - Run `modelfox train` to train a model from a CSV file on the command line. - Make predictions with libraries for [Elixir](https://hex.pm/packages/modelfox), [Go](https://pkg.go.dev/github.com/modelfoxdotdev/modelfox-go), [JavaScript](https://www.npmjs.com/package/@modelfoxdotdev/modelfox), [PHP](https://packagist.org/packages/modelfox/modelfox), [Python](https://pypi.org/project/modelfox), [Ruby](https://rubygems.org/gems/modelfox), and [Rust](https://lib.rs/crates/modelfox). - Run `modelfox app` to learn more about your models and monitor them in production. ### Install You can install the modelfox CLI by either downloading the binary from the [latest github release](https://github.com/modelfoxdotdev/modelfox/releases/tag/v0.8.0), or by building from source. ### Train Train a machine learning model by running `modelfox train` with the path to a CSV file and the name of the column you want to predict. ``` $ modelfox train --file heart_disease.csv --target diagnosis --output heart_disease.modelfox ✅ Loading data. ✅ Computing features. Training model 1 of 8. [==========================================> ] ``` The CLI automatically transforms your data into features, trains a number of linear and gradient boosted decision tree models to predict the target column, and writes the best model to a `.modelfox` file. If you want more control, you can provide a config file. ### Predict Make predictions with libraries for [Elixir](https://hex.pm/packages/modelfox), [Go](https://pkg.go.dev/github.com/modelfoxdotdev/modelfox-go), [JavaScript](https://www.npmjs.com/package/@modelfoxdotdev/modelfox), [PHP](https://packagist.org/packages/modelfox/modelfox), [Python](https://pypi.org/project/modelfox), [Ruby](https://rubygems.org/gems/modelfox), and [Rust](https://lib.rs/modelfox). ```javascript let modelfox = require("@modelfoxdotdev/modelfox") let model = new modelfox.Model("./heart_disease.modelfox") let input = { age: 63, gender: "male", // ... } let output = model.predict(input) console.log(output) ``` ```javascript { className: 'Negative', probability: 0.9381780624389648 } ``` ### Inspect Run `modelfox app`, open your browser to http://localhost:8080, and upload the model you trained. - View stats and metrics. - Tune your model to get the best performance. - Make example predictions and get detailed explanations. ### Monitor Once your model is deployed, make sure that it performs as well in production as it did in training. Opt in to logging by calling `logPrediction`. ```javascript // Log the prediction. model.logPrediction({ identifier: "6c955d4f-be61-4ca7-bba9-8fe32d03f801", input, options, output, }) ``` Later on, if you find out the true value for a prediction, call `logTrueValue`. ```javascript // Later on, if we get an official diagnosis for the patient, log the true value. model.logTrueValue({ identifier: "6c955d4f-be61-4ca7-bba9-8fe32d03f801", trueValue: "Positive", }) ``` Now you can: - Look up any prediction by its identifier and get a detailed explanation. - Get alerts if your data drifts or metrics dip. - Track production accuracy, precision, recall, etc. ## Building from Source This repository is a Cargo workspace, and does not require anything other than the latest nightly Rust toolchain to get started with. 1. Install [Rust](rust-lang.org) on Linux, macOS, or Windows. 2. Clone this repo and `cd` into it. 3. Run `cargo run` to run a debug build of the CLI. If you are working on the app, run `scripts/app/dev`. This rebuilds and reruns the CLI with the `app` subcommand as you make changes. To install all dependencies necessary to work on the language libraries and build releases, install [Nix](https://nixos.org) with [flake support](https://nixos.wiki/wiki/Flakes), then run `nix develop` or set up [direnv](https://github.com/direnv/direnv). If you want to submit a pull request, please run `scripts/fmt` and `scripts/check` at the root of the repository to confirm that your changes are formatted correctly and do not have any errors. ## License All of this repository is MIT licensed, except for the `crates/app` directory, which is source available and free to use for testing, but requires a paid license to use in production.

GitHub Issues· 39 开放

在 GitHub 查看全部
  • #28

    Support Time Series Forecasting

    enhancementdesign更新于 2023年4月3日
  • #131

    datasets are not downloadable anymore

    更新于 2022年12月27日
  • #105

    Unwrap in Stats

    bug更新于 2022年12月26日
  • #54

    Windows tarball marked as malicious

    bug更新于 2022年12月22日
  • #106

    Add CLI Command to auto-generate config file

    enhancement更新于 2022年12月21日
  • #129

    Bag of words - what is the delimiter?

    更新于 2022年12月21日
  • #130

    [Ruby] Does not work for M1 Mac OSX

    更新于 2022年12月20日
  • #125

    Debian package is not installable

    更新于 2022年6月14日
  • #120

    Training error when column to predict has more than 100 variants

    更新于 2022年4月19日
  • #118

    Explain what a baseline classifier is on the metrics page.

    更新于 2022年3月21日

> 标签

Rustautomldeveloper-toolselixirelixir-lang

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类后端框架
定价开源

> 相关工具

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架