Concept Grid#

>>> from techminer2.tech_mining.pca.cooc_matrix.kmeans import concept_grid
>>> concept_grid(
...     #
...     # PARAMS:
...     field="author_keywords",
...     association_index=None,
...     #
...     # CONCEPT GRID PARAMS:
...     conserve_counters=True,
...     n_head=None,
...     fontsize="9",
...     #
...     # ITEM PARAMS:
...     top_n=20,
...     occ_range=(None, None),
...     gc_range=(None, None),
...     custom_items=None,
...     #
...     # PCA PARAMS:
...     n_components=5,
...     whiten=False,
...     svd_solver="auto",
...     pca_tol=0.0,
...     iterated_power="auto",
...     n_oversamples=10,
...     power_iteration_normalizer="auto",
...     random_state=0,
...     #
...     # KMEANS PARAMS:
...     n_clusters=6,
...     init="k-means++",
...     n_init=10,
...     max_iter=300,
...     kmeans_tol=0.0001,
...     algorithm="auto",
...     #
...     # DATABASE PARAMS:
...     root_dir="example/",
...     database="main",
...     year_filter=(None, None),
...     cited_by_filter=(None, None),
... ).render("sphinx/images/analyze/pca/cooc_matrix/kmeans/concept_grid", format="png")
'sphinx/images/analyze/pca/cooc_matrix/kmeans/concept_grid.png'
../../../../_images/concept_grid3.png