Uses of Class
org.deeplearning4j.text.documentiterator.LabelledDocument
-
-
Uses of LabelledDocument in org.deeplearning4j.models.paragraphvectors
Methods in org.deeplearning4j.models.paragraphvectors with parameters of type LabelledDocument Modifier and Type Method Description org.nd4j.linalg.api.ndarray.INDArrayParagraphVectors. inferVector(LabelledDocument document)This method calculates inferred vector for given document, with default parameters for learning rate and iterationsorg.nd4j.linalg.api.ndarray.INDArrayParagraphVectors. inferVector(LabelledDocument document, double learningRate, double minLearningRate, int iterations)This method calculates inferred vector for given documentFuture<org.nd4j.common.primitives.Pair<String,org.nd4j.linalg.api.ndarray.INDArray>>ParagraphVectors. inferVectorBatched(@NonNull LabelledDocument document)This method implements batched inference, based on Java Future parallelism model.Collection<String>ParagraphVectors. nearestLabels(LabelledDocument document, int topN)This method returns top N labels nearest to specified documentStringParagraphVectors. predict(LabelledDocument document)This method predicts label of the document.Collection<String>ParagraphVectors. predictSeveral(@NonNull LabelledDocument document, int limit)Predict several labels based on the document.doubleParagraphVectors. similarityToLabel(LabelledDocument document, String label)This method returns similarity of the document to specific label, based on mean valueConstructors in org.deeplearning4j.models.paragraphvectors with parameters of type LabelledDocument Constructor Description InferenceCallable(@NonNull VocabCache<VocabWord> vocabCache, @NonNull TokenizerFactory tokenizerFactory, @NonNull LabelledDocument document)InferenceCallable(@NonNull VocabCache<VocabWord> vocabCache, @NonNull TokenizerFactory tokenizerFactory, @NonNull LabelledDocument document, @NonNull AtomicLong flag) -
Uses of LabelledDocument in org.deeplearning4j.text.documentiterator
Fields in org.deeplearning4j.text.documentiterator with type parameters of type LabelledDocument Modifier and Type Field Description protected AsyncIterator<LabelledDocument>AsyncLabelAwareIterator. asyncIteratorprotected Iterator<LabelledDocument>SimpleLabelAwareIterator. currentIteratorprotected Iterable<LabelledDocument>SimpleLabelAwareIterator. underlyingIterableMethods in org.deeplearning4j.text.documentiterator that return LabelledDocument Modifier and Type Method Description LabelledDocumentAsyncLabelAwareIterator. next()LabelledDocumentBasicLabelAwareIterator. next()LabelledDocumentFileLabelAwareIterator. next()LabelledDocumentFilenamesLabelAwareIterator. next()LabelledDocumentLabelAwareIteratorWrapper. next()LabelledDocumentSimpleLabelAwareIterator. next()LabelledDocumentAsyncLabelAwareIterator. nextDocument()LabelledDocumentBasicLabelAwareIterator. nextDocument()This method returns next LabelledDocumentLabelledDocumentFileLabelAwareIterator. nextDocument()LabelledDocumentFilenamesLabelAwareIterator. nextDocument()LabelledDocumentLabelAwareIterator. nextDocument()LabelledDocumentLabelAwareIteratorWrapper. nextDocument()LabelledDocumentSimpleLabelAwareIterator. nextDocument()This method returns next LabelledDocument from underlying iteratorConstructor parameters in org.deeplearning4j.text.documentiterator with type arguments of type LabelledDocument Constructor Description SimpleLabelAwareIterator(@NonNull Iterable<LabelledDocument> iterable)Builds LabelAwareIterator instance using Iterable objectSimpleLabelAwareIterator(@NonNull Iterator<LabelledDocument> iterator)Builds LabelAwareIterator instance using Iterator object PLEASE NOTE: If instance is built using Iterator object, reset() method becomes unavailable -
Uses of LabelledDocument in org.deeplearning4j.text.documentiterator.interoperability
Methods in org.deeplearning4j.text.documentiterator.interoperability that return LabelledDocument Modifier and Type Method Description LabelledDocumentDocumentIteratorConverter. next()LabelledDocumentDocumentIteratorConverter. nextDocument() -
Uses of LabelledDocument in org.deeplearning4j.text.sentenceiterator.interoperability
Methods in org.deeplearning4j.text.sentenceiterator.interoperability that return LabelledDocument Modifier and Type Method Description LabelledDocumentSentenceIteratorConverter. next()LabelledDocumentSentenceIteratorConverter. nextDocument()
-