deardaniel/secdata-raw huggingface dataset:
Adversarial Robustness Toolbox: classification scikitlearn

:mod:`art.estimators.classification.scikitlearn`
================================================
.. automodule:: art.estimators.classification.scikitlearn

Base Class Scikit-learn
-----------------------
.. autoclass:: ScikitlearnClassifier
   :members:

Scikit-learn DecisionTreeClassifier Classifier
----------------------------------------------
.. autoclass:: ScikitlearnDecisionTreeClassifier
   :members:
   :special-members: __init__
   :inherited-members:

Scikit-learn ExtraTreeClassifier Classifier
-------------------------------------------
.. autoclass:: ScikitlearnExtraTreeClassifier
   :members:
   :special-members: __init__
   :inherited-members:

Scikit-learn AdaBoostClassifier Classifier
------------------------------------------
.. autoclass:: ScikitlearnAdaBoostClassifier
   :members:
   :special-members: __init__
   :inherited-members:

Scikit-learn BaggingClassifier Classifier
-----------------------------------------
.. autoclass:: ScikitlearnBaggingClassifier
   :members:
   :special-members: __init__
   :inherited-members:

Scikit-learn ExtraTreesClassifier Classifier
--------------------------------------------
.. autoclass:: ScikitlearnExtraTreesClassifier
   :members:
   :special-members: __init__
   :inherited-members:

Scikit-learn GradientBoostingClassifier Classifier
--------------------------------------------------
.. autoclass:: ScikitlearnGradientBoostingClassifier
   :members:
   :special-members: __init__
   :inherited-members:

Scikit-learn RandomForestClassifier Classifier
----------------------------------------------
.. autoclass:: ScikitlearnRandomForestClassifier
   :members:
   :special-members: __init__
   :inherited-members:

Scikit-learn LogisticRegression Classifier
------------------------------------------
.. autoclass:: ScikitlearnLogisticRegression
   :members:
   :special-members: __init__
   :inherited-members:

Scikit-learn SVC Classifier
---------------------------
.. autoclass:: ScikitlearnSVC
   :members:
   :special-members: __init__
   :inherited-members:
Adversarial Robustness Toolbox: generation

:mod:`art.estimators.generation`
================================
.. automodule:: art.estimators.generation

Mixin Base Class Generator
--------------------------
.. autoclass:: GeneratorMixin
   :members:

TensorFlow 2 Generator
----------------------
.. autoclass:: TensorFlowV2Generator
   :members:
   :special-members: __init__
   :inherited-members:
Adversarial Robustness Toolbox: certification interval

:mod:`art.estimators.certification.interval`
============================================
.. automodule:: art.estimators.certification.interval

PyTorchIBPClassifier
--------------------
.. autoclass:: PyTorchIBPClassifier
   :members:
   :special-members: __init__
   :no-inherited-members:

Interval Dense Layer
--------------------
.. autoclass:: PyTorchIntervalDense
   :members:
   :special-members: __init__
   :no-inherited-members:

Interval Convolution Layer
--------------------------
.. autoclass:: PyTorchIntervalConv2D
   :members:
   :special-members: __init__
   :no-inherited-members:

Interval Flatten Layer
----------------------
.. autoclass:: PyTorchIntervalFlatten
   :members:
   :special-members: __init__
   :no-inherited-members:

Interval ReLU
-------------
.. autoclass:: PyTorchIntervalReLU
   :members:
   :special-members: __init__
   :no-inherited-members:

Interval Bounds
---------------
.. autoclass:: PyTorchIntervalBounds
   :members:
   :special-members: __init__
   :no-inherited-members:
Adversarial Robustness Toolbox: certification deep z

:mod:`art.estimators.certification.deep_z`
==========================================
.. automodule:: art.estimators.certification.deep_z

PytorchDeepZ
------------
.. autoclass:: PytorchDeepZ
   :members:
   :special-members: __init__
   :no-inherited-members:

Zono Dense Layer
----------------
.. autoclass:: ZonoDenseLayer
   :members:
   :special-members: __init__
   :no-inherited-members:

Zono Bounds
-----------
.. autoclass:: ZonoBounds
   :members:
   :no-inherited-members:

Zono Convolution Layer
----------------------
.. autoclass:: ZonoConv
   :members:
   :special-members: __init__
   :no-inherited-members:

Zono ReLU
---------
.. autoclass:: ZonoReLU
   :members:
   :special-members: __init__
   :no-inherited-members:
Adversarial Robustness Toolbox: certification randomized smoothing

:mod:`art.estimators.certification.randomized_smoothing`
========================================================
.. automodule:: art.estimators.certification.randomized_smoothing

Mixin Base Class Randomized Smoothing
-------------------------------------
.. autoclass:: RandomizedSmoothingMixin
   :members:

PyTorch Randomized Smoothing Classifier
---------------------------------------
.. autoclass:: PyTorchRandomizedSmoothing
   :members:
   :special-members: __init__
   :inherited-members:

TensorFlow V2 Randomized Smoothing Classifier
---------------------------------------------
.. autoclass:: TensorFlowV2RandomizedSmoothing
   :members:
   :special-members: __init__
   :inherited-members:
Adversarial Robustness Toolbox: speech recognition

:mod:`art.estimators.speech_recognition`
========================================
.. automodule:: art.estimators.speech_recognition

Mixin Base Class Speech Recognizer
----------------------------------
.. autoclass:: SpeechRecognizerMixin
   :members:
   :special-members: __init__
   :inherited-members:

Speech Recognizer Deep Speech - PyTorch
---------------------------------------
.. autoclass:: PyTorchDeepSpeech
   :members:
   :special-members: __init__
   :inherited-members:

Speech Recognizer Espresso - PyTorch
------------------------------------
.. autoclass:: PyTorchEspresso
   :members:
   :special-members: __init__
   :inherited-members:
Adversarial Robustness Toolbox: classification

:mod:`art.estimators.classification`
====================================
.. automodule:: art.estimators.classification

Mixin Base Class Classifier
---------------------------
.. autoclass:: ClassifierMixin
   :members:

Mixin Base Class Class Gradients
--------------------------------
.. autoclass:: ClassGradientsMixin
   :members:

BlackBox Classifier
-------------------
.. autoclass:: BlackBoxClassifier
   :members:
   :special-members: __init__
   :inherited-members:

BlackBox Classifier NeuralNetwork
---------------------------------
.. autoclass:: BlackBoxClassifierNeuralNetwork
   :members:
   :special-members: __init__
   :inherited-members:

Deep Partition Aggregation Classifier
-------------------------------------
.. autoclass:: DeepPartitionEnsemble
   :members:
   :special-members: __init__
   :inherited-members:

Keras Classifier
----------------
.. autoclass:: KerasClassifier
   :members:
   :special-members: __init__
   :inherited-members:

PyTorch Classifier
------------------
.. autoclass:: PyTorchClassifier
   :members:
   :special-members: __init__
   :inherited-members:

Query-Efficient Black-box Gradient Estimation Classifier
--------------------------------------------------------
.. autoclass:: QueryEfficientGradientEstimationClassifier
   :members:
   :special-members: __init__
   :inherited-members:

TensorFlow v2 Classifier
------------------------
.. autoclass:: TensorFlowV2Classifier
   :members:
   :special-members: __init__
   :inherited-members:

Ensemble Classifier
-------------------
.. autoclass:: EnsembleClassifier
   :members:
   :special-members: __init__
   :inherited-members:

Scikit-learn Classifier Classifier
----------------------------------
.. autofunction:: SklearnClassifier

GPy Gaussian Process Classifier
-------------------------------
.. autoclass:: GPyGaussianProcessClassifier
   :members:
   :special-members: __init__
   :inherited-members:
Adversarial Robustness Toolbox: regression

:mod:`art.estimators.regression`
================================
.. automodule:: art.estimators.regression

Mixin Base Class Regressor
--------------------------
.. autoclass:: RegressorMixin
   :members:
   :special-members: __init__
   :inherited-members:
Adversarial Robustness Toolbox: utils

:mod:`tests.utils`
===================
.. automodule:: tests.utils

Test Base Classes
-----------------
.. autoclass:: TestBase
.. autoclass:: ExpectedValue

Trained Models for Unittests, MNIST
-----------------------------------
.. autofunction:: get_image_classifier_tf
.. autofunction:: get_image_classifier_tf_v2
.. autofunction:: get_image_classifier_kr
.. autofunction:: get_image_classifier_kr_tf
.. autofunction:: get_image_classifier_kr_functional
.. autofunction:: get_image_classifier_kr_tf_functional
.. autofunction:: get_image_classifier_kr_tf_with_wildcard
.. autofunction:: get_image_classifier_kr_tf_binary
.. autofunction:: get_image_classifier_pt
.. autofunction:: get_classifier_bb

.. autofunction:: get_attack_classifier_pt

.. autofunction:: check_adverse_example_x
.. autofunction:: check_adverse_predicted_sample_y
.. autofunction:: is_valid_framework


Trained Models for Unittests, Iris
----------------------------------
.. autofunction:: get_tabular_classifier_tf
.. autofunction:: get_tabular_classifier_tf_v2
.. autofunction:: get_tabular_classifier_scikit_list
.. autofunction:: get_tabular_classifier_kr
.. autofunction:: get_tabular_classifier_pt

Random Number Generators
------------------------
.. autofunction:: master_seed
Adversarial Robustness Toolbox: standardisation mean std

:mod:`art.preprocessing.standardisation_mean_std`
=================================================
.. automodule:: art.preprocessing.standardisation_mean_std

Standardisation Mean and Std
----------------------------
.. autoclass:: StandardisationMeanStd
   :members:
   :special-members:

Standardisation Mean and Std - PyTorch
--------------------------------------
.. autoclass:: StandardisationMeanStdPyTorch
   :members:
   :special-members:

Standardisation Mean and Std - TensorFlow V2
--------------------------------------------
.. autoclass:: StandardisationMeanStdTensorFlow
   :members:
   :special-members:
Adversarial Robustness Toolbox: expectation over transformation

:mod:`art.preprocessing.expectation_over_transformation`
========================================================
.. automodule:: art.preprocessing.expectation_over_transformation

EOT Image Center Crop - PyTorch
-------------------------------
.. autoclass:: EoTImageCenterCropPyTorch
   :members:
   :special-members:

EOT Image Rotation - TensorFlow V2
----------------------------------
.. autoclass:: EoTImageRotationTensorFlow
   :members:
   :special-members:

EOT Image Rotation - PyTorch
----------------------------
.. autoclass:: EoTImageRotationPyTorch
   :members:
   :special-members:

EOT Brightness - PyTorch
------------------------
.. autoclass:: EoTBrightnessPyTorch
   :members:
   :special-members:

EOT Brightness - TensorFlow V2
----------------------------------
.. autoclass:: EoTBrightnessTensorFlow
   :members:
   :special-members:

EOT Contrast - PyTorch
----------------------
.. autoclass:: EoTContrastPyTorch
   :members:
   :special-members:

EOT Contrast - TensorFlow V2
----------------------------
.. autoclass:: EoTContrastTensorFlow
   :members:
   :special-members:

EOT Gaussian Noise - PyTorch
----------------------------
.. autoclass:: EoTGaussianNoisePyTorch
   :members:
   :special-members:

EOT Gaussian Noise - TensorFlow V2
----------------------------------
.. autoclass:: EoTGaussianNoiseTensorFlow
   :members:
   :special-members:

EOT Shot Noise - PyTorch
------------------------
.. autoclass:: EoTShotNoisePyTorch
   :members:
   :special-members:

EOT Shot Noise - TensorFlow V2
------------------------------
.. autoclass:: EoTShotNoiseTensorFlow
   :members:
   :special-members:

EOT Zoom Blur - PyTorch
-----------------------
.. autoclass:: EoTZoomBlurPyTorch
   :members:
   :special-members:

EOT Zoom Blur - TensorFlow V2
----------------------------------
.. autoclass:: EoTZoomBlurTensorFlow
   :members:
   :special-members:
Adversarial Robustness Toolbox: audio

:mod:`art.preprocessing.audio`
==============================
.. automodule:: art.preprocessing.audio

L-Filter
--------
.. autoclass:: LFilter
   :members:
   :special-members:

LFilter - PyTorch
-----------------
.. autoclass:: LFilterPyTorch
   :members:
   :special-members:
Adversarial Robustness Toolbox: transformer poisoning

:mod:`art.defences.transformer.poisoning`
=========================================
.. automodule:: art.defences.transformer.poisoning

Neural Cleanse
--------------
.. autoclass:: NeuralCleanse
   :members:
   :special-members:

STRIP
--------------
.. autoclass:: STRIP
   :members:
   :special-members:
Adversarial Robustness Toolbox: detector evasion

:mod:`art.defences.detector.evasion`
====================================
.. automodule:: art.defences.detector.evasion

Base Class
------------------------
.. autoclass:: EvasionDetector
   :members:

Be Your Own Neighbourhood Detector (BEYOND)- PyTorch
----------------------------------------------------
.. autoclass:: BeyondDetectorPyTorch
   :members:

Binary Input Detector
---------------------
.. autoclass:: BinaryInputDetector
   :members:

Binary Activation Detector
--------------------------
.. autoclass:: BinaryActivationDetector
   :members:

Subset Scanning Detector
------------------------
.. autoclass:: SubsetScanningDetector
   :members:
Adversarial Robustness Toolbox: preprocessor

:mod:`art.defences.preprocessor`
================================
.. automodule:: art.defences.preprocessor

Base Class Preprocessor
-----------------------
.. autoclass:: Preprocessor
   :members:
   :special-members:

CutMix
------
.. autoclass:: CutMix
   :members:
   :special-members:

CutMix - PyTorch
----------------
.. autoclass:: CutMixPyTorch
   :members:
   :special-members:

CutMix - TensorFlowV2
---------------------
.. autoclass:: CutMixTensorFlowV2
   :members:
   :special-members:

Cutout
------
.. autoclass:: Cutout
   :members:
   :special-members:

Cutout - PyTorch
----------------
.. autoclass:: CutoutPyTorch
   :members:
   :special-members:

Cutout - TensorFlowV2
---------------------
.. autoclass:: CutoutTensorFlowV2
   :members:
   :special-members:

Feature Squeezing
-----------------
.. autoclass:: FeatureSqueezing
   :members:
   :special-members:

Gaussian Data Augmentation
--------------------------
.. autoclass:: GaussianAugmentation
   :members:
   :special-members:

JPEG Compression
----------------
.. autoclass:: JpegCompression
   :members:
   :special-members:

Label Smoothing
---------------
.. autoclass:: LabelSmoothing
   :members:
   :special-members:

Mixup
-----
.. autoclass:: Mixup
   :members:
   :special-members:

Mixup - PyTorch
---------------
.. autoclass:: MixupPyTorch
   :members:
   :special-members:

Mixup - TensorFlowV2
--------------------
.. autoclass:: MixupTensorFlowV2
   :members:
   :special-members:

Mp3 Compression
---------------
.. autoclass:: Mp3Compression
   :members:
   :special-members:

PixelDefend
-----------
.. autoclass:: PixelDefend
   :members:
   :special-members:

Resample
--------
.. autoclass:: Resample
   :members:
   :special-members:

Spatial Smoothing
-----------------
.. autoclass:: SpatialSmoothing
   :members:
   :special-members:

Spatial Smoothing - PyTorch
---------------------------
.. autoclass:: SpatialSmoothingPyTorch
   :members:
   :special-members:

Spatial Smoothing - TensorFlow v2
---------------------------------
.. autoclass:: SpatialSmoothingTensorFlowV2
   :members:
   :special-members:

Thermometer Encoding
--------------------
.. autoclass:: ThermometerEncoding
   :members:
   :special-members:

Total Variance Minimization
---------------------------
.. autoclass:: TotalVarMin
   :members:
   :special-members:

Video Compression
-----------------
.. autoclass:: VideoCompression
   :members:
   :special-members:
Adversarial Robustness Toolbox: detector poisoning

:mod:`art.defences.detector.poison`
===================================
.. automodule:: art.defences.detector.poison

Base Class
----------
.. autoclass:: PoisonFilteringDefence
   :members:

Activation Defence
------------------
.. autoclass:: ActivationDefence
   :members:

Data Provenance Defense
-----------------------
.. autoclass:: ProvenanceDefense
   :members:

Reject on Negative Impact (RONI) Defense
----------------------------------------
.. autoclass:: RONIDefense
   :members:

Spectral Signature Defense
--------------------------
.. autoclass:: SpectralSignatureDefense
   :members:
Adversarial Robustness Toolbox: postprocessor

:mod:`art.defences.postprocessor`
=================================
.. automodule:: art.defences.postprocessor

Base Class Postprocessor
------------------------
.. autoclass:: Postprocessor
   :members:
   :special-members:

Class Labels
------------
.. autoclass:: ClassLabels
   :members:
   :special-members:

Gaussian Noise
--------------
.. autoclass:: GaussianNoise
   :members:
   :special-members:

High Confidence
---------------
.. autoclass:: HighConfidence
   :members:
   :special-members:

Reverse Sigmoid
---------------
.. autoclass:: ReverseSigmoid
   :members:
   :special-members:

Rounded
-------
.. autoclass:: Rounded
   :members:
   :special-members:
Adversarial Robustness Toolbox: transformer evasion

:mod:`art.defences.transformer.evasion`
=======================================
.. automodule:: art.defences.transformer.evasion

Defensive Distillation
----------------------
.. autoclass:: DefensiveDistillation
   :members:
   :special-members:
Adversarial Robustness Toolbox: trainer

:mod:`art.defences.trainer`
===========================
.. automodule:: art.defences.trainer

Base Class Trainer
------------------
.. autoclass:: Trainer
   :members:
   :special-members:

Adversarial Training
--------------------
.. autoclass:: AdversarialTrainer
   :members:
   :special-members:

Adversarial Training Madry PGD
------------------------------
.. autoclass:: AdversarialTrainerMadryPGD
   :members:
   :special-members:

Adversarial Training Adversarial Weight Perturbation (AWP) - PyTorch
--------------------------------------------------------------------
.. autoclass:: AdversarialTrainerAWPPyTorch
   :members:
   :special-members:

Adversarial Training Oracle Aligned Adversarial Training (OAAT) - PyTorch
-------------------------------------------------------------------------
.. autoclass:: AdversarialTrainerOAATPyTorch
   :members:
   :special-members:

Adversarial Training TRADES - PyTorch
-------------------------------------
.. autoclass:: AdversarialTrainerTRADESPyTorch
   :members:
   :special-members:

Base Class Adversarial Training Fast is Better than Free
--------------------------------------------------------
.. autoclass:: AdversarialTrainerFBF
   :members:
   :special-members:

Adversarial Training Fast is Better than Free - PyTorch
-------------------------------------------------------
.. autoclass:: AdversarialTrainerFBFPyTorch
   :members:
   :special-members:

Adversarial Training Certified - PyTorch
----------------------------------------
.. autoclass:: AdversarialTrainerCertifiedPytorch
   :members:
   :special-members:

Adversarial Training Certified Interval Bound Propagation - PyTorch
-------------------------------------------------------------------
.. autoclass:: AdversarialTrainerCertifiedIBPPyTorch
   :members:
   :special-members:

DP - InstaHide Training
-----------------------
.. autoclass:: DPInstaHideTrainer
   :members:
   :special-members:
Adversarial Robustness Toolbox: README

# MLOps

This directory will contain samples and examples to show how to leverage ART for MLOps, in Machine Learning Platforms and Pipelines.

The will contain designs, specifications, shared code and processes that meet the following goals:
* Enable integration between MLOps Pipelines and ART e.g. Kubeflow Pipelines working with ART
* Enable ART to be surfaced in ML Platforms e.g. OpenScale, KFServing
* Enable support structure for this code to be maintained and tested

Samples:

[Kubeflow](kubeflow/)

<img src="https://www.kubeflow.org/images/logo.svg" width="100">
Falco Runtime Security: CMakeLists

# SPDX-License-Identifier: Apache-2.0
#
# Copyright (C) 2023 The Falco Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied. See the License for the specific language governing permissions and limitations under
# the License.
#

if(CMAKE_SYSTEM_NAME MATCHES "Linux")
	# Systemd
	file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/scripts/systemd)
	configure_file(
		"${PROJECT_SOURCE_DIR}/scripts/systemd/falco-kmod-inject.service"
		"${PROJECT_BINARY_DIR}/scripts/systemd" COPYONLY
	)
	configure_file(
		"${PROJECT_SOURCE_DIR}/scripts/systemd/falco-kmod.service"
		"${PROJECT_BINARY_DIR}/scripts/systemd" COPYONLY
	)
	configure_file(
		"${PROJECT_SOURCE_DIR}/scripts/systemd/falco-modern-bpf.service"
		"${PROJECT_BINARY_DIR}/scripts/systemd" COPYONLY
	)
	configure_file(
		"${PROJECT_SOURCE_DIR}/scripts/systemd/falco-custom.service"
		"${PROJECT_BINARY_DIR}/scripts/systemd" COPYONLY
	)
	configure_file(
		"${PROJECT_SOURCE_DIR}/scripts/systemd/falcoctl-artifact-follow.service"
		"${PROJECT_BINARY_DIR}/scripts/systemd" COPYONLY
	)

	# Debian
	configure_file(debian/postinst.in debian/postinst COPYONLY)
	configure_file(debian/postrm.in debian/postrm COPYONLY)
	configure_file(debian/prerm.in debian/prerm COPYONLY)

	# Rpm
	configure_file(rpm/postinstall.in rpm/postinstall COPYONLY)
	configure_file(rpm/postuninstall.in rpm/postuninstall COPYONLY)
	configure_file(rpm/preuninstall.in rpm/preuninstall COPYONLY)
endif()

# Install Falcoctl config file
if(NOT WIN32
   AND NOT APPLE
   AND NOT EMSCRIPTEN
   AND NOT MUSL_OPTIMIZED_BUILD
)
	if(NOT DEFINED FALCOCTL_ETC_DIR)
		set(FALCOCTL_ETC_DIR "${CMAKE_INSTALL_FULL_SYSCONFDIR}/falcoctl")
	endif()
	set(FALCOCTL_DRIVER_TYPES_LIST "")
	if(BUILD_FALCO_MODERN_BPF)
		list(APPEND FALCOCTL_DRIVER_TYPES_LIST "modern_ebpf")
	endif()
	if(BUILD_DRIVER)
		list(APPEND FALCOCTL_DRIVER_TYPES_LIST "kmod")
	endif()
	string(REPLACE ";" ", " FALCOCTL_DRIVER_TYPES "${FALCOCTL_DRIVER_TYPES_LIST}")
	configure_file(
		${CMAKE_CURRENT_SOURCE_DIR}/falcoctl/falcoctl.yaml.in
		${PROJECT_BINARY_DIR}/scripts/falcoctl/falcoctl.yaml
	)
	install(
		FILES ${PROJECT_BINARY_DIR}/scripts/falcoctl/falcoctl.yaml
		DESTINATION "${FALCOCTL_ETC_DIR}"
		COMPONENT "${FALCO_COMPONENT_NAME}"
	)
endif()
Falco Runtime Security: description

Falco, the open source cloud-native runtime security project, is the defacto Kubernetes threat detection engine. Falco detects unexpected application behavior and alerts on threats at runtime.