Posts

Showing posts with the label Reinforcement Learning

IoT Cybersecurity with Federated Learning + Reinforcement Learning in Python | FuzzuTech

Image
  Demo : Click Video ðŸ‘‡ðŸ‘‡ðŸ‘‡ Features: ✅ Embedded YouTube Video ✅ Keywords for SEO ✅ Tags from above ✅ Attractive thumbnail Code : # iot_federated_rl_gui.py # Single-file: Python – IoT & Autonomous Protection with Federated Learning + RL (CustomTkinter GUI) # Author: FuzzuTech # Notes: # - No external ML frameworks used; lightweight FedAvg + Logistic Regression (from scratch) using NumPy. # - RL via tabular Q-learning with epsilon-greedy policy. # - Live simulator of IoT traffic + attack scenarios (Normal, PortScan, BruteForce, DDoS). # - Actions: Block, Throttle, Isolate, Honeypot. Reward balances damage vs. mitigation cost. # - GUI: CustomTkinter with tabs (Dashboard, Simulator, Federated Learning, Logs, Settings). import sys import time import json import threading import random from collections import deque, defaultdict import numpy as np import tkinter as tk import customtkinter as ctk from tkinter import messagebox, filedialog from matplotlib.figure import Figure ...