>>> from techminer2.tech_mining.svd.tfidf_matrix.kmeans import to_brute_force_labels
>>> to_brute_force_labels(
... #
... # PARAMS:
... field="nlp_phrases",
... #
... # TF PARAMS:
... is_binary=True,
... cooc_within=1,
... #
... # TF-IDF parameters:
... norm=None,
... use_idf=False,
... smooth_idf=False,
... sublinear_tf=False,
... #
... # ITEM PARAMS:
... top_n=20,
... occ_range=(None, None),
... gc_range=(None, None),
... custom_items=None,
... #
... # SVD PARAMS:
... n_components=5,
... algorithm_svd="randomized",
... n_iter=5,
... n_oversamples=10,
... power_iteration_normalizer="auto",
... random_state=0,
... tol=0.0,
... #
... # KMEANS PARAMS:
... n_clusters=6,
... init="k-means++",
... n_init=10,
... max_iter=300,
... kmeans_tol=0.0001,
... algorithm_kmeans="auto",
... #
... # DATABASE PARAMS:
... root_dir="example/",
... database="main",
... year_filter=(None, None),
... cited_by_filter=(None, None),
... )
{'AUTHOR 18:2443': 0, 'FINANCIAL_TECHNOLOGY 17:2225': 0, 'RESULTS 11:1810': 0, ...