Skip to main content

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()

Project details


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.0.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

FedArtML-0.1.0-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page