This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| rvkde:usage [2008/08/19 04:09] – dirty | rvkde:usage [2008/08/19 04:21] (current) – dirty | ||
|---|---|---|---|
| Line 56: | Line 56: | ||
| Now we have a parameter combination derived from cross-validation. | Now we have a parameter combination derived from cross-validation. | ||
| * Use these parameters to predict __satimage.scale.t__.< | * Use these parameters to predict __satimage.scale.t__.< | ||
| - | rvkde-0.2.3-final/ | + | rvkde-0.2.3-final/ |
| </ | </ | ||
| Let's take a look at the command. | Let's take a look at the command. | ||
| Line 64: | Line 64: | ||
| * The result looks like< | * The result looks like< | ||
| - | [0.916] a=1 b=1 s=8 t=10... | + | [0.9175] a=1 b=1 s=8 t=21... |
| - | </ | + | </ |
| - | + | ||
| ====== Train, validate, and then test ====== | ====== Train, validate, and then test ====== | ||
| Another common procedure for parameter selection is to create an independent validation set. For example, you can use __satimage.scale.tr__ and __satimage.scale.val__ to do parameter selection and see how good the parameters are when applying on __satimage.scale.t__. | Another common procedure for parameter selection is to create an independent validation set. For example, you can use __satimage.scale.tr__ and __satimage.scale.val__ to do parameter selection and see how good the parameters are when applying on __satimage.scale.t__. | ||
| * Use __satimage.scale.tr__ (as training set) and __satimage.scale.val__ (as validation set) to select the parameters.< | * Use __satimage.scale.tr__ (as training set) and __satimage.scale.val__ (as validation set) to select the parameters.< | ||
| - | rvkde-0.2.3-final/ | + | rvkde-0.2.3-final/ |
| </ | </ | ||
| * The result looks like< | * The result looks like< | ||
| - | [0.381232] a=1 b=1.5 s=17 t=10... | + | [0.913599] a=1 b=1 s=8 t=23... |
| </ | </ | ||
| - | * Predict | + | * Predict |
| - | rvkde/rvkde --predict --classify --f-measure | + | rvkde-0.2.3-final/rvkde --predict --classify --acc -v rvkde-0.2.3-final/satimage.scale.tr |
| </ | </ | ||
| * The result looks like< | * The result looks like< | ||
| - | [0.365651] a=1 b=1.5 s=17 t=10... | + | [0.917] a=1 b=1 s=8 t=23... |
| - | </ | + | </ |
| - | + | ||
| - | ====== Summary of RVKDE ====== | + | |
| - | Until now, you know that RVKDE has four parameters (//alpha//, //beta//, //ks//, and // | + | |
| - | + | ||
| - | In addition, you learn two common model selection | + | |