API

niteshade.data

Classes and functions pertaining to the loading and batching of data.

niteshade.models

Abstract base model class for niteshade workflows as well as some specific toy models for out-of-the-box use.

niteshade.attack

Data poisoning attack strategy classes following a logical hierarchy.

niteshade.defence

Data poisoning defence strategy classes following a logical hierarchy.

niteshade.simulation

Classes and functions for simulating data poisoning attacks and defences against online learning.

niteshade.postprocessing

Analytics tools for assessing damage inflicted by attacks and damage prevented by defences.

niteshade.utils

General utility and helper functions.