Skip to content

Data visualizations to quantify and explore the relationship between coffee rust, production and futures.

Notifications You must be signed in to change notification settings

thedatalass/CoffeeRust

Repository files navigation

CoffeeRust

Your Morning Joe: A Quantitative Framework for Coffee Rust, Production and Futures (December 2017)

Abstract: The livelihood of 120 million people depends on the coffee supply chain. Coffee rust leads to production losses of over $500 million worldwide and may affect futures prices. Coffee rust is caused by the coffee berry borer at temperatures from 10-30°C, and is one of the main diseases that attacks the coffee plant. Coffee is the second largest traded commodity worldwide, with about $100 billion in volume traded annually. This research offers a more quantitative framework for describing and visualizing the relationship between coffee rust, amount of coffee produced and futures prices.

Data: Original project had 323 observations for Brasil, Colombia and New Caledonia from 1995-1996, 2002-2005 and 2006 with five features: rain, temperature, rust, production amount and futures prices.

"new.xlsx"

Results: Various visualization techniques were used to establish a quantitative framework for the relationship between coffee rust, production amounts and futures prices. As rust increases, production increases. The slope for Production is 10.02 and the normalized root mean square error is 0.012. If production increases, future prices increase. The slope for Futures is -0.071 and the normalized root mean square error is 0.309. A polynomial regression shows the relationship between rust and futures being positive. The slope for Temperature is -0.006 and the normalized root mean square error is 12.184.

See More at http:https://thedatalass.com/morning-joe-viz-project.

Conference Submission: Talk submission for PyCon 2019 - not accepted


November 2018 Update

Predicting Coffee Rust with Artificial Neural Networks

Four new datasets found in 2018 changed scope of original 2017 project

Problem: Predict future weekly rust % amounts at the country-level in Brasil using machine learning techniques with temperature, rain, production and futures variables.

Data : New curated dataset has 1578 weekly Observations (5 times original dataset) for Brasil from January 1, 1991-July 30, 2018. Input features are temperature, rain, production and futures. Target output is rust (by week in % of coverage on coffee plant).

"brasil_imputed.csv"

Preliminary Results : Multi-layer perceptron with 6 neurons and 5 layers has MSE of 47.69 (Logistic regression baseline MSE is 6619.78.)

Conference Submission: Poster presented at SciPy Conference 2019


November 2019 Update

Brazilian Coffee Leaf Disease Predictions with Explainable Artificial Intelligence (XAI) -manuscript submitted to the Computers and Electronic in Agriculture Journal

Problem: Can a explainable artificial intelligence (XAI) method such as LIME be used to increase trust in predicted weekly coffee rust amounts to augment human decision-making?

Data : New curated dataset has 1578 weekly Observations (5 times original dataset) for Minais Geras growing region of Brasil from January 1, 1991-July 30, 2018. Input features are temperature, rain, production and futures. Target output is rust (by week in % of coverage on coffee plant).

Results: LIME MSE Decision Tree Regressor = 2.23 "brasil_imputed.csv"

About

Data visualizations to quantify and explore the relationship between coffee rust, production and futures.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published