April 24, 2024, 5:14 p.m. | /u/dr_greg_mouse

Machine Learning www.reddit.com

Hello, I am trying to model nitrate concentrations in the streams in Bavaria in Germany using Random Forest model. I am using Python and primarily sklearn for the same. I have data from 490 water quality stations. I am following the methodology in the paper from LongzhuQ.Shen et al which can be found here: [https://www.nature.com/articles/s41597-020-0478-7](https://www.nature.com/articles/s41597-020-0478-7)

I want to split my dataset into training and testing set such that the spatial distribution of data in both sets is identical. The idea …

data dataset distribution machinelearning risk set spatial split testing training

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne