Changeset 13 for trunk/bin/train


Ignore:
Timestamp:
07/19/15 15:05:42 (9 years ago)
Author:
tim
Message:

.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/train

    r11 r13  
    5555    trainer = classifiers[classifier]['train']
    5656    threshold = 5.0 # in percent
    57     num_obs = 1000
     57    num_obs = 7
    5858    max_obs = int(db.populationSize('train')/5)
    5959    result = None
     
    7575        classifiers[classifier]['train_results'].append(result)
    7676
    77         if error < threshold:
     77        if error < threshold and num_obs > 100:
    7878            break
    7979
Note: See TracChangeset for help on using the changeset viewer.