Code Monkey home page Code Monkey logo

data-collection-and-analysis-platform-for-internet-of-vehicles's Introduction

Data-collection-and-analysis-platform-for-Internet-of-vehicles

MQTT+Kafka+KSQL+Tensorflow

本平台的构建笔记:https://blog.csdn.net/qq_41094332/article/details/106223143

构建完各个配置软件后,所需的代码在code文件当中。

[1] mqtt_client中含有汽车传感器模拟数据文件和MQTT客户端的构建代码。 mqtt_client.py实现了创建三个MQTT客户端,读取sensor_data-Copy1.csv文件,发送数据给MQTT Broker。

[2] DataProcess中含有获取Kafka中数据到本地,转换数据文件格式,数据处理构建模型预测的代码。

  • 首先,使用kafka-consumer.py从Kafka中获取数据保存至data-sensor.txt文件当中。
  • 然后,使用txt2csv.py将数据转换成.csv格式,其中若所传输的数据为非字典的格式,则使用#not dict。若所传输的数据为字典格式,则使用#dict。
  • 最后,使用ipython-lstm-train.ipynb来进行数据分析,构建模型,预测数据。

data-collection-and-analysis-platform-for-internet-of-vehicles's People

Contributors

k-945 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.