[WSG20] Daily Study Group: Biodiversity Explorations with Machine Learning

In this study group you’ll practice applying machine learning techniques using the Wolfram Language and data from the natural world. Topics include functions to access biodiversity data, examples of classification, text analysis in social media, audio processing of bird sounds and deploying a trained neural network image classifier to your mobile phone. Sessions run daily, Monday through Friday. Join any session 15 minutes early for help getting started. I will guide each session by sharing lessons, polling the group to review key concepts, introducing practice problems and answering questions. A certificate of program completion will be awarded to participants who attend online sessions and pass a quiz. Sign up: https://register.gotowebinar.com/register/5988979773822061838

6 Likes

Looking forward to it, @Jofre Espigule-Pons!

2 Likes

Hi Jamie,
I wasn’t able to attend today. Will you be posting the recording soon?
Sincerely,
Jay Morreale
Member
p-brane LLC

Other Biodiversity posts from Joffre:

Hi @Jay Morreale, the recording link was included in today’s email reminder. The link is: https://www.gotostage.com/channel/daily-study-group

2 Likes

Hello ,
Can you please post the Notebook, you showed in regards to the “Tick” example. I want to try to correlate its population growth with weather such as rainfall… I am interested in the central WI area..

Thanks
Andrew

The following sections are the ones related to tick species. If you are interested in getting tick observations from central Wisconsin only. I recommend you using ResourceFunction[“INaturalistSearch”] (see the next last example)

Thanks very much,
Andrew

You showed the histogram data, but during the class you increased the resolution for the month of May. I don’ recall how you did that? Did you change “Month” to “Day” in the Histogram plot?

Thanks
Andrew

Note: At the “Predict” section from today’s session there was an issue for those running 12.1 version or earlier. You will need to change a bit the code. Use to the following:

pm = PredictorMeasurements[p, testing -> "Rings"]

Instead of using the 12.2 version code:

pm = PredictorMeasurements[p, testing]

Thank you, Neil for catching this issue.

Yes, if you change “Month” to “Day” you will get daily observations on DateHistogram.

Thanks,
Andrew

Probably you are already aware of WeatherData function. You can use it to get rainfall info:

DateListPlot[
 WeatherData[
  Entity["AdministrativeDivision", {"Wisconsin", "UnitedStates"}][
   "Coordinates"], 
  "TotalPrecipitation", {{2018, 1, 1}, {2022, 12, 1}, "Month"}], 
 Joined -> True]

Thank you very much, this is very helpful!!
Andrew Skipor

At the end of the Day 2 challenge example Jofre provided, the syntax
trained[“TrainedNet”][image]
would not execute, but if I used
c[image]
it works as expected. Is there some code missing (i.e., I didn’t see trained[] defined)?

Also, is there a shortcut for ResourceFunction[“iNaturalistSearch”] that will create the iconized form on the fly like Ctrl + Enter for entities?

Thanks for pointing to this syntax error. I edited the code. Concerning the shortcut for ResourceFunction, I’m not aware of any trick. It would be nice to have one though.

I’m trying to expand on the anole example, but apparently iNaturalistSearch is limited to a maximum of 200 observations, even though 3046 observations for the brown anole were counted for Houston. I’m unable to use the Page and MaxItems options to automate the extraction (although I can brute force it by manually extracting 200 observations at a time into separate variables and then using Join. I also tried to extract 3 different species using the Or (“|”) operator, but that did not work. My goal is to visually show the displacement of the green anole by the brown anole over the last 20 years in Houston.

In Jofre’s stink bug example, he used a SemanticImport of a *.csv file, but I’m not sure of its source.

In my meandering around the web, I became aware of another invasive lizard that’s beginning to get noticed in Texas, the Argentine tegus - they’re the size of a dog and grow to about 4 feet long. Oh, and BTW, they’re voracious omnivores!

1 Like