Build a Fungus Foraging App with Machine Learning

Build a Fungus Foraging App with Machine Learning

As the 2019 mushroom foraging season approaches it’s timely to combine my thirst for knowledge about low level machine learning (ML) with a popular pastime that we enjoy here where I live. Just for the record, I’m not an expert on ML, and I’m simply inviting readers to follow me back down some rabbit holes that I recently explored.


But mushrooms, I do know a little bit about, so firstly, a bit about health and safety:


The app created should be used with extreme caution and results always confirmed by a fungus expert.
Always test the fungus by initially only eating a very small piece and waiting for several hours to check there is no ill effect.
Always wear gloves  – It’s surprisingly easy to absorb toxins through fingers.

Since this is very much an introduction to ML, there won’t be too much terminology and the emphasis will be on having fun rather than going on a deep dive. The system that I stumbled upon is called XGBoost (XGB). One of the XGB demos is for binary classification, and the data was drawn from The Audubon Society Field Guide to North American Mushrooms. Binary means that the app spits out a probability of ‘yes’ or ‘no’ and in this case it tends to give about 95% probability that a common edible mushroom (Agaricus campestris) is actually edible. 


The app asks the user 22 questions about their specimen and collates the data inputted as a series of letters ..

Support the originator by clicking the read the rest link below.