samoa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-samoa] csterling commented on a change in pull request #70: SAMOA-72 New Boosting algorithm for VHT
Date Mon, 18 Nov 2019 23:32:44 GMT
csterling commented on a change in pull request #70: SAMOA-72 New Boosting algorithm for VHT
URL: https://github.com/apache/incubator-samoa/pull/70#discussion_r347663873
 
 

 ##########
 File path: samoa-api/src/main/java/org/apache/samoa/learners/classifiers/trees/LocalStatisticsProcessor.java
 ##########
 @@ -180,16 +208,16 @@ public Processor newProcessor(Processor p) {
    * 
    * @param computeStream
    */
-  void setComputationResultStream(Stream computeStream) {
+  public void setComputationResultStream(Stream computeStream) {
     this.computationResultStream = computeStream;
   }
 
   private AttributeClassObserver newNominalClassObserver() {
-    return (AttributeClassObserver) this.nominalClassObserver.copy();
+    return new NominalAttributeClassObserver(); //further investigate this change
   }
 
   private AttributeClassObserver newNumericClassObserver() {
-    return (AttributeClassObserver) this.numericClassObserver.copy();
+    return new GaussianNumericAttributeClassObserver();//further investigate this change
 
 Review comment:
   @fobeligi Can you please comment on why this change was necessary, and the implications
of it?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message