Skip to content

Clarification on preprocessing direction #114

Answered by paucablop
DaeunGu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @DaeunGu 😄

Both methods are performed row-wise, as they are intended to remove the physical variability in the spectra due to scatter. The SNV operates entirely at a row level, and no information about other spectra in is used to correct the target one. In the MSC you need to select a reference spectrum to make the correction, you can choose to use the mean/median spectrum from your training set as reference. In such case you would calculate the mean/median column wise, and then perform the transformation row-wise for each spectrum. If you would like to find more information about this, you can check this paper, it provides a good overview :)

https://www.sciencedirect.com/science/artic…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@DaeunGu
Comment options

@paucablop
Comment options

Answer selected by DaeunGu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants