ece4580:module_surveillance:m2w2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ece4580:module_surveillance:m2w2 [2017/04/03 10:34] – [Week #2: Testing the Method] pvela | ece4580:module_surveillance:m2w2 [2024/08/20 21:38] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
Once we know the mixture models are proper, then the next step is to actually use the models as a means to test proximity of one model to another. | Once we know the mixture models are proper, then the next step is to actually use the models as a means to test proximity of one model to another. | ||
+ | |||
+ | === Matching Data to Model: Theory === | ||
To start simply, let's first consider the case of checking the data from the model for consistency. Imagine that there are 10 people who has walked in, each with their own Gaussian mixture model as the signature, and that they have subsequently left the scene. One of those 10 returns. Which of them is it? ... Well, we have a new set of image data from the binary masked image portion of the recently entered person. Our question get converted to the question: Which of the existing models is the new data a good fit for? That naturally begets the question: How can we create a scoring mechanism for testing fitness of data to existing models? | To start simply, let's first consider the case of checking the data from the model for consistency. Imagine that there are 10 people who has walked in, each with their own Gaussian mixture model as the signature, and that they have subsequently left the scene. One of those 10 returns. Which of them is it? ... Well, we have a new set of image data from the binary masked image portion of the recently entered person. Our question get converted to the question: Which of the existing models is the new data a good fit for? That naturally begets the question: How can we create a scoring mechanism for testing fitness of data to existing models? | ||
Line 21: | Line 23: | ||
$$ r^* = \arg \min_{r} E(T; M_r). $$ | $$ r^* = \arg \min_{r} E(T; M_r). $$ | ||
+ | |||
+ | === Matching Data to Model: Practice === | ||
+ | |||
+ | Based on the earlier [[ECE4580: | ||
+ | |||
+ | === Implementation === | ||
+ | |||
+ | - Create a function that takes in a model and the (sequential) template data matrix, and returns the score. Call it '' | ||
+ | - Create a second function that takes in the template matrix data, plus the set of models, and returns both the index into the best scoring model (first argument) and its associated score (second argument). Call it '' | ||
+ | - Test out the '' | ||
+ | - Test out the '' | ||
+ | - Download someone else's data from the google drive location (hopefully there is more than one set of data there), and apply the same procedure to it. What this means is, use the first set of the data to train a set of Gaussian mixture models, then use the second set to test with. Report the accuracy, and answer the same questions as the previous step. | ||
-------------------------- | -------------------------- |
ece4580/module_surveillance/m2w2.1491230084.txt.gz · Last modified: 2024/08/20 21:38 (external edit)