Hi,

ALSWRFactorizerTest.java is test case written in JUnit, for developers, to 
check if ALSWRFactorizer is working right.
If you want to run it in eclipse:
open ALSWRFactorizerTest.java file in eclipse editor, right click -> Run as -> 
JUnit Test, and you should see test results.


functions annotated as @TestCase are separeate test cases.
Function annotated @Before is used to set data before running tests.
If you want to have a good look at what's going on inside, try changing log 
level to 'info' or 'debug'.

If you want to be able to debug this file, right click -> Debug as.. -> JUnit 
Test. You can set breakpoints, and evaluate parts of code - just select part of code 
and press Ctrl+Shift+I.

Hope this helps.





Abhijith CHandraprabhu wrote:
  I am a first time java user. After struggling with MAHOUT+MAVEN+ECLISE for
a whole month, I have been able to get the system working. Could ony of you
kindly save me sometime by letting me know how can I use a particular
function like ALSWRFactorizer.java. My main intention is to study the
ALS-WR factorization, hence I would like to see the way recommendation is
done on the test data in ALSWRFactorizerTest.java. Where should I write my
code if any. How can I check the code in Debug mode i.e with breakpoints
like in MATLAB.  I am willing to learn things myself, but i just need some
right direction. I spent a whole month is just knowing what is MAVEN and
ECLIPSE and setting up MAHOUT.

I have no problems with the mathematical aspects, but I am not familiar
with the implementation in java, however I am hellbent on learning to
program with java but I am so lost.


Reply via email to