Description Usage Arguments Value Author(s)
This code requires gurobi and the gurobi-library to solve the MIP.
1 2 | exactboxes(positiveTraining, negativeTraining, positiveTesting, negativeTesting,
cSize, maxK, cExpand, timePerProblem = 4500, varType = "C", env = NULL)
|
positiveTraining |
Positive training data. |
negativeTraining |
Negative training data. |
positiveTesting |
Positive test data. |
negativeTesting |
Negative test data. |
cSize |
Number of different weight for negative data point. |
maxK |
Cluster size. |
cExpand |
Parameter to control the number of boxes. |
timePerProblem |
Time that you are willing to invest for a single MIP problem. |
varType |
A list containing training TP, training FP, testing FTP and testing FP.
Algorithm and Matlab-code by Cynthia Rudin and Siong Thye Go (see References). Implemented in R by Hendrik Pfaff
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.