Federated learning for Artificial Intelligence and Machine Learning library
Project description
FedArtML
Federated Learning for Artificial Intelligence and Machine Learning
Installation
pip install fedartml
Get started
How to plot an interactive stacked bar plot (with sliders) per each local node (client) and label's classes.
from fedartml import InteractivePlots
from keras.datasets import mnist
# Load MNIST data
(train_X, train_y), (test_X, test_y) = mnist.load_data()
# Define labels to use
my_labels = train_y
# Instantiate a InteractivePlots object
my_plot = InteractivePlots(labels=my_labels)
# Show stacked bar distribution plot
my_plot.show_stacked_distr()
Documentation
Find the documentation of the library on:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
FedArtML-0.1.2.tar.gz
(5.3 kB
view hashes)