GithubHelp home page GithubHelp logo

turkalpmd / -machine-learning-on-streaming-data-using-kafka-and-docker Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 4.0 59 KB

I have completed my first project that machine learning on streaming data using Kafka and Docker. You can check-up my GitHub repository for codes.

License: Apache License 2.0

Python 0.76% Jupyter Notebook 99.24%

-machine-learning-on-streaming-data-using-kafka-and-docker's Introduction

-machine-learning-on-streaming-data-using-Kafka-and-Docker

I have completed my first project that machine learning on streaming data using Kafka and Docker. You can check-up my GitHub repository for codes.

Steps of process:

1- install vscode
2- install anaconda
3- create nev enviroment on conda
4- install docker
5- install docker-compose
7- download docker-compose.yaml (https://github.com/cigdemkadakoglu/apache-kafka)
8- docker-composeup -d
9- you can check containers with docker ps or docker stats -a
10- create topic
  • I am really hardned with creating topic. Because of sh bash or another concepts are far to my domain.
  • But, our container named kafdrop also have create topic function.
  • You can write on the browser bar: https://localhost:9000/ Screenshot from 2022-07-31 00-03-18
  • create a new topic it is easier way for create topics.
11- I love pycaret library
   * setup()
   * create_model()
   * tune_model()
   * save_model()
    * Here is complex at API docs, you have to save the model with path_name just like pandas save function.
   * load_model()
    * And also when loading model, you must take path_name.
   * How it easy, yeah?
11 - I created random data generator named as data_generator.py
      * I used iris dataset, you can change this.
12 - I used this module for producer.py
        * same topic, proper ports
13 - Then, I used consumer.py
        * same topic, proper ports
        * load_model
        * print result

Coming soon....

Send data to MongoDB

-machine-learning-on-streaming-data-using-kafka-and-docker's People

Contributors

turkalpmd avatar

Stargazers

 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.