GithubHelp home page GithubHelp logo

ann-selection-and-evaluation's Introduction

ANN-selection-and-evaluation

The code accompanies the manuscript: Characterizing Evaporation Ducts Within the Marine Atmospheric Boundary Layer Using Artificial Neural Networks. Hilarie Sit and Christopher Earls.

This repository contains data, code and results for ANN model selection and model evaluation. Implementation using Tensorflow in Python.

Perform model selection

Model selection is performed by grid search over the restricted hyperparameter space. To run the model selection code, specify name of csv data file and number of epochs for cases 1-3:

python model_selection_grid.py --csv case1 --n_epochs 1000

For cases 4-6, include the noise tag and specify number of augmented examples per training example (defaults shown)

python model_selection_grid.py --csv case1 --n_epochs 1000 --noise --n_aug 100

Perform model evaluation

To run the model evaluation code, specify name of csv data file and hyperparameters corresponding to the selected model. Again, add noise and specify n_aug for cases 4-6.

python eval_neuralnetwork.py --csv case1 --n_epochs 1000 --n1 100 --bs 16 --lr 1e-4

Results

All results from manuscript are included in the ANN_selection_results and ANN_evaluation_results folders.

To view loss and accuracy graphs, run tensorboard pointing to the correct log directory:

cd results
tensorboard --logdir=modelselectioncase1/logs

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.