labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomm...@apache.org
Subject svn commit: r1709430 - /labs/yay/trunk/core/src/main/java/org/apache/yay/core/LMSCostFunction.java
Date Mon, 19 Oct 2015 15:40:29 GMT
Author: tommaso
Date: Mon Oct 19 15:40:28 2015
New Revision: 1709430

URL: http://svn.apache.org/viewvc?rev=1709430&view=rev
Log:
LMS cf should be public

Modified:
    labs/yay/trunk/core/src/main/java/org/apache/yay/core/LMSCostFunction.java

Modified: labs/yay/trunk/core/src/main/java/org/apache/yay/core/LMSCostFunction.java
URL: http://svn.apache.org/viewvc/labs/yay/trunk/core/src/main/java/org/apache/yay/core/LMSCostFunction.java?rev=1709430&r1=1709429&r2=1709430&view=diff
==============================================================================
--- labs/yay/trunk/core/src/main/java/org/apache/yay/core/LMSCostFunction.java (original)
+++ labs/yay/trunk/core/src/main/java/org/apache/yay/core/LMSCostFunction.java Mon Oct 19
15:40:28 2015
@@ -29,7 +29,7 @@ import org.apache.yay.TrainingSet;
 /**
  * Least mean square cost function
  */
-class LMSCostFunction implements NeuralNetworkCostFunction {
+public class LMSCostFunction implements NeuralNetworkCostFunction {
   @Override
   public Double calculateAggregatedCost(TrainingSet<Double, Double> trainingExamples,
Hypothesis<RealMatrix, Double, Double> hypothesis) throws Exception {
     TrainingExample<Double, Double>[] samples = new TrainingExample[trainingExamples.size()];



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message