Skip to content

baofff/stability_ho

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stability and Generalization of Bilevel Programming in Hyperparameter Optimization

Codes for Stability and Generalization of Bilevel Programming in Hyperparameter Optimization.

Requirements

The codes are implemented on

  • Python=3.7
  • PyTorch=1.4.0

Run codes

python fl_omniglot.py  # run feature learning experiments
python rw_mnist.py  # run data reweighting experiments

The experiment to run is controlled by the tag variable in the above *.py files. For instance,

  • tag = ablo_K will run the UD algorithm with different K
  • tag = rs_K will run the random search algorithm with different K
  • tag = wdh will run the UD algorithm with different weight decay in the outer level
  • tag = wdl will run the UD algorithm with different weight decay in the inner level

You can also specify other settings by modify the args variable in the above *.py files.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages