Package ai.tock.nlp.admin.model
Class ClassificationReport
-
- All Implemented Interfaces:
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(Id<IntentDefinition> intentId, List<ClassifiedEntityReport> entities, List<ClassifiedEntityReport> notRetainedEntities, Double intentProbability, Double entitiesProbability, Map<String, Double> otherIntentsProbabilities, Instant lastUsage, Long usageCount, Long unknownCount)ClassificationReport(ParseResult result, Id<IntentDefinition> intentId)ClassificationReport(ClassifiedSentence sentence)ClassificationReport(IntentTestError error)ClassificationReport(EntityTestError error)
-
Method Summary
Modifier and Type Method Description final Id<IntentDefinition>getIntentId()final List<ClassifiedEntityReport>getEntities()final List<ClassifiedEntityReport>getNotRetainedEntities()final DoublegetIntentProbability()final DoublegetEntitiesProbability()final Map<String, Double>getOtherIntentsProbabilities()final InstantgetLastUsage()final LonggetUsageCount()final LonggetUnknownCount()final ClassificationtoClassification()-
-
Constructor Detail
-
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)
-
ClassificationReport
ClassificationReport(ParseResult result, Id<IntentDefinition> intentId)
-
ClassificationReport
ClassificationReport(ClassifiedSentence sentence)
-
ClassificationReport
ClassificationReport(IntentTestError error)
-
ClassificationReport
ClassificationReport(EntityTestError error)
-
-
Method Detail
-
getIntentId
final Id<IntentDefinition> getIntentId()
-
getEntities
final List<ClassifiedEntityReport> getEntities()
-
getNotRetainedEntities
final List<ClassifiedEntityReport> getNotRetainedEntities()
-
getIntentProbability
final Double getIntentProbability()
-
getEntitiesProbability
final Double getEntitiesProbability()
-
getOtherIntentsProbabilities
final Map<String, Double> getOtherIntentsProbabilities()
-
getLastUsage
final Instant getLastUsage()
-
getUsageCount
final Long getUsageCount()
-
getUnknownCount
final Long getUnknownCount()
-
toClassification
final Classification toClassification()
-
-
-
-