简体   繁体   English

如何从 csv 文件训练我的 brain.js model 文件?

[英]How to train my brain.js model from a csv file?

I just learned brain.js and have been using it for quiet a while and now I have an idea for a project.我刚刚学习了brain.js,并且一直在安静地使用它,现在我有了一个项目的想法。 I want to predict house prices for a given area in a specific city and the training data for this is inside a csv file.我想预测特定城市给定区域的房价,并且此训练数据位于 csv 文件中。 Now there's a couple of thousand examples in that file for It to learn from so copying/pasting all of it into the code would be a huge amount of work.现在该文件中有几千个示例可供它学习,因此将所有示例复制/粘贴到代码中将是一项巨大的工作。

So can anyone please tell me a way of getting the neural network to learn from the csv file without me copy/pasting the data into the code?那么谁能告诉我一种让神经网络从 csv 文件中学习的方法,而无需我将数据复制/粘贴到代码中?

You can use a data visualization library like D3.js.您可以使用像 D3.js 这样的数据可视化库。

Here's the homepage for D3.js.这是 D3.js 的主页。 You can find documentation, examples, and all the information that you might need about it over here:您可以在此处找到文档、示例以及您可能需要的所有信息:

https://d3js.org/ https://d3js.org/

There are some alternatives as well though my personal recommendation would be D3.js because is super easy to use.还有一些替代品,虽然我个人的建议是 D3.js 因为超级好用。

Refer to this page for alternatives:请参阅此页面以获取替代方案:

https://www.g2.com/products/d3-js/competitors/alternatives https://www.g2.com/products/d3-js/competitors/alternatives

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM