You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Jens Grivolla (JIRA)" <ji...@apache.org> on 2008/11/11 18:31:44 UTC
[jira] Created: (MAHOUT-96) grouplens-example erroneous path to
.dat files
grouplens-example erroneous path to .dat files
----------------------------------------------
Key: MAHOUT-96
URL: https://issues.apache.org/jira/browse/MAHOUT-96
Project: Mahout
Issue Type: Bug
Components: Collaborative Filtering
Reporter: Jens Grivolla
GroupLensDataModel.java tries to read from "src/example/org/apache/mahout/cf/taste/example/grouplens/ratings.dat" whereas the file is included in taste-build.xml from "${grouplens-location}/ratings.dat".
The location is hard-coded in GroupLensDataModel.java and would need to be changed to conform to the current code organization. A better solution would be not to hard-code the path.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (MAHOUT-96) grouplens-example erroneous path to
.dat files
Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved MAHOUT-96.
-----------------------------
Resolution: Fixed
It's not possible to share an Ant env variable into the Java code. At some level it kinda has to be hard-coded, the path where the resource lives in the jar file.
However there was a problem with how these files were packaged -- they weren't getting put into the .jar! I addressed this.
> grouplens-example erroneous path to .dat files
> ----------------------------------------------
>
> Key: MAHOUT-96
> URL: https://issues.apache.org/jira/browse/MAHOUT-96
> Project: Mahout
> Issue Type: Bug
> Components: Collaborative Filtering
> Reporter: Jens Grivolla
>
> GroupLensDataModel.java tries to read from "src/example/org/apache/mahout/cf/taste/example/grouplens/ratings.dat" whereas the file is included in taste-build.xml from "${grouplens-location}/ratings.dat".
> The location is hard-coded in GroupLensDataModel.java and would need to be changed to conform to the current code organization. A better solution would be not to hard-code the path.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MAHOUT-96) grouplens-example erroneous path to
.dat files
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646626#action_12646626 ]
Grant Ingersoll commented on MAHOUT-96:
---------------------------------------
See https://issues.apache.org/jira/browse/MAHOUT-94. I started working on bringing the Taste stuff into the main build path, such that taste-build.xml will eventually go away.
> grouplens-example erroneous path to .dat files
> ----------------------------------------------
>
> Key: MAHOUT-96
> URL: https://issues.apache.org/jira/browse/MAHOUT-96
> Project: Mahout
> Issue Type: Bug
> Components: Collaborative Filtering
> Reporter: Jens Grivolla
>
> GroupLensDataModel.java tries to read from "src/example/org/apache/mahout/cf/taste/example/grouplens/ratings.dat" whereas the file is included in taste-build.xml from "${grouplens-location}/ratings.dat".
> The location is hard-coded in GroupLensDataModel.java and would need to be changed to conform to the current code organization. A better solution would be not to hard-code the path.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.