Clusters to Terms MappingΒΆ
Example
>>> from techminer2.packages.networks.co_occurrence.descriptors import ClustersToTermsMapping
>>> mapping = (
... ClustersToTermsMapping()
... #
... # FIELD:
... .having_terms_in_top(20)
... .having_terms_ordered_by("OCC")
... .having_term_occurrences_between(None, None)
... .having_term_citations_between(None, None)
... .having_terms_in(None)
... #
... # COUNTERS:
... .using_term_counters(True)
... #
... # NETWORK:
... .using_clustering_algorithm_or_dict("louvain")
... .using_association_index("association")
... #
... # DATABASE:
... .where_root_directory_is("examples/fintech/")
... .where_database_is("main")
... .where_record_years_range_is(None, None)
... .where_record_citations_range_is(None, None)
... .where_records_match(None)
... #
... .run()
... )
>>> from pprint import pprint
>>> pprint(mapping)
{0: ['FINTECH 38:6131',
'THE_FINANCIAL_INDUSTRY 09:2006',
'BANKS 08:1049',
'DATA 07:1086',
'CONSUMERS 07:0925',
'PRACTITIONER 06:1194',
'THE_IMPACT 06:0908',
'THE_FINANCIAL_SECTOR 05:1147',
'INFORMATION_TECHNOLOGY 05:1101',
'FINTECH_COMPANIES 05:1072'],
1: ['TECHNOLOGIES 15:1633',
'FINANCIAL_TECHNOLOGIES 12:1615',
'FINANCE 10:1188',
'THE_DEVELOPMENT 09:1293',
'INNOVATION 08:1816',
'REGULATORS 08:0974',
'THE_FINANCIAL_SERVICES_INDUSTRY 06:1237',
'FINANCIAL_SERVICES 06:1116',
'SERVICES 06:1089',
'CHINA 06:0673']}