r.learn.ml2 - train-test-split and access to all scikit-learn parameters? #1859
-
I started to test But I'm wondering how to do a train-test split and if there is a way to define values for all parameters that can be used in scikit-learn (for example, thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi Carlos, Right now, the r.learn.ml2 provides only the most commonly used hyper parameters for each model type - simplified for GUI users. If you are wanting to perform a more detailed data science workflow, I would suggest that you import the modules directly within the python script. There is some information https://stevenpawley.github.io/r.learn.ml2/python_quickstart.html relating to this. However, I'm not doing much work on r.learn.ml2 at the moment. You may find my python package https://pyspatialml.readthedocs.io/en/latest/ more useful in this respect, which has seen a reasonable uptake in terms of applying ML models to spatial data, in a similar style to 'raster' in R. Steve |
Beta Was this translation helpful? Give feedback.
Hi Carlos,
Right now, the r.learn.ml2 provides only the most commonly used hyper parameters for each model type - simplified for GUI users. If you are wanting to perform a more detailed data science workflow, I would suggest that you import the modules directly within the python script. There is some information https://stevenpawley.github.io/r.learn.ml2/python_quickstart.html relating to this.
However, I'm not doing much work on r.learn.ml2 at the moment. You may find my python package https://pyspatialml.readthedocs.io/en/latest/ more useful in this respect, which has seen a reasonable uptake in terms of applying ML models to spatial data, in a similar style to 'raster' in R.
Steve