You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Ted Dunning (JIRA)" <ji...@apache.org> on 2012/11/14 02:08:12 UTC

[jira] [Created] (MAHOUT-1113) Need test case to demonstrate simple use of SGD

Ted Dunning created MAHOUT-1113:
-----------------------------------

             Summary: Need test case to demonstrate simple use of SGD
                 Key: MAHOUT-1113
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1113
             Project: Mahout
          Issue Type: Improvement
            Reporter: Ted Dunning
            Priority: Minor


Need a test case that shows how to use SGD on a well known data set like the Iris data.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAHOUT-1113) Need test case to demonstrate simple use of SGD

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497894#comment-13497894 ] 

Hudson commented on MAHOUT-1113:
--------------------------------

Integrated in Mahout-Quality #1744 (See [https://builds.apache.org/job/Mahout-Quality/1744/])
    MAHOUT-1113 - Added test case and data (Revision 1409685)

     Result = FAILURE
tdunning : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1409685
Files : 
* /mahout/trunk/core/src/test/java/org/apache/mahout/classifier/sgd/OnlineLogisticRegressionTest.java
* /mahout/trunk/core/src/test/resources/iris.csv

                
> Need test case to demonstrate simple use of SGD
> -----------------------------------------------
>
>                 Key: MAHOUT-1113
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1113
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Ted Dunning
>            Priority: Minor
>
> Need a test case that shows how to use SGD on a well known data set like the Iris data.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAHOUT-1113) Need test case to demonstrate simple use of SGD

Posted by "Lance Norskog (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496823#comment-13496823 ] 

Lance Norskog commented on MAHOUT-1113:
---------------------------------------

I quoted a line from the patch. OnlineLogisticRegressionTest.java is not plain ascii in the patch. It seems to have IDEA metadata at the front, and no newlines. The next build should fail.



                
> Need test case to demonstrate simple use of SGD
> -----------------------------------------------
>
>                 Key: MAHOUT-1113
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1113
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Ted Dunning
>            Priority: Minor
>
> Need a test case that shows how to use SGD on a well known data set like the Iris data.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAHOUT-1113) Need test case to demonstrate simple use of SGD

Posted by "Ted Dunning (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496818#comment-13496818 ] 

Ted Dunning commented on MAHOUT-1113:
-------------------------------------

Lance

I don't understand your comment.  What should I fix?

Sent from my iPhone



                
> Need test case to demonstrate simple use of SGD
> -----------------------------------------------
>
>                 Key: MAHOUT-1113
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1113
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Ted Dunning
>            Priority: Minor
>
> Need a test case that shows how to use SGD on a well known data set like the Iris data.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (MAHOUT-1113) Need test case to demonstrate simple use of SGD

Posted by "Ted Dunning (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Dunning resolved MAHOUT-1113.
---------------------------------

    Resolution: Fixed

Committed test case that was developed under MAHOUT-1107
                
> Need test case to demonstrate simple use of SGD
> -----------------------------------------------
>
>                 Key: MAHOUT-1113
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1113
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Ted Dunning
>            Priority: Minor
>
> Need a test case that shows how to use SGD on a well known data set like the Iris data.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAHOUT-1113) Need test case to demonstrate simple use of SGD

Posted by "Lance Norskog (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496797#comment-13496797 ] 

Lance Norskog commented on MAHOUT-1113:
---------------------------------------

D'oh! Apparently MacRoman does not follow Java indentation rules...

{noformat}
Index: core/src/test/java/org/apache/mahout/classifier/sgd/OnlineLogisticRegressionTest.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>MacRoman
Subsystem: com.intellij.openapi.diff.impl.patch.BaseRevisionTextPatchEP
<+>/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements.  See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License.  You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, e
{noformat}
                
> Need test case to demonstrate simple use of SGD
> -----------------------------------------------
>
>                 Key: MAHOUT-1113
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1113
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Ted Dunning
>            Priority: Minor
>
> Need a test case that shows how to use SGD on a well known data set like the Iris data.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAHOUT-1113) Need test case to demonstrate simple use of SGD

Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497000#comment-13497000 ] 

Sean Owen commented on MAHOUT-1113:
-----------------------------------

MacRoman is the default platform encoding for Macs. While we ought to use UTF-8 in general as a default, for maximum glitch avoidance, we should also not put any characters in the source code that aren't part of the ASCII character set. All of these various encodings agree in their encoding for these characters, by design, so it wouldn't matter. (You can use \uXXXX syntax in Java source to write any UCS2 code point.)

But, I don't think this is evidence of any problem. It just shows that the patch says it was using MacRoman encoding. Mac (and Linux, and Unix) newlines are the LF character, which is '\n'. I think that the snippet you are quoting merely showed them escaped.

Did you look at the file in HEAD? it's fine. There is no problem here.
                
> Need test case to demonstrate simple use of SGD
> -----------------------------------------------
>
>                 Key: MAHOUT-1113
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1113
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Ted Dunning
>            Priority: Minor
>
> Need a test case that shows how to use SGD on a well known data set like the Iris data.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira