Giter Club home page Giter Club logo

halildeniz / data-transmission-and-machine-learning Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 689 KB

Data Transmission and Machine Learning with Client-Server Model

Home Page: https://denizhalil.com/2024/03/25/data-transmission-and-machine-learning-with-client-server-model/

License: MIT License

Python 100.00%
blogging data-transmission halildeniz machine-learning machine-learning-algorithms machinelearning network-programming networking pandas python-library

data-transmission-and-machine-learning's Introduction

Data Transmission and Machine Learning with Client-Server Model

Client-Server Communication with Machine Learning Model.png

Introduction

This repository contains code for demonstrating data transmission and machine learning using a client-server model. In this project, we create a client-server architecture where the client generates random data and sends it to the server. The server then processes the received data, trains a machine learning model, and evaluates its performance.

Learning Objectives

  • Understand how the client-server model works.
  • Learn how to transmit data between client and server using sockets.
  • Train a machine learning model on server-side using received data.
  • Evaluate the performance of the trained model.

Components

  • serverAI.py: This file contains the code for the server side. It listens for connections from clients, receives data, processes it, trains a machine learning model, and evaluates its performance.
  • clientAI.py: This file contains the code for the client side. It generates random data and sends it to the server at regular intervals.

Usage

  1. Clone this repository to your local machine:
    git clone https://github.com/Halildeniz/data-transmission-and-machine-learning.git
  2. To install the required libraries, run the following command:
    $ pip install -r requirements.txt
  3. Navigate to the project directory:
    $ cd data-transmission-and-machine-learning
  4. In a separate terminal, start the client by running serverAI.py
    $ python serverAI.py
  5. In a separate terminal, start the client by running clientAI.py:
    $ python clientAI.py

The client will generate random data and send it to the server, which will then process the data, train a machine learning model, and evaluate its performance

machine learning result with denizhalil.png

Contributing

Contributions are welcome! Please feel free to open an issue or submit a pull request with any improvements or additional features.

๐Ÿ”— Links:

๐ŸŽ Donation Links:

๐Ÿ“ง Contacts:

License

This project is licensed under the MIT License. See the LICENSE file for details.

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.