Skip to content

darkonhub/darkon-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

darkon-examples

Examples and use cases for darkon

Install python package

pip install darkon

darkon.Influence

mnist, cnn

Influence score calculation example It first trains CNN model for MNIST data, and calculate influence score to find most helpful and harmful training samples. Then, retrain the model after removing 100 most helpful training samples and 100 most harmful training samples, respectively.

cifar10, resnet

darkon.Gradcam

ImageNet, resnet

Sentence polarity dataset, Text sentiment classification by CNN