Code Monkey home page Code Monkey logo

peak-bloom-prediction's Introduction

Cherry Blossom Peak Bloom Prediction

This is the official template repository for George Mason’s Department of Statistics cherry blossom peak bloom prediction competition.

This repository contains cleaned and ready-to-use data on peak bloom dates in the data/ folder, alongside a demo prediction analysis report (demo_analysis.qmd). The demo analysis demonstrates how to load the provided data sets, plot the observed time series, and uses a very simple linear regression model to predict the peak bloom dates for the next year as well as estimate prediction intervals. The demo analysis requires a working installation of R and (version ≥ 4.3 strongly suggested), an installation of quarto (e.g., as part of the RStudio IDE), as well as the tidyverse suite of packages.

The rendered demo analysis is available at https://competition.statistics.gmu.edu/demo_analysis.html.

Getting started

To start competing, you need to download the contents of this repository to your computer. You can do so by either

a. forking this repository to your GitHub account, b. downloading the ZIP folder

c. cloning the repository to your local computer.

If you choose options b. or c., you need to set up another publicly accessible GitHub repository (or on another hosting provider like GitLab, Bitbucket, etc.). To submit your entry for the competition, all your code and data must be accessible in a public Git repository!

Below we provide the steps for forking this repository to your GitHub account and cloning the forked repository to your local computer.

Prerequisites

Before you fork or clone the repository, you would need to set up Git on your system. There are many excellent tutorials available online on how to set up Git. The GitHub specific instructions can be found at https://docs.github.com/en/get-started/quickstart/set-up-git.

For forking, you would also need to sign up for a GitHub account.

Forking the repository

To fork this repository, locate the Fork button at the top right of the page:

Fork button at the top-right of the repository

This will copy the repository to your GitHub account under the name peak-bloom-prediction.

Next you need to clone the repository to your local computer. Navigate to your fork of the repository on github.com. The steps are the same as outlined below for cloning the repository, but the location of the respository will be different.

More detailed instructions on how to fork a repository can be found under https://docs.github.com/en/get-started/quickstart/fork-a-repo.

Cloning the repository

Whether you choose to clone this read-only repository or the forked repository under your account, you can follow these instructions to clone the repository to your local computer.

  1. Above the file list of the repository on GitHub.com, locate the Code button:

Clone button at the top of the file list

  1. This will open a small dialog with the URLs to clone the repository. Copy the URL to the Git command line interface or your favorite Git client.

Clone dialog with URLs for cloning

  1. If you use a Git client, follow it's instructions on how to clone a remote repository. If you use the Git command line interface, open a terminal or command line window.
  2. Navigate to the folder/location where you want the cloned repository.
  3. Use the git clone command in combination with the URL from step 2. If you use the original repository (not a fork), you would use the following command:
$ git clone https://github.com/GMU-CherryBlossomCompetition/peak-bloom-prediction.git
  1. Press Enter. You will see something like
#> Cloning into 'peak-bloom-prediction'...
#> remote: Enumerating objects: 10, done.
#> remote: Counting objects: 100% (10/10), done.
#> remote: Compressing objects: 100% (8/8), done.
#> remote: Total 10 (delta 0), reused 10 (delta 0), pack-reused 0
#> Receiving objects: 100% (10/10), 10.00 KiB | 5.00 MiB/s, done.

Now you have the repository cloned to your local computer and you can start coding away!

Note: this GitHub repository is read-only and if you clone it to your local computer you can make changes only on your local computer. You will not be able to push your changes to this GitHub repository. To enter the competition, you must make your repository publicly accessible!

Competition rules

To enter the competition you must submit your predictions and the URL pointing to your repository via https://competition.statistics.gmu.edu.

Entries must be submitted by the end of February 28, 2024 (anywhere on earth). If it's February anywhere on earth, your submission will be considered.

The predictions are judged based on the sum of the absolute differences between your predicted peak bloom dates and the publicly posted peak bloom dates:

| predicted_bloom_date_kyoto_2024 - actual_bloom_date_kyoto_2024 | +
  | predicted_bloom_date_washingtondc_2024 - actual_bloom_date_washingtondc_2024 | +
  | predicted_bloom_date_liestal_2024 - actual_bloom_date_liestal_2024 | +
  | predicted_bloom_date_vancouver_2024 - actual_bloom_date_vancouver_2024 | +
  | predicted_bloom_date_newyorkcity_2024 - actual_bloom_date_newyorkcity_2024 |

The prediction intervals are evaluated based on how many out of the five intervals cover the actual bloom date. In the case of ties, the sum of the squared lengths of the intervals is used to break the ties.

The true bloom dates for 2024 are taken to be the dates reported by the following agencies/institutions:

  • Kyoto (Japan): a local news paper from Arashiyama as published at http://atmenv.envi.osakafu-u.ac.jp/aono/kyophenotemp4,
  • Washington, D.C. (USA): National Park Service,
  • Liestal-Weideli (Switzerland): MeteoSwiss,
  • Vancouver, BC (Canada): Vancouver Cherry Blossom Festival in collaboration with Douglas Justice, Associate Director, Curator of Collections, UBC Botanical Garden.
  • New York City, NY (USA): The Washington Square Park Eco Projects in collaboration with the Nature Lab.

The full competition rules are available under https://competition.statistics.gmu.edu.

License

CC-BYNCSA-4

Unless otherwise noted, the content in this repository is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

For the data sets in the data/ folder, please see data/README.md for the applicable copyrights and licenses.

peak-bloom-prediction's People

Contributors

jauerbach avatar dakep 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.