hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommaso Teofili <tommaso.teof...@gmail.com>
Subject Re: [ML] Cost function API
Date Mon, 17 Jun 2013 13:12:27 GMT
2013/6/17 Tommaso Teofili <tommaso.teofili@gmail.com>

> Hi all,
>
> looking at the nice multi layer perceptron feature I realized we have
> different APIs for defining a cost function.
> In the regression package we have
>
> http://svn.apache.org/repos/asf/hama/trunk/ml/src/main/java/org/apache/hama/ml/regression/CostFunction.java
>
> while in perception (shouldn't it be perceptron?) we have:
>
> http://svn.apache.org/repos/asf/hama/trunk/ml/src/main/java/org/apache/hama/ml/perception/CostFunction.java
>
> then for a logistic regression model (which encapsulates a logistic cost
> function) in regression we have:
>
> http://svn.apache.org/repos/asf/hama/trunk/ml/src/main/java/org/apache/hama/ml/perception/LogisticCostFunction.java
>

sorry here's the correct link:
http://svn.apache.org/repos/asf/hama/trunk/ml/src/main/java/org/apache/hama/ml/regression/LogisticRegressionModel.java



>
> while in perception we have:
>
> http://svn.apache.org/repos/asf/hama/trunk/ml/src/main/java/org/apache/hama/ml/perception/LogisticCostFunction.java
>
> so I think it'd be good if we can abstract and define a unified API for
> cost function, models, etc. in the machine learning package.
>
> What do you think?
>
> Thanks,
> Tommaso
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message