GithubHelp home page GithubHelp logo

Comments (4)

D-X-Y avatar D-X-Y commented on July 19, 2024

@610v4nn1
First of all, thanks for your interest.

If your project is based on Python, I would suggest you directly clone this repo (https://github.com/D-X-Y/NATS-Bench) and paste it into your project. The NATS-Bench has a minimal dependency: abc, bz2, pickle, numpy, and warning.

If you are interested in the data format, all the files are saved based on bz2/pickle, and you can use this function (https://github.com/D-X-Y/NATS-Bench/blob/main/nats_bench/api_utils.py#L89) it.
The loaded data in Python is usually a dict, where the key indicates the hyperparameters -- 12 or 90 or 200, and the value is all the information of a specific architecture trained with this hyperparameter. You can find more details at https://github.com/D-X-Y/NATS-Bench/blob/main/nats_bench/api_utils.py#L275.

Please let me know if you have any other questions!

from nats-bench.

610v4nn1 avatar 610v4nn1 commented on July 19, 2024

Thanks for the answer @D-X-Y

I managed to load and parse the dictionaries before, but I still have some problems interpreting the meaning of the keys.
I need to extract some simple informations:

  • value of each hyperparameter (e.g., number of layers, different type of operations)
  • value for each metric (e.g., accuracy) both on the validation set and on the test set when available. This also required to know at which epoch of training the measurement was made

I just want to get a simple CSV file with these info out of the complex dictionary format.

from nats-bench.

610v4nn1 avatar 610v4nn1 commented on July 19, 2024

Just to give you an idea, my format is pretty much like this

`
id, hp_lr, hp_max_dropout, hp_max_units, ...., metric_validation_f1_micro, metric_validation_accuracy, metric_test_f1_micro

1, 0.1, 0.25, 128, ...., 0.1, 0.4, 0.12
`

from nats-bench.

D-X-Y avatar D-X-Y commented on July 19, 2024

If so, a simple way could be to load NATS-Bench on your laptop and save the metrics that you are interested in to a CSV file; and finally, load this CSV in your software.

from nats-bench.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.