GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - danielstaps/SupervisedVectorQuantizationOCC: SVQ-OCC: prototype-based one-class classifier using local representations.

BranchesTags
Open more actions menu

Latest commit

 

History

21 Commits
21 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
examples
examples
 
 
prototorch_oneclass
prototorch_oneclass
 
 
tests
tests
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
CITATION.cff
CITATION.cff
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pytest.ini
pytest.ini
 
 
requirements.txt
requirements.txt
 
 
ruff.toml
ruff.toml
 
 
setup.py
setup.py
 
 

Repository files navigation

prototorch_oneclass — Supervised Vector Quantization One-Class Classifier (SVQ-OCC)

Paper DOI

Reference / maintained implementation of the SVQ-OCC model from:

D. Staps, R. Schubert, M. Kaden, A. Lampe, W. Hermann, T. Villmann, "Prototype-based one-class-classification learning using local representations", 2022 International Joint Conference on Neural Networks (IJCNN), IEEE, 2022, pp. 1–8. DOI: 10.1109/IJCNN55064.2022.9892912

What this is

SVQ-OCC is a prototype-based one-class classifier for outlier / novelty detection built in the spirit of Generalized Learning Vector Quantization (GLVQ). Each prototype acts as the center of a flexible enclosing ball; the centers are learned from the data density and the per-ball radius is adapted via the local underlying distribution, optimized end-to-end by stochastic gradient descent. The "local representations" give an interpretable decision boundary (a point is an outlier if it falls outside every ball).

Implemented as the Python package prototorch_oneclass, built on prototorch.

Models & options

  • Models: OneClassGLVQ, OneClassGMLVQ, SVQ_OCC (Euclidean and kernelized variants).
  • Classification costs: brier, pcs, ce. Representation cost: neural-gas (NG).
  • Key parameter: K (number of prototypes/balls).

Install & run

pip install -e .        # or: pip install -r requirements.txt
python3 examples/...    # see examples/ for runnable scripts

Branches (see repo-cleanup convention)

Branch / tag Meaning
published / v-paper-2022b frozen as-published state (IJCNN 2022 submission-deadline commit, grafted from the original si-cim/SVQ-OCC history)
published-refactored paper code cleaned only, function verified identical to published
main maintained best state (post-paper fixes: GPU support, bug fixes)

This repository is the canonical, self-contained home of prototorch_oneclass; it no longer depends on private si-cim research repositories. It is also the package used as the SVQ-OCC baseline by the K-MEB work (companion experiments repo, kept private).

How to cite

See CITATION.cff and cite the paper above.

BibTeX:

@inproceedings{staps2022svqocc,
  title        = {Prototype-based one-class-classification learning using local representations},
  author       = {Staps, Daniel and Schubert, Ronny and Kaden, Marika and Lampe, Alexander and Hermann, Wieland and Villmann, Thomas},
  booktitle    = {2022 International Joint Conference on Neural Networks (IJCNN)},
  pages        = {1--8}, year = {2022}, organization = {IEEE},
  doi          = {10.1109/IJCNN55064.2022.9892912}
}

Acknowledgment

By Daniel Staps (0009-0002-4459-4544) with R. Schubert, M. Kaden, A. Lampe, W. Hermann and Thomas Villmann (0000-0001-6725-0141). Repository cleanup with assistance from Claude (Anthropic).

License

MIT — see LICENSE.

About

SVQ-OCC: prototype-based one-class classifier using local representations.

Topics

interpretable-mllearning-vector-quantizationone-class-classificationoutlier-detectionprototorchprototype-based

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.