Changeset 8090:e79acddd047b in orange


Ignore:
Timestamp:
07/07/11 14:46:24 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
6342803619f2f30c40fcb94e3593efcb41e17f11
Message:

Fixed problem initialization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/earth.cpp

    r8076 r8090  
    30153015    // TODO: Check for classVar, assert all attributes are continuous 
    30163016 
    3017     num_preds = 1; 
    3018     num_cases = 100; 
     3017//  num_preds = 1; 
     3018//  num_cases = 100; 
    30193019 
    30203020    double best_gcv; 
     
    30613061        y[i] = tempy; 
    30623062    } 
    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         } 
     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//      } 
    30683068 
    30693069 
Note: See TracChangeset for help on using the changeset viewer.