Skip to content

Commit 20a1851

Browse files
authored
Merge pull request #12 from fhswf/oa/anomaly_detection
Refact: Anomaly Detection - Wrappers, Howtos, RTD #2
2 parents 426ce6b + cf8d0a4 commit 20a1851

File tree

62 files changed

+625
-692
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+625
-692
lines changed
+5-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
.. _Howto_OA_AD_001:
2-
Howto OA-AD-001: Anomaly Detection using One Class SVM
3-
====================================================
2+
Howto OA-AD-001: Anomaly Detection using a One Class SVM (1D)
3+
=============================================================
44

55
**Executable code**
66

7-
.. literalinclude:: ../../../../../test/howtos/oa/howto_oa_ad_001_anomalydetector_oneclasssvm.py
7+
.. literalinclude:: ../../../../../test/howtos/oa/howto_oa_ad_001_oneclasssvm_pa_1d.py
88
:language: python
99

1010

1111

1212
**Results**
1313

1414
.. image::
15-
images/howto_oa_ad_001_anomalydetector_oneclasssvm.png
16-
:width: 1000px
15+
images/howto_oa_ad_001_oneclasssvm_pa_1d.png
16+
:width: 600px
1717

1818

1919

doc/rtd/content/01_example_pool/02_howtos_anomaly_detectors/howto_oa_ad_002_anomalydetector_lof.rst doc/rtd/content/01_example_pool/02_howtos_anomaly_detectors/howto_oa_ad_002_oneclasssvm_pa_2d.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
.. _Howto_OA_AD_002:
2-
Howto OA-AD-002: Anomaly Detection using Local Outlier Factor
3-
======================================================
2+
Howto OA-AD-002: Anomaly Detection using a One Class SVM (2D)
3+
=============================================================
44

55
**Executable code**
66

7-
.. literalinclude:: ../../../../../test/howtos/oa/howto_oa_ad_002_anomalydetector_lof.py
7+
.. literalinclude:: ../../../../../test/howtos/oa/howto_oa_ad_002_oneclasssvm_pa_2d.py
88
:language: python
99

1010

1111

1212
**Results**
1313

1414
.. image::
15-
images/howto_oa_ad_002_anomalydetector_lof.png
16-
:width: 1000px
15+
images/howto_oa_ad_002_oneclasssvm_pa_2d.png
16+
:width: 600px
1717

1818

1919

doc/rtd/content/01_example_pool/02_howtos_anomaly_detectors/howto_oa_ad_003_anomalydetector_if.rst doc/rtd/content/01_example_pool/02_howtos_anomaly_detectors/howto_oa_ad_003_oneclasssvm_pa_3d.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
.. _Howto_OA_AD_003:
2-
Howto OA-AD-003: Anomaly Detection using Isolation Forest
3-
================================================================
2+
Howto OA-AD-003: Anomaly Detection using a One Class SVM (3D)
3+
=============================================================
44

55
**Executable code**
66

7-
.. literalinclude:: ../../../../../test/howtos/oa/howto_oa_ad_003_anomalydetector_if.py
7+
.. literalinclude:: ../../../../../test/howtos/oa/howto_oa_ad_003_oneclasssvm_pa_3d.py
88
:language: python
99

1010

1111

1212
**Results**
1313

1414
.. image::
15-
images/howto_oa_ad_003_anomalydetector_if.png
16-
:width: 1000px
15+
images/howto_oa_ad_003_oneclasssvm_pa_3d.png
16+
:width: 600px
1717

1818

1919

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.. _Howto_OA_AD_004:
2+
Howto OA-AD-004: Anomaly Detection using a One Class SVM (nD)
3+
=============================================================
4+
5+
**Executable code**
6+
7+
.. literalinclude:: ../../../../../test/howtos/oa/howto_oa_ad_004_oneclasssvm_pa_nd.py
8+
:language: python
9+
10+
11+
12+
**Results**
13+
14+
.. image::
15+
images/howto_oa_ad_004_oneclasssvm_pa_nd.png
16+
:width: 600px
17+
18+
19+
20+
**Cross Reference**
21+
- :ref:`API Reference: Wrappers for scikit-learn Anomaly Detectors <api_ad>`
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.. _Howto_OA_AD_005:
2+
Howto OA-AD-005: Extended Anomaly Detection using a One Class SVM (1D)
3+
=============================================================
4+
5+
**Executable code**
6+
7+
.. literalinclude:: ../../../../../test/howtos/oa/howto_oa_ad_005_oneclasssvm_paga_1d.py
8+
:language: python
9+
10+
11+
12+
**Results**
13+
14+
.. image::
15+
images/howto_oa_ad_005_oneclasssvm_paga_1d.png
16+
:width: 600px
17+
18+
19+
20+
**Cross Reference**
21+
- :ref:`API Reference: Wrappers for scikit-learn Anomaly Detectors <api_ad>`
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.. _Howto_OA_AD_021:
2+
Howto OA-AD-021: Anomaly Detection using Local Outlier Factor (1D)
3+
==================================================================
4+
5+
**Executable code**
6+
7+
.. literalinclude:: ../../../../../test/howtos/oa/howto_oa_ad_021_lof_pa_1d.py
8+
:language: python
9+
10+
11+
12+
**Results**
13+
14+
.. image::
15+
images/howto_oa_ad_021_lof_pa_1d.png
16+
:width: 600px
17+
18+
19+
20+
**Cross Reference**
21+
- :ref:`API Reference: Wrappers for scikit-learn Anomaly Detectors <api_ad>`
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.. _Howto_OA_AD_022:
2+
Howto OA-AD-022: Anomaly Detection using Local Outlier Factor (2D)
3+
==================================================================
4+
5+
**Executable code**
6+
7+
.. literalinclude:: ../../../../../test/howtos/oa/howto_oa_ad_022_lof_pa_2d.py
8+
:language: python
9+
10+
11+
12+
**Results**
13+
14+
.. image::
15+
images/howto_oa_ad_022_lof_pa_2d.png
16+
:width: 600px
17+
18+
19+
20+
**Cross Reference**
21+
- :ref:`API Reference: Wrappers for scikit-learn Anomaly Detectors <api_ad>`
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.. _Howto_OA_AD_023:
2+
Howto OA-AD-023: Anomaly Detection using Local Outlier Factor (3D)
3+
==================================================================
4+
5+
**Executable code**
6+
7+
.. literalinclude:: ../../../../../test/howtos/oa/howto_oa_ad_023_lof_pa_3d.py
8+
:language: python
9+
10+
11+
12+
**Results**
13+
14+
.. image::
15+
images/howto_oa_ad_023_lof_pa_3d.png
16+
:width: 600px
17+
18+
19+
20+
**Cross Reference**
21+
- :ref:`API Reference: Wrappers for scikit-learn Anomaly Detectors <api_ad>`
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.. _Howto_OA_AD_024:
2+
Howto OA-AD-024: Anomaly Detection using Local Outlier Factor (nD)
3+
==================================================================
4+
5+
**Executable code**
6+
7+
.. literalinclude:: ../../../../../test/howtos/oa/howto_oa_ad_024_lof_pa_nd.py
8+
:language: python
9+
10+
11+
12+
**Results**
13+
14+
.. image::
15+
images/howto_oa_ad_024_lof_pa_nd.png
16+
:width: 600px
17+
18+
19+
20+
**Cross Reference**
21+
- :ref:`API Reference: Wrappers for scikit-learn Anomaly Detectors <api_ad>`
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.. _Howto_OA_AD_041:
2+
Howto OA-AD-041: Anomaly Detection using Isolation Forest (1D)
3+
==================================================================
4+
5+
**Executable code**
6+
7+
.. literalinclude:: ../../../../../test/howtos/oa/howto_oa_ad_041_if_pa_1d.py
8+
:language: python
9+
10+
11+
12+
**Results**
13+
14+
.. image::
15+
images/howto_oa_ad_041_if_pa_1d.png
16+
:width: 600px
17+
18+
19+
20+
**Cross Reference**
21+
- :ref:`API Reference: Wrappers for scikit-learn Anomaly Detectors <api_ad>`
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.. _Howto_OA_AD_042:
2+
Howto OA-AD-042: Anomaly Detection using Isolation Forest (2D)
3+
==================================================================
4+
5+
**Executable code**
6+
7+
.. literalinclude:: ../../../../../test/howtos/oa/howto_oa_ad_042_if_pa_2d.py
8+
:language: python
9+
10+
11+
12+
**Results**
13+
14+
.. image::
15+
images/howto_oa_ad_042_if_pa_2d.png
16+
:width: 600px
17+
18+
19+
20+
**Cross Reference**
21+
- :ref:`API Reference: Wrappers for scikit-learn Anomaly Detectors <api_ad>`
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.. _Howto_OA_AD_043:
2+
Howto OA-AD-043: Anomaly Detection using Isolation Forest (3D)
3+
==================================================================
4+
5+
**Executable code**
6+
7+
.. literalinclude:: ../../../../../test/howtos/oa/howto_oa_ad_043_if_pa_3d.py
8+
:language: python
9+
10+
11+
12+
**Results**
13+
14+
.. image::
15+
images/howto_oa_ad_043_if_pa_3d.png
16+
:width: 600px
17+
18+
19+
20+
**Cross Reference**
21+
- :ref:`API Reference: Wrappers for scikit-learn Anomaly Detectors <api_ad>`
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.. _Howto_OA_AD_044:
2+
Howto OA-AD-044: Anomaly Detection using Isolation Forest (nD)
3+
==================================================================
4+
5+
**Executable code**
6+
7+
.. literalinclude:: ../../../../../test/howtos/oa/howto_oa_ad_044_if_pa_nd.py
8+
:language: python
9+
10+
11+
12+
**Results**
13+
14+
.. image::
15+
images/howto_oa_ad_044_if_pa_nd.png
16+
:width: 600px
17+
18+
19+
20+
**Cross Reference**
21+
- :ref:`API Reference: Wrappers for scikit-learn Anomaly Detectors <api_ad>`

doc/rtd/content/02_api/03_anomaly_detection.rst doc/rtd/content/02_api/02_anomaly_detection.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Wrappers for scikit-learn Anomaly Detectors
66
:scale: 50%
77

88

9-
.. automodule:: mlpro_int_sklearn.wrappers.anomalydetectors
9+
.. automodule:: mlpro_int_sklearn.wrappers.anomalydetectors.basics
1010
:members:
1111
:undoc-members:
1212
:private-members:

doc/rtd/content/02_api/02_cluster_analysis.rst.off

-14
This file was deleted.

doc/rtd/content/02_api/images/.$MLPro-Int-scikit-learn-Anomaly_Detectors.drawio.bkp

-1
This file was deleted.

0 commit comments

Comments
 (0)