Code Monkey home page Code Monkey logo

coastal-forecast's Introduction

Coastal-Forecast

Web-based application to host a trained coastal forecast machine learning model.

Setup and Starting of Virtual Environment

TensorFlow

Anaconda makes it easy to install TensorFlow, enabling data science, machine learning, and artificial intelligence workflows. TensorFlow with conda is supported on 64-bit Windows 7 or later, 64-bit Ubuntu Linux 14.04 or later, 64-bit CentOS Linux 6 or later, and macOS 10.10 or later.

Installing TensorFlow

  1. Download and install Anaconda or Miniconda.
  2. On Windows open the Start menu and open an Anaconda Command Prompt. On macOS or Linux open a terminal window. Use the default bash shell on macOS or Linux.
  3. Choose a name for your TensorFlow environment, such as "tf".
  4. To install the current release of CPU-only TensorFlow, recommended for beginners:

conda create -n tf tensorflow

conda activate tf

  • Or, to install the current release of GPU TensorFlow on Linux or Windows:

conda create -n tf-gpu tensorflow-gpu

conda activate tf-gpu

  • TensorFlow is now installed and ready to use.

The environment will be activated, and you should see the environment variable in place of "base", i.e.:

  • (tf) C:\Users\...>

For using TensorFlow with a GPU, refer to the TensorFlow documentation on the topic, specifically the section on device placement.

Creating conda environment with YAML file:

conda env create -f environment.yml

conda activate "environment name"

Creating pure Python virtual environment with requirements.txt file (non conda environment):

pip install -r requirements.txt

(Windows): env\scripts\activate.bat

(Linux or MacOS): source env/bin/activate

For MacOSX M1, refer to this video by Jeff Heaton.

Starting/Running the Server

  • Running run.py will activate the Flask server
  • Follow the link provided by IDE, terminal/console, or copy and paste the line below into your browser.
    โ€‚127.0.0.1:5000

coastal-forecast's People

Contributors

amdavison avatar

Watchers

 avatar  avatar

coastal-forecast's Issues

Scheduler

Implement scheduler to call get_predictions method to call every 6-hours.

Estimate of hours of work: 5

unittests

Implement unittests for project.

Estimate of hours of work: 5

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.