Changeset 34801


Ignore:
Timestamp:
2021-02-02T23:38:03+13:00 (3 years ago)
Author:
davidb
Message:

Extra print statment for consistency

Location:
main/trunk/model-sites-dev/mars/src/java/org/greenstone/mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/mars/src/java/org/greenstone/mars/WekaApplyArousalModel.java

    r34798 r34801  
    5050        = WekaUtil.filterInstancesForApplying(unlabeled_instances,has_groundtruth_data,
    5151                          WekaUtil.AROUSAL_ATTRIBUTE_NAME,"472");
     52       
     53    WekaUtil.checkDatasetInstancesCompatible(filtered_unlabeled_instances,"472");   
    5254
    5355    // The following deals with (ii)
    5456    Instances groundtruth_instances = (has_groundtruth_data) ? filtered_unlabeled_instances : null;
    55    
     57
     58    System.out.println("Predicting arousal:");
    5659    Instances labeled_instances = WekaUtil.makePredictions(classifier, filtered_unlabeled_instances, groundtruth_instances);
    5760       
  • main/trunk/model-sites-dev/mars/src/java/org/greenstone/mars/WekaApplyValenceModel.java

    r34798 r34801  
    5252                          WekaUtil.VALENCE_ATTRIBUTE_NAME,"471");
    5353
     54    WekaUtil.checkDatasetInstancesCompatible(filtered_unlabeled_instances,"471");
     55   
    5456    // The following deals with (ii)
    5557    Instances groundtruth_instances = (has_groundtruth_data) ? filtered_unlabeled_instances : null;
    56    
     58
     59    System.out.println("Predicting valence:");
    5760    Instances labeled_instances = WekaUtil.makePredictions(classifier, filtered_unlabeled_instances, groundtruth_instances);
    5861       
Note: See TracChangeset for help on using the changeset viewer.