rohanar
rohanar
When search for text:seat cushion the query parser does not emit "seat cushion" or "seat cushions". Therefore the search defaults to single token based search. This will work better if...
It is useful to be able to save a learned ClusterSet (or just the centers) into the disk and load it back into a ClusterSet object so that nearest cluster...
org.deeplearning4j.clustering.cluster.ClusterSet AND org.deeplearning4j.clustering.ClusterSet
Here is the stack trace: Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException at org.deeplearning4j.models.embeddings.loader.WordVectorSerializer.readParagraphVectorsFromText(WordVectorSerializer.java:425) at org.deeplearning4j.examples.paragraphvectors.ParagraphVectorsClassifierExample.main(ParagraphVectorsClassifierExample.java:84) Caused by: java.lang.RuntimeException: java.lang.NullPointerException at org.deeplearning4j.models.embeddings.loader.WordVectorSerializer.readParagraphVectorsFromText(WordVectorSerializer.java:499) at org.deeplearning4j.models.embeddings.loader.WordVectorSerializer.readParagraphVectorsFromText(WordVectorSerializer.java:423) ... 1 more Caused by: java.lang.NullPointerException...
Serializing ClusterSet object with SerializationUtils.saveObject(cs, new File(modelfilename));. This worked before updating to the latest in the mater branch. Error is Caused by: java.io.NotSerializableException: java.nio.HeapIntBuffer
Main Class: https://gist.github.com/rohanar/5ee3d6abd4f50717f5a3 Iterator: https://gist.github.com/rohanar/73e5a2b2ee47e23ccb51 Output of MYDOC_1 and MYDOC_2 ParagraphVectors: Vector of MYDOC_1: 0.05128706619143486 0.023959333077073097 -0.06078672036528587 0.032672032713890076 -0.04448729380965233 0.05854293331503868 0.06542444974184036 0.04277518764138222 -0.06504464149475098 -0.01807497628033161 Vector of MYDOC_2: 0.08950962871313095 0.028198037296533585 -0.08588799089193344...
Playing with a simple bot on WebChat shows that the responses go out of sync with the requests. Network activities in chrome developer tools show that the "ticker" has stopped...