This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| rvkde:readme [2008/08/07 01:17] – dirty | rvkde:readme [2008/08/19 01:11] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Abstract ====== | ====== Abstract ====== | ||
| RVKDE, standing for Relaxed Variable Kernel Density Estimation, is an | RVKDE, standing for Relaxed Variable Kernel Density Estimation, is an | ||
| - | integrated software of classification, | + | integrated software of classification, |
| document explains the use of RVKDE. | document explains the use of RVKDE. | ||
| - | RVKDE is available at ' | + | RVKDE is available at ' |
| COPYRIGHT file before using RVKDE. | COPYRIGHT file before using RVKDE. | ||
| Line 10: | Line 10: | ||
| - Quick start | - Quick start | ||
| - Installation and data format | - Installation and data format | ||
| - | - //kde-train.pl// usage | + | - __kde-train.pl__ usage |
| - | - //kde-predict.pl// usage | + | - __kde-predict.pl__ usage |
| - Additional tools | - Additional tools | ||
| - Additional information | - Additional information | ||
| ====== Quick start ====== | ====== Quick start ====== | ||
| - | If you are new to RVKDE and if the data is not large, please go to //tool// | + | If you are new to RVKDE and if the data is not large, please go to __tool__ |
| - | directory and use //kde-easy.pl// after installation. It does everything, from | + | directory and use __kde-easy.pl__ after installation. |
| data scaling to parameter selection, automatic. | data scaling to parameter selection, automatic. | ||
| Line 24: | Line 24: | ||
| </ | </ | ||
| - | More information about parameter selection can be found in // | + | More information about parameter selection can be found in __tool/README__ |
| ====== Installation and data format ====== | ====== Installation and data format ====== | ||
| Line 53: | Line 53: | ||
| </ | </ | ||
| - Execute them without arguments to show the usages. | - Execute them without arguments to show the usages. | ||
| - | - Using // | + | - Using __cd__ |
| - Execute them without arguments to show the usages.< | - Execute them without arguments to show the usages.< | ||
| kde-train.pl | kde-train.pl | ||
| Line 70: | Line 70: | ||
| Each line contains an instance and is ended by a ' | Each line contains an instance and is ended by a ' | ||
| classification, | classification, | ||
| - | is supported). For regression, < | + | is supported). |
| - | real number. < | + | real number. |
| - | integer starting from 1 and < | + | an integer starting from 1 and < |
| - | file are only used to calculate accuracy or errors. If they are unknown, just | + | testing |
| - | fill the first column with any numbers. | + | unknown, just fill the first column with any numbers. |
| - | A sample classification data included in this package is **heart.scale**. | + | A sample classification data included in this package is __satimage__. Type |
| - | Type //kde-train.pl | + | __kde-train.pl |
| - | data and output the model file //heart.scale.model//. If you have a test set | + | and output the model file __satimage.scale.model__. If you have a test set |
| - | called | + | called |
| - | heart.scale.model | + | satimage.scale.model |
| - | contains the predicted class labels.< | + | file contains the predicted class labels.< |
| - | kde-train.pl | + | kde-train.pl |
| - | kde-predict.pl | + | kde-predict.pl |
| vi output # predicted results | vi output # predicted results | ||
| </ | </ | ||
| Line 91: | Line 91: | ||
| Usage: kde-train.pl [OPTION]... TRAINING_FILE [MODEL_FILE] | Usage: kde-train.pl [OPTION]... TRAINING_FILE [MODEL_FILE] | ||
| kde-train.pl is a Perl wrapper for RVKDE to make the using of RVKDE like | kde-train.pl is a Perl wrapper for RVKDE to make the using of RVKDE like | ||
| - | LIBSVM. Make sure the rvkde binary executable file is in the same directory | + | LIBSVM. |
| of this script. | of this script. | ||
| Line 103: | Line 103: | ||
| Examples: | Examples: | ||
| - | kde-train.pl | + | kde-train.pl |
| - | kde-train.pl | + | kde-train.pl |
| - | kde-train.pl -v 5 heart.scale # five-fold cross validation | + | kde-train.pl -v 5 satimage.scale # five-fold cross validation |
| - | kde-train.pl -s 30 heart.scale # using different parameters | + | kde-train.pl -s 30 satimage.scale # using different parameters |
| Option -v splits the data into n parts by modulo arithmetic and calculates | Option -v splits the data into n parts by modulo arithmetic and calculates | ||
| Line 118: | Line 118: | ||
| Usage: kde-predict.pl [OPTION]... TESTING_FILE MODEL_FILE OUTPUT_FILE | Usage: kde-predict.pl [OPTION]... TESTING_FILE MODEL_FILE OUTPUT_FILE | ||
| kde-predict.pl is a Perl wrapper for RVKDE to make the using of RVKDE like | kde-predict.pl is a Perl wrapper for RVKDE to make the using of RVKDE like | ||
| - | LIBSVM. Make sure the rvkde binary executable file is in the same directory | + | LIBSVM. |
| of this script. | of this script. | ||
| Line 133: | Line 133: | ||
| Examples: | Examples: | ||
| - | kde-predict.pl | + | kde-predict.pl |
| - | kde-predict.pl -s 30 -t 30 heart.scale.t | + | kde-predict.pl -s 30 -t 30 satimage.scale.t |
| - | Unlike LIBSVM, RVKDE is a lazy-learning tool. The model file contains only | + | Unlike LIBSVM, RVKDE is a lazy-learning tool. The model file contains only |
| basic information and the real prediction model is constructed right before the | basic information and the real prediction model is constructed right before the | ||
| - | prediction operation. It means you can specify different parameters (alpha, | + | prediction operation. |
| - | beta, ks and kt) for kde-predict.pl as those specified for kde-train.pl. Only | + | beta, ks and kt) for kde-predict.pl as those specified for kde-train.pl. |
| one condition must be hold: the ks for kde-predict.pl is less than or equal to | one condition must be hold: the ks for kde-predict.pl is less than or equal to | ||
| the ks for kde-train.pl. | the ks for kde-train.pl. | ||
| Line 154: | Line 154: | ||
| Yen-Jen Oyang, Shien-Ching Hwang, Yu-Yen Ou, Chien-Yu Chen, and Zhi-Wei Chen. | Yen-Jen Oyang, Shien-Ching Hwang, Yu-Yen Ou, Chien-Yu Chen, and Zhi-Wei Chen. | ||
| Data Classification with the Radial Basis Function Network Based on a Novel | Data Classification with the Radial Basis Function Network Based on a Novel | ||
| - | Kernel Density Estimation Algorithm. //IEEE Transactions on Neural Networks//, | + | Kernel Density Estimation Algorithm. |
| **16**, 225-236, 2005. | **16**, 225-236, 2005. | ||
| Line 163: | Line 163: | ||
| Acknowledgments: | Acknowledgments: | ||
| This work was supported in part by the National Science Council of Taiwan via | This work was supported in part by the National Science Council of Taiwan via | ||
| - | the grant NSC 92-2213-E-002-095. The authors thank their group members and | + | the grant NSC 92-2213-E-002-095. |
| users for many helpful discussions and comments. | users for many helpful discussions and comments. | ||
| + | |||