i am trying to compile the project deeplearning4j but the following errors occur:
[ERROR] /home/luolianhai/deeplearning4j/deeplearning4j-core/src/test/java/org/deeplearning4j/plot/TsneTest.java:[44,29] method readTxt in class org.nd4j.linalg.factory.Nd4j cannot be applied to given types;
required: java.lang.String
found: java.lang.String,java.lang.String
reason: actual and formal argument lists differ in length
[ERROR] /home/luolianhai/deeplearning4j/deeplearning4j-core/src/test/java/org/deeplearning4j/plot/BarnesHutTsneTest.java:[49,29] method readTxt in class org.nd4j.linalg.factory.Nd4j cannot be applied to given types;
required: java.lang.String
found: java.lang.String,java.lang.String
reason: actual and formal argument lists differ in length
however, the APIDocs display that method readTxt has been overwrited an following:
static INDArray readTxt(String filePath)
Read line via input streams
static INDArray readTxt(String filePath, String split)
Read line via input streams
and this is the link for the APIDocs:http://nd4j.org/apidocs/org/nd4j/linalg/factory/Nd4j.html
i have no idea and the problem confuses me for some days
wish someone could help me
1
kaneg 2015-07-16 00:17:48 +08:00 via iPhone
Maybe the api doc is not consistent with actual class. You need check whether there is a override readTxt method in class
|
2
luolianhai OP Thanks. It looks like the documentation is out of date as there is no longer a readTxt(String, String) method. I have check the class and there is no longer an override readTxt method.
|