aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sec_certs/model/references_nlp/__init__.py
blob: 8325c9898b1795e0101e516b39e0304c3cbd2e05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# ruff: noqa: F401
try:
    import catboost
    import optuna
    import plotly.express
    import setfit
    import sklearn
    import umap
except ImportError as e:
    print(e)
    print(
        "Requirements for ML annotation of references not met. Please install the 'nlp' extra, for example via: `pip install sec-certs[nlp]`."
    )