-
public final class ClassificationReport
-
-
Field Summary
Fields Modifier and Type Field Description private final Id<IntentDefinition>intentIdprivate final List<ClassifiedEntityReport>entitiesprivate final List<ClassifiedEntityReport>notRetainedEntitiesprivate final DoubleintentProbabilityprivate final DoubleentitiesProbabilityprivate final Map<String, Double>otherIntentsProbabilitiesprivate final InstantlastUsageprivate final LongusageCountprivate final LongunknownCount
-
Constructor Summary
Constructors Constructor Description ClassificationReport(ParseResult result, Id<IntentDefinition> intentId)ClassificationReport(ClassifiedSentence sentence)ClassificationReport(IntentTestError error)ClassificationReport(EntityTestError error)ClassificationReport(Id<IntentDefinition> intentId, List<ClassifiedEntityReport> entities, List<ClassifiedEntityReport> notRetainedEntities, Double intentProbability, Double entitiesProbability, Map<String, Double> otherIntentsProbabilities, Instant lastUsage, Long usageCount, Long unknownCount)
-
Method Summary
Modifier and Type Method Description final ClassificationtoClassification()final Id<IntentDefinition>component1()final List<ClassifiedEntityReport>component2()final List<ClassifiedEntityReport>component3()final Doublecomponent4()final Doublecomponent5()final Map<String, Double>component6()final Instantcomponent7()final Longcomponent8()final Longcomponent9()final ClassificationReportcopy(Id<IntentDefinition> intentId, List<ClassifiedEntityReport> entities, List<ClassifiedEntityReport> notRetainedEntities, Double intentProbability, Double entitiesProbability, Map<String, Double> otherIntentsProbabilities, Instant lastUsage, Long usageCount, Long unknownCount)final Id<IntentDefinition>getIntentId()final List<ClassifiedEntityReport>getEntities()final List<ClassifiedEntityReport>getNotRetainedEntities()The entities found but not retained. final DoublegetIntentProbability()final DoublegetEntitiesProbability()final Map<String, Double>getOtherIntentsProbabilities()final InstantgetLastUsage()The last usage date (for a real user) if any. final LonggetUsageCount()The total number of uses of this sentence. final LonggetUnknownCount()The total number of unknown count of this sentence. -
-
Constructor Detail
-
ClassificationReport
ClassificationReport(ParseResult result, Id<IntentDefinition> intentId)
-
ClassificationReport
ClassificationReport(ClassifiedSentence sentence)
-
ClassificationReport
ClassificationReport(IntentTestError error)
-
ClassificationReport
ClassificationReport(EntityTestError error)
-
ClassificationReport
ClassificationReport(Id<IntentDefinition> intentId, List<ClassifiedEntityReport> entities, List<ClassifiedEntityReport> notRetainedEntities, Double intentProbability, Double entitiesProbability, Map<String, Double> otherIntentsProbabilities, Instant lastUsage, Long usageCount, Long unknownCount)
-
-
Method Detail
-
toClassification
final Classification toClassification()
-
component1
final Id<IntentDefinition> component1()
-
component2
final List<ClassifiedEntityReport> component2()
-
component3
final List<ClassifiedEntityReport> component3()
-
component4
final Double component4()
-
component5
final Double component5()
-
component6
final Map<String, Double> component6()
-
component7
final Instant component7()
-
component8
final Long component8()
-
component9
final Long component9()
-
copy
final ClassificationReport copy(Id<IntentDefinition> intentId, List<ClassifiedEntityReport> entities, List<ClassifiedEntityReport> notRetainedEntities, Double intentProbability, Double entitiesProbability, Map<String, Double> otherIntentsProbabilities, Instant lastUsage, Long usageCount, Long unknownCount)
-
getIntentId
final Id<IntentDefinition> getIntentId()
-
getEntities
final List<ClassifiedEntityReport> getEntities()
-
getNotRetainedEntities
final List<ClassifiedEntityReport> getNotRetainedEntities()
The entities found but not retained.
-
getIntentProbability
final Double getIntentProbability()
-
getEntitiesProbability
final Double getEntitiesProbability()
-
getOtherIntentsProbabilities
final Map<String, Double> getOtherIntentsProbabilities()
-
getLastUsage
final Instant getLastUsage()
The last usage date (for a real user) if any.
-
getUsageCount
final Long getUsageCount()
The total number of uses of this sentence.
-
getUnknownCount
final Long getUnknownCount()
The total number of unknown count of this sentence.
-
-
-
-