Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2.0.0 #583

Merged
merged 16 commits into from
Jun 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,6 @@ v<1.1.2>, <11/17/2023> -- Fix the issue of contamination.
v<1.1.2>, <11/17/2023> -- KPCA bug fix (#494).
v<1.1.3>, <02/07/2024> -- Minor fix for SUOD changes.
v<1.1.4>, <02/09/2024> -- Drop support of six for Python 2.
v<1.1.4>, <03/16/2024> -- Fix documentation and temporarily restrict to Keras 2 in testing.
v<1.1.4>, <03/16/2024> -- Fix documentation and temporarily restrict to Keras 2 in testing.
v<2.0.0>, <05/21/2024> -- Moving from TF to Torch -- reimplement SO_GAAL.
v<2.0.0>, <05/21/2024> -- Moving from TF to Torch -- implement dl base with more utilities.
24 changes: 13 additions & 11 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,55 +3,57 @@ Python Outlier Detection (PyOD)

**Deployment & Documentation & Stats & License**

.. image:: https://img.shields.io/pypi/v/pyod.svg?color=brightgreen
|badge_pypi| |badge_anaconda| |badge_docs| |badge_stars| |badge_forks| |badge_downloads| |badge_testing| |badge_coverage| |badge_maintainability| |badge_licence| |badge_benchmark|

.. |badge_pypi| image:: https://img.shields.io/pypi/v/pyod.svg?color=brightgreen
:target: https://pypi.org/project/pyod/
:alt: PyPI version


.. image:: https://anaconda.org/conda-forge/pyod/badges/version.svg
.. |badge_anaconda| image:: https://anaconda.org/conda-forge/pyod/badges/version.svg
:target: https://anaconda.org/conda-forge/pyod
:alt: Anaconda version


.. image:: https://readthedocs.org/projects/pyod/badge/?version=latest
.. |badge_docs| image:: https://readthedocs.org/projects/pyod/badge/?version=latest
:target: https://pyod.readthedocs.io/en/latest/?badge=latest
:alt: Documentation status


.. image:: https://img.shields.io/github/stars/yzhao062/pyod.svg
.. |badge_stars| image:: https://img.shields.io/github/stars/yzhao062/pyod.svg
:target: https://github.com/yzhao062/pyod/stargazers
:alt: GitHub stars


.. image:: https://img.shields.io/github/forks/yzhao062/pyod.svg?color=blue
.. |badge_forks| image:: https://img.shields.io/github/forks/yzhao062/pyod.svg?color=blue
:target: https://github.com/yzhao062/pyod/network
:alt: GitHub forks


.. image:: https://pepy.tech/badge/pyod
.. |badge_downloads| image:: https://pepy.tech/badge/pyod
:target: https://pepy.tech/project/pyod
:alt: Downloads

.. image:: https://github.com/yzhao062/pyod/actions/workflows/testing.yml/badge.svg
.. |badge_testing| image:: https://github.com/yzhao062/pyod/actions/workflows/testing.yml/badge.svg
:target: https://github.com/yzhao062/pyod/actions/workflows/testing.yml
:alt: testing


.. image:: https://coveralls.io/repos/github/yzhao062/pyod/badge.svg
.. |badge_coverage| image:: https://coveralls.io/repos/github/yzhao062/pyod/badge.svg
:target: https://coveralls.io/github/yzhao062/pyod
:alt: Coverage Status


.. image:: https://api.codeclimate.com/v1/badges/bdc3d8d0454274c753c4/maintainability
.. |badge_maintainability| image:: https://api.codeclimate.com/v1/badges/bdc3d8d0454274c753c4/maintainability
:target: https://codeclimate.com/github/yzhao062/Pyod/maintainability
:alt: Maintainability


.. image:: https://img.shields.io/github/license/yzhao062/pyod.svg
.. |badge_license| image:: https://img.shields.io/github/license/yzhao062/pyod.svg
:target: https://github.com/yzhao062/pyod/blob/master/LICENSE
:alt: License

.. image:: https://img.shields.io/badge/ADBench-benchmark_results-pink
.. |badge_benchmark| image:: https://img.shields.io/badge/ADBench-benchmark_results-pink
:target: https://github.com/Minqi824/ADBench
:alt: Benchmark

Expand Down
6 changes: 1 addition & 5 deletions examples/cd_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
contamination=contamination,
random_state=42)

# train HBOS detector
# train Cook's distance outlier detector
clf_name = 'CD'
clf = CD()
clf.fit(X_train)
Expand All @@ -51,7 +51,3 @@
evaluate_print(clf_name, y_train, y_train_scores)
print("\nOn Test Data:")
evaluate_print(clf_name, y_test, y_test_scores)

# visualize the results
visualize(clf_name, X_train, y_train, X_test, y_test, y_train_pred,
y_test_pred, show_figure=True, save_figure=False)
Loading
Loading