Hej, b臋d臋 wrzuca艂 do tego w膮tku wo艂ania o pomoc, bo tak jest du偶o wygodniej ni偶 zawala膰 tablic臋 g艂贸wn膮 ![]()
*Tagi*: `Data Science`, `Machine Learning`, `walidacja krzy偶owa`, `Statystyka`
** [Kriging] Cross-validation functionality #333 **
https://github.com/DataverseLabs/pyinterpolate/issues/333
**Is your feature request related to a problem? Please describe.**
Model output must be validated.
**Describe the solution you'd like**
Build a cross-validation function in a new `validation` module that takes:
a) semivariogram model,
b) data points,
c) Kriging parameters.
Procedure:
- remove one sample from a dataset
- use other samples to predict this value
- calculate the difference between real (dropped out) and estimated value:
$$err = y - y'$$
- average results, result close to 0 indicates an unbiased model,
- get the variance of errors and divide it by the variance of Kriging estimates, a result close to 1 indicates that a model fits the data correctly.
**Literature**:
http://www.kriging.com/publications/APCOM1986.htm