Download Latest Version example_rF.tar.gz (80.5 kB)
Email in envelope

Get an email when there's a new version of R scripts for multivariate analysis

Home / Cubist
Name Modified Size InfoDownloads / Week
Parent folder
README.txt 2014-04-16 1.9 kB
example.tar.gz 2014-04-16 80.6 kB
cubist_example.R 2014-04-16 12.9 kB
Totals: 3 Items   95.3 kB 0
This is the script prepared to run Cubist package from R environment in a manner of 10-fold cross-validation mode. Cubist is a rule-based data analysis system. For more information please refer to its original manual at the CRAN repostitory:

http://cran.r-project.org/web/packages/Cubist/index.html

It requires data prepared in a manner of 10 pairs of training-testing datasets in tab-delimited TXT files, where the last column contains the known answer to the problem (dependent variable) and previous columns are features (regressors or independent variables). The assumption is that the model is of MISO type (multiple-input-single-output)

Script basic adjustable parameters are:

extrapolation
how much of the rules are consistent to be in the training dataset range (pwrcentages 0-100)

sample
a number between 0 and 99.9: this is the percentage of the data set to be randomly selected for model building (not for out-of-bag type evaluation).

no.committees
number of committees models

rules
number of rules for each model


Please find an example of how to run the script in the example.tar.gz archive Runs on Linux and Mac 
Windows users must get rid of multicore library

##########################################################################
    This program comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions. Please find a LICENSE file to look 
    for a more detailed description of terms and conditions based on the 
    GNU GPLv3 license
##########################################################################

If you are satisfied with this script and find it useful please cite our last work:
Szlęk J, Pacławski A, Lau R, Jachowicz R, Mendyk A. Heuristic modeling of macromolecule release from PLGA microspheres. Int J Nanomedicine. 2013;8:4601-11. doi: 10.2147/IJN.S53364. Epub 2013 Dec 3.

Source: README.txt, updated 2014-04-16