GithubHelp home page GithubHelp logo

swineologist / dairy-analytics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from odow/dairy-analytics

0.0 0.0 0.0 14.91 MB

Home Page: http://dairyanalytics.co.nz

License: Other

Shell 1.44% Python 98.56%

dairy-analytics's Introduction

Dairy Analytics

This repository contains all of the code and data used to build and run dairyanalytics.co.nz.

About

The goal of the model is to provide a probabilistic forecast of the Fonterra farmgate milk price.

The model

The model is implemented as a single Python script. This repository is intentionally "bare-bones," and it does not contain tests or validation data.

  • Source code for the model is available in the src/model.py file
  • Outputs are published in the /docs directory
  • Raw and partially processed data is stored in the /data directory

We will not be documenting the underlying mathematics of the model. Consult the source code for details.

Astute readers may find that the underlying model is surprisingly basic. We have attempted to improve the model over the years, but in our experience the publicly available data sources do not contain useful predictors.

Two key areas of improvement to consider are:

  1. A way to estimate Fonterra's USD:NZD exchange rate
  2. A way to estimmate Fonterra's capital and processing costs

Currently, these two fields are set using expert judgement in the docs/config.json file.

To use a different config file, set the DAIRY_ANALYTICS_CONFIG environment variable.

License

The source code in this repository is available under the MPL-2.0 license.

At a high level, this means you are free to use the code in commercial and non-commercial products. However, if you modify the source code of these files and then distribute them to a third-party, then you must make the new source code available under the MPL-2.0 license.

Contact

For comments, criticisms, and suggestions, please open a GitHub issue.

dairy-analytics's People

Contributors

odow avatar

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.