Skip to content

Keras implementation of: Fitted Learning: Models with Awareness of their Limits

License

Notifications You must be signed in to change notification settings

yhenon/fitted-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fitted-learning

This is a small Keras implementation of Fitted Learning: Models with Awareness of their Limits. It shows how to train a simple network that will over-generalize less than a more standard network.

The dataset consists of point coordinates (x,y) from circles of different radius,as show in the image below dataset

The parameter DOO can be changed to tune the degree of generalization of the network, with smaller DOO meaning more generalization. A DOO of 1 is equivalent to a standard NN with a softmax layer and crossentropy loss. The following images show how the space is classified by the NN for different values of DOO. The dataset is shown in white rather than the original colors for visibility.

Class 1 is blue, class 2 is green, class 3 is red. The black space shows regions where the probability is low for all classes.

DOO=1 (standard NN)

1

DOO=2

2

DOO=6

6

DOO=24

24

DOO=48

48

About

Keras implementation of: Fitted Learning: Models with Awareness of their Limits

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages