>>> from techminer2.tech_mining.svd.cooc_matrix.kmeans import treemap
>>> treemap(
... #
... # PARAMS:
... field="nlp_phrases",
... association_index=None,
... #
... # FIGURE PARAMS:
... title=None,
... #
... # 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),
... ).write_html("sphinx/_static/analyze/svd/cooc_matrix/kmeans/treemap.html")