New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postmerge fixing Ecology chapter #776
Conversation
@@ -31,7 +31,7 @@ To do so, we will bring together concepts presented in previous chapters and eve | |||
Fog oases are one of the most fascinating vegetation formations we have ever encountered. | |||
These formations, locally termed *lomas*, develop on mountains along the coastal deserts of Peru and Chile.^[Similar vegetation formations develop also in other parts of the world, e.g., in Namibia and along the coasts of Yemen and Oman [@galletti_land_2016].] | |||
The deserts' extreme conditions and remoteness provide the habitat for a unique ecosystem, including species endemic to the fog oases. | |||
Despite the arid conditions and low levels of precipitation of around 30-50 mm per year on average, fog deposition increases the amount of water available to plants during austal winter. | |||
Despite the arid conditions and low levels of precipitation of around 30-50 mm per year on average, fog deposition increases the amount of water available to plants during austral winter. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 for typo fixes
15-eco.Rmd
Outdated
@@ -519,7 +519,7 @@ search_space = paradox::ps( | |||
Having defined the search space, we are all set for specifying our tuning via the `AutoTuner()` function. | |||
Since we deal with geographic data, we will again make use of spatial cross-validation to tune the hyperparameters\index{hyperparameter} (see Sections \@ref(intro-cv) and \@ref(spatial-cv-with-mlr)). | |||
Specifically, we will use a five-fold spatial partitioning with only one repetition (`rsmp()`). | |||
In each of these spatial partitions, we run 50 models (`trm()`) while using randomly selected hyperparameter configurations (`tnr`) within predefined limits (`seach_space`) to find the optimal hyperparameter\index{hyperparameter} combination. | |||
In each of these spatial partitions, we run 50 models (`trm()`) while using randomly selected hyperparameter configurations (`tnr()`) within predefined limits (`seach_space`) to find the optimal hyperparameter\index{hyperparameter} combination. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definite improvement, follow-on question, worth explaining in more detail what these functions are, I'm new to them and am not sure from this good but terse description.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, will reference the spatial-cv chapter as I have explained there in a little more detail how to construct an AutoTuner()
.
15-eco.Rmd
Outdated
@@ -562,12 +562,12 @@ saveRDS(at, "extdata/15-tune.rds") | |||
``` | |||
|
|||
```{r 15-eco-26, echo=FALSE, eval=FALSE} | |||
tune = readRDS("extdata/15-tune.rds") | |||
at = readRDS("extdata/15-tune.rds") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does at
stand for? Autotune? may be worth stating that somewhere or using a longer and more descriptive object name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, at
stands for AutoTuner and I guess this was more obvious while creating the object: https://github.com/Robinlovelace/geocompr/blob/672991f23a7115b77c8ee199bdf8353b84f289f0/15-eco.Rmd#L526-L538
Still, the name could be more descriptive, something like autotuner_rf
where rf stands for random forest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still, the name could be more descriptive, something like
autotuner_rf
where rf stands for random forest.
Agreed, I see now the tests are unrelated to your changes Jannes, so I suggest merging this now to keep the momentum. Many thanks!
Approved as some definite changes in there. Feel free to merge @jannes-m to keep the momentum going I think 'go fast and break things' is a reasonable attitude. The build seems to be failing with this message:
Source: https://github.com/Robinlovelace/geocompr/runs/6077814566?check_suite_focus=true#step:4:5548 |
give me a few minutes, then I will merge |
And yes, the momentum is only there because the baby is overdue -:) |
No description provided.