Changeset 8090:e79acddd047b in orange
 Timestamp:
 07/07/11 14:46:24 (3 years ago)
 Branch:
 default
 Convert:
 6342803619f2f30c40fcb94e3593efcb41e17f11
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

source/orange/earth.cpp
r8076 r8090 3015 3015 // TODO: Check for classVar, assert all attributes are continuous 3016 3016 3017 num_preds = 1;3018 num_cases = 100;3017 // num_preds = 1; 3018 // num_cases = 100; 3019 3019 3020 3020 double best_gcv; … … 3061 3061 y[i] = tempy; 3062 3062 } 3063 for (int i = 0; i < num_cases; i++) {3064 const double x0 = (double)i / num_cases;3065 x[i] = x0;3066 y[i] = sin(4 * x0); // target function, change this to whatever you want3067 }3063 // for (int i = 0; i < num_cases; i++) { 3064 // const double x0 = (double)i / num_cases; 3065 // x[i] = x0; 3066 // y[i] = sin(4 * x0); // target function, change this to whatever you want 3067 // } 3068 3068 3069 3069
Note: See TracChangeset
for help on using the changeset viewer.