Applying a Model Quick Start: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy No edit summary |
imported>Scott No edit summary |
||
Line 4: | Line 4: | ||
[[Image:apply_model.013.png|right|500px|(Click to Enlarge)]]Congratulations! You have collected calibration data and gone through the exercise of building a model that meets your objectives. Now, you want to exert one of the most stringent tests - applying your model to new data. If you have just completed the model building process, all that needs to be done is to load some new data as validation data. Another scenario is that you have a model that has been built awhile ago, and you wish to apply it to some new data. | [[Image:apply_model.013.png|right|500px|(Click to Enlarge)]]Congratulations! You have collected calibration data and gone through the exercise of building a model that meets your objectives. Now, you want to exert one of the most stringent tests - applying your model to new data. If you have just completed the model building process, all that needs to be done is to load some new data as validation data. Another scenario is that you have a model that has been built awhile ago, and you wish to apply it to some new data. | ||
In this example, there are three variables in the workspace | In this example (using the included demonstration dataset "'''''nir_data'''''") , there are three variables in the workspace | ||
* ''mymodel'' - a PLS model that has been built on spectral data to predict a concentration | * ''mymodel'' - a PLS model that has been built on spectral data (''spec1'') to predict a concentration | ||
* ''spec2'' - a new set of spectral data to be used to validate the model | * ''spec2'' - a new set of spectral data to be used to validate the model | ||
* ''conc'' - concentration data for the validation spectra | * ''conc'' - concentration data for the validation spectra |