File size: 1,022 Bytes
edf1149
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# DEPENDENCIES
from .settings import *
from .model_config import *
from .threshold_config import *


# Export everything
__all__ = ["ModelType", 
           "ModelConfig", 
           "MODEL_REGISTRY", 
           "MODEL_GROUPS", 
           "DEFAULT_MODEL_WEIGHTS", 
           "get_model_config", 
           "get_required_models",
           "get_models_by_priority", 
           "get_models_by_group", 
           "get_total_size_mb",
           "get_required_size_mb", 
           "print_model_summary", 
           "get_spacy_download_commands",
           "settings",
           "Settings",
           "Domain",
           "ConfidenceLevel",
           "MetricThresholds", 
           "DomainThresholds",
           "DEFAULT_THRESHOLDS", 
           "THRESHOLD_REGISTRY", 
           "CONFIDENCE_RANGES",
           "get_threshold_for_domain", 
           "get_confidence_level", 
           "adjust_threshold_by_confidence",
           "interpolate_thresholds", 
           "get_active_metric_weights",
          ]