v59

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-07227318504.9 KB
classifier

Returns statistics of the dataset that would be created with these parameters

post/classifier/project/{proj_id}/datasetstatistics2

Path parameters

proj_idinteger required

Query parameters

model'document' | 'sentence' | 'span' required
base_model_namestring required
merge_children_into_parentboolean

Request body

tag_idsinteger[] required
user_idsinteger[] required
class_idsinteger[] required

Response

Successful Response

total_unitsinteger required

Total number of units (tokens / sentences / documents) in the dataset

labeled_unitsinteger required

Number of units with a non-O label in the dataset

signal_percentagenumber required

Percentage of labeled units relative to all units (training signal)

signal_strength'weak' | 'ok' | 'strong' required
weak_signal_thresholdnumber required

Signal percentage below which the training signal is considered weak

strong_signal_thresholdnumber required

Signal percentage above which the training signal is considered strong