Skip to content

ldos-project/UNUM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python 3.9

NewDatasetCreator.py - Creating the dataest:

  • Specify policies in Lines 85/86 (out-of-distribution/in-distribution respectively).
  • Change list being iterated over in Line 90
  • Run the file to generate Datasets.

Dataclean.ipynb - Dataset cleaning:

  • Renormalize datasets to share a normalizer
  • Train Test split after shuffling.

runfile.py - Training the model

  • To train a model with unweighted MSE loss, uncomment Line 42, comment out everything after.
  • To traain with weighted MSE, specify weights as in Lines 44-47. Comment out 42, uncomment 44-48.
  • Use runner.sh to specify arguments and run the training script.

runlinear.py/runlinearmlp.py - Train baselines:

  • Re-use runner.sh to specify arguments and run training for linear baselines.

Plotter.ipynb - Visualization:

  • Specify list of models and test dataset, run inference and plot results.
  • Check per-feature performance using the cells under the heading 'Check Stats'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published