Browse Source

Bump version to 0.2.1

master simplerspec_v0.2.1
Philipp Baumann 7 months ago
parent
commit
60e120130c
  1. 4
      DESCRIPTION
  2. 15
      NEWS.md

4
DESCRIPTION

@ -1,7 +1,7 @@
Type: Package
Package: simplerspec
Version: 0.2.0
Date: 2023-09-10
Version: 0.2.1
Date: 2023-09-27
Title: Soil and plant spectroscopic model building and prediction
Description: Functions that cover
reading of spectral data, outlier removal,

15
NEWS.md

@ -1,5 +1,20 @@
<!-- NEWS.md is maintained by https://cynkra.github.io/fledge, do not edit -->
# simplerspec 0.2.1
- `fit_pls()`: Fixed the join of predicted vs. measured values when choosing
evaluation with cross-validation; now predictions and model evaluation
statistics are reported at best `ncomp`. Instead of an `dplyr::inner_join()`,
all cross-validated predictions were done with `dplyr::anti_join()`,
specifically when using `evaluation_method == "resampling"` together with
`tuning_method == "resampling"`. This resulted in predictions incorrectly
being aggregated for all tested but not best ncomp (calculated in caret).
Thus, also the cross-validation metrics were not correctly reported what
should have been the case at optimal `ncomp` derived based on resampling and
model tuning. The fix now correctly does an inner join, so that only the
values at best `ncomp` are extracted and used for the evaluation statistics.
This is also shown on the resulting plot outputs.
# simplerspec 0.2.0
- Add new example data set `soilspec_yamsys`.

Loading…
Cancel
Save