Lightwood:基于Pytorch的机器学习模块化框架

网友投稿 1132 2022-10-27

Lightwood:基于Pytorch的机器学习模块化框架

Lightwood:基于Pytorch的机器学习模块化框架

Lightwood is like Legos for Machine Learning.

A Pytorch based framework that breaks down machine learning problems into smaller blocks that can be glued together seamlessly with one objective:

Make it so simple that you can build predictive models with as little as one line of code.

Documentation

Learn more from the Lightwood's docs.

Try it out

Installation

You can install Lightwood from pip:

pip3 install lightwood

Note: depending on your environment, you might have to use pip instead of pip3 in the above command.

Usage

Given the simple sensor_data.csv let's predict sensor3 values.

sensor1sensor2sensor3
1-1-1
010
-1- 11

Import Predictor from Lightwood

from lightwood import Predictor

Train the model.

import pandassensor3_predictor = Predictor(output=['sensor3']).learn(from_data=pandas.read_csv('sensor_data.csv'))

You can now predict what sensor3 value will be.

prediction = sensor3_predictor.predict(when={'sensor1':1, 'sensor2':-1})

Contributing

Thanks for your interest.There are many ways to contribute to this project. Get started here.

Lightwood License

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Linux下安装CodeBlocks和gcc
下一篇:线性表的顺序存储结构——顺序表
相关文章

 发表评论

暂时没有评论,来抢沙发吧~