Package ai.tock.nlp.front.shared.test
Class TestBuild
-
- All Implemented Interfaces:
public final class TestBuildA build used to test the model.
-
-
Field Summary
Fields Modifier and Type Field Description private final Id<ApplicationDefinition>applicationIdprivate final Localelanguageprivate final InstantstartDateprivate final DurationbuildModelDurationprivate final DurationtestSentencesDurationprivate final IntegernbSentencesInModelprivate final IntegernbSentencesTestedprivate final IntegernbErrorsprivate final IntegerintentErrorsprivate final IntegerentityErrorsprivate final Map<String, Integer>nbSentencesTestedByIntentprivate final Map<String, Integer>intentErrorsByIntentprivate final Map<String, Integer>entityErrorsByIntent
-
Constructor Summary
Constructors Constructor Description TestBuild(Id<ApplicationDefinition> applicationId, Locale language, Instant startDate, Duration buildModelDuration, Duration testSentencesDuration, Integer nbSentencesInModel, Integer nbSentencesTested, Integer nbErrors, Integer intentErrors, Integer entityErrors, Map<String, Integer> nbSentencesTestedByIntent, Map<String, Integer> intentErrorsByIntent, Map<String, Integer> entityErrorsByIntent)
-
Method Summary
Modifier and Type Method Description final Id<ApplicationDefinition>getApplicationId()final LocalegetLanguage()final InstantgetStartDate()final DurationgetBuildModelDuration()final DurationgetTestSentencesDuration()final IntegergetNbSentencesInModel()final IntegergetNbSentencesTested()final IntegergetNbErrors()final IntegergetIntentErrors()final IntegergetEntityErrors()final Map<String, Integer>getNbSentencesTestedByIntent()final Map<String, Integer>getIntentErrorsByIntent()final Map<String, Integer>getEntityErrorsByIntent()-
-
Constructor Detail
-
TestBuild
TestBuild(Id<ApplicationDefinition> applicationId, Locale language, Instant startDate, Duration buildModelDuration, Duration testSentencesDuration, Integer nbSentencesInModel, Integer nbSentencesTested, Integer nbErrors, Integer intentErrors, Integer entityErrors, Map<String, Integer> nbSentencesTestedByIntent, Map<String, Integer> intentErrorsByIntent, Map<String, Integer> entityErrorsByIntent)
-
-
Method Detail
-
getApplicationId
final Id<ApplicationDefinition> getApplicationId()
-
getLanguage
final Locale getLanguage()
-
getStartDate
final Instant getStartDate()
-
getBuildModelDuration
final Duration getBuildModelDuration()
-
getTestSentencesDuration
final Duration getTestSentencesDuration()
-
getNbSentencesInModel
final Integer getNbSentencesInModel()
-
getNbSentencesTested
final Integer getNbSentencesTested()
-
getNbErrors
final Integer getNbErrors()
-
getIntentErrors
final Integer getIntentErrors()
-
getEntityErrors
final Integer getEntityErrors()
-
getNbSentencesTestedByIntent
final Map<String, Integer> getNbSentencesTestedByIntent()
-
getIntentErrorsByIntent
final Map<String, Integer> getIntentErrorsByIntent()
-
getEntityErrorsByIntent
final Map<String, Integer> getEntityErrorsByIntent()
-
-
-
-