UUlearning
Code for the paper "On the Minimal Supervision for Training Any Binary Classifier from Only Unlabeled Data".
Install / Use
/learn @lunanbit/UUlearningREADME
Keras implementation of UU learning
This is a reproducing code for the ICLR'19 paper: On the Minimal Supervision for Training Any Binary Classifier from Only Unlabeled Data.
-
loss.pyhas a keras implementation of the risk estimator for UU learning (see Eq.(10) in the paper) and its simplified version (see Eq.(12) in the paper). -
experiment.pyis an example code of UU learning.
Datasets are MNIST preprocessed in such a way that even digits form the P class and odd digits form the N class, and CIFAR10 preprocessed in such a way that the P class is composed of 'bird', 'cat', 'deer', 'dog', 'frog' and 'horse'; the N class is composed of 'airplane', 'automobile', 'ship' and 'truck'.
Requirements
- Python 3
- Numpy 1.14.1
- Keras 2.1.4
- Tensoflow 1.8.0
- Scipy 1.0.0
- Matplotlib 2.1.2
Quick start
You can run an example code of UU learning on benchmark datasets (MNIST, CIFAR-10).
python experiment.py --dataset mnist --mode UU
You can see additional information by adding --help.
Result
After running experiment.py, the test performance figure and log file are made in output/dataset/ by default.
The errors are measured by zero-one loss.
Contact: Nan Lu (lu@ms.k.u-tokyo.ac.jp).
Related Skills
proje
Interactive vocabulary learning platform with smart flashcards and spaced repetition for effective language acquisition.
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
last30days-skill
17.5kAI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
sec-edgar-agentkit
10AI agent toolkit for accessing and analyzing SEC EDGAR filing data. Build intelligent agents with LangChain, MCP-use, Gradio, Dify, and smolagents to analyze financial statements, insider trading, and company filings.
