Themes#

>>> from techminer2.science_mapping.topic_modeling.lda import themes
>>> themes(
...     #
...     # TF PARAMS:
...     field="author_keywords",
...     is_binary=True,
...     cooc_within=1,
...     #
...     n_top_terms=5,
...     #
...     # ITEM FILTERS:
...     top_n=None,
...     occ_range=(None, None),
...     gc_range=(None, None),
...     custom_items=None,
...     #
...     # LDA PARAMS:
...     n_components=10,
...     learning_decay=0.7,
...     learning_offset=50.0,
...     max_iter=10,
...     batch_size=128,
...     evaluate_every=-1,
...     perp_tol=0.1,
...     mean_change_tol=0.001,
...     max_doc_update_iter=100,
...     random_state=0,
...     #
...     # DATABASE PARAMS:
...     root_dir="example/",
...     database="main",
...     year_filter=(None, None),
...     cited_by_filter=(None, None),
... )
                         TH_0  ...                      TH_9
0             FINTECH 31:5168  ...           FINTECH 31:5168
1          BLOCKCHAIN 03:0369  ...        INNOVATION 07:0911
2  FINANCIAL_SERVICES 04:0667  ...    DIGITALIZATION 03:0434
3        CASE_STUDIES 03:0442  ...     POPULAR_PRESS 02:0181
4      MOBILE_PAYMENT 03:0309  ...  CONTENT_ANALYSIS 02:0181

[5 rows x 10 columns]