public class TestBuild
A build used to test the model.
| Constructor and Description |
|---|
TestBuild(org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> applicationId,
java.util.Locale language,
java.time.Instant startDate,
java.time.Duration buildModelDuration,
java.time.Duration testSentencesDuration,
int nbSentencesInModel,
int nbSentencesTested,
int nbErrors,
int intentErrors,
int entityErrors,
java.util.Map<java.lang.String,java.lang.Integer> nbSentencesTestedByIntent,
java.util.Map<java.lang.String,java.lang.Integer> intentErrorsByIntent,
java.util.Map<java.lang.String,java.lang.Integer> entityErrorsByIntent)
A build used to test the model.
|
| Modifier and Type | Method and Description |
|---|---|
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> |
component1()
The application id to test.
|
int |
component10()
Number of entity errors
|
java.util.Map<java.lang.String,java.lang.Integer> |
component11()
Number of sentences tested by intent.
|
java.util.Map<java.lang.String,java.lang.Integer> |
component12()
Number of intent errors by intent.
|
java.util.Map<java.lang.String,java.lang.Integer> |
component13()
Number of entity errors by intent.
|
java.util.Locale |
component2()
The tested language.
|
java.time.Instant |
component3()
Start of the build.
|
java.time.Duration |
component4()
Duration of the build.
|
java.time.Duration |
component5()
Duration of sentences tests.
|
int |
component6()
Number of sentences included in the model.
|
int |
component7()
Number of sentences tested.
|
int |
component8()
Number of errors.
|
int |
component9()
Number of intent errors.
|
TestBuild |
copy(org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> applicationId,
java.util.Locale language,
java.time.Instant startDate,
java.time.Duration buildModelDuration,
java.time.Duration testSentencesDuration,
int nbSentencesInModel,
int nbSentencesTested,
int nbErrors,
int intentErrors,
int entityErrors,
java.util.Map<java.lang.String,java.lang.Integer> nbSentencesTestedByIntent,
java.util.Map<java.lang.String,java.lang.Integer> intentErrorsByIntent,
java.util.Map<java.lang.String,java.lang.Integer> entityErrorsByIntent)
A build used to test the model.
|
boolean |
equals(java.lang.Object p) |
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> |
getApplicationId()
The application id to test.
|
java.time.Duration |
getBuildModelDuration()
Duration of the build.
|
int |
getEntityErrors()
Number of entity errors
|
java.util.Map<java.lang.String,java.lang.Integer> |
getEntityErrorsByIntent()
Number of entity errors by intent.
|
int |
getIntentErrors()
Number of intent errors.
|
java.util.Map<java.lang.String,java.lang.Integer> |
getIntentErrorsByIntent()
Number of intent errors by intent.
|
java.util.Locale |
getLanguage()
The tested language.
|
int |
getNbErrors()
Number of errors.
|
int |
getNbSentencesInModel()
Number of sentences included in the model.
|
int |
getNbSentencesTested()
Number of sentences tested.
|
java.util.Map<java.lang.String,java.lang.Integer> |
getNbSentencesTestedByIntent()
Number of sentences tested by intent.
|
java.time.Instant |
getStartDate()
Start of the build.
|
java.time.Duration |
getTestSentencesDuration()
Duration of sentences tests.
|
int |
hashCode() |
java.lang.String |
toString() |
public TestBuild(@NotNull
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> applicationId,
@NotNull
java.util.Locale language,
@NotNull
java.time.Instant startDate,
@NotNull
java.time.Duration buildModelDuration,
@NotNull
java.time.Duration testSentencesDuration,
int nbSentencesInModel,
int nbSentencesTested,
int nbErrors,
int intentErrors,
int entityErrors,
@NotNull
java.util.Map<java.lang.String,java.lang.Integer> nbSentencesTestedByIntent,
@NotNull
java.util.Map<java.lang.String,java.lang.Integer> intentErrorsByIntent,
@NotNull
java.util.Map<java.lang.String,java.lang.Integer> entityErrorsByIntent)
A build used to test the model.
applicationId - The application id to test.language - The tested language.startDate - Start of the build.buildModelDuration - Duration of the build.testSentencesDuration - Duration of sentences tests.nbSentencesInModel - Number of sentences included in the model.nbSentencesTested - Number of sentences tested.nbErrors - Number of errors.intentErrors - Number of intent errors.entityErrors - Number of entity errorsnbSentencesTestedByIntent - Number of sentences tested by intent.intentErrorsByIntent - Number of intent errors by intent.entityErrorsByIntent - Number of entity errors by intent.@NotNull public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> getApplicationId()
The application id to test.
@NotNull public java.util.Locale getLanguage()
The tested language.
@NotNull public java.time.Instant getStartDate()
Start of the build.
@NotNull public java.time.Duration getBuildModelDuration()
Duration of the build.
@NotNull public java.time.Duration getTestSentencesDuration()
Duration of sentences tests.
public int getNbSentencesInModel()
Number of sentences included in the model.
public int getNbSentencesTested()
Number of sentences tested.
public int getNbErrors()
Number of errors.
public int getIntentErrors()
Number of intent errors.
public int getEntityErrors()
Number of entity errors
@NotNull public java.util.Map<java.lang.String,java.lang.Integer> getNbSentencesTestedByIntent()
Number of sentences tested by intent.
@NotNull public java.util.Map<java.lang.String,java.lang.Integer> getIntentErrorsByIntent()
Number of intent errors by intent.
@NotNull public java.util.Map<java.lang.String,java.lang.Integer> getEntityErrorsByIntent()
Number of entity errors by intent.
@NotNull public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> component1()
The application id to test.
@NotNull public java.util.Locale component2()
The tested language.
@NotNull public java.time.Instant component3()
Start of the build.
@NotNull public java.time.Duration component4()
Duration of the build.
@NotNull public java.time.Duration component5()
Duration of sentences tests.
public int component6()
Number of sentences included in the model.
public int component7()
Number of sentences tested.
public int component8()
Number of errors.
public int component9()
Number of intent errors.
public int component10()
Number of entity errors
@NotNull public java.util.Map<java.lang.String,java.lang.Integer> component11()
Number of sentences tested by intent.
@NotNull public java.util.Map<java.lang.String,java.lang.Integer> component12()
Number of intent errors by intent.
@NotNull public java.util.Map<java.lang.String,java.lang.Integer> component13()
Number of entity errors by intent.
@NotNull public TestBuild copy(@NotNull org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> applicationId, @NotNull java.util.Locale language, @NotNull java.time.Instant startDate, @NotNull java.time.Duration buildModelDuration, @NotNull java.time.Duration testSentencesDuration, int nbSentencesInModel, int nbSentencesTested, int nbErrors, int intentErrors, int entityErrors, @NotNull java.util.Map<java.lang.String,java.lang.Integer> nbSentencesTestedByIntent, @NotNull java.util.Map<java.lang.String,java.lang.Integer> intentErrorsByIntent, @NotNull java.util.Map<java.lang.String,java.lang.Integer> entityErrorsByIntent)
A build used to test the model.
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)