# "<http://www.grid.ac/institutes/grid.4808.4>"], targets, output=True) """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """ PLOT THE LINK NETWORK """ """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" size = 7 ls_4 = "http://risis.eu/lens/union_Grid_20170712_Eter_2014_Orgreg_20170718_N1655042445" ls_5 = "http://risis.eu/lens/union_Eter_2014_Orgreg_20170718_Grid_20170712_N2030153069" ls_1k = "http://risis.eu/lens/union_Eter_2014_Orgreg_20170718_Grid_20170712_P1640316176" ls_app = "http://risis.eu/lens/union_Eter_2014_Orgreg_20170718_Grid_20170712_N1942436340" ls_app_50m = "http://risis.eu/lens/union_Grid_20170712_Eter_2014_Orgreg_20170718_P571882700" directory = "C:\Users\Al\Videos\LinkMetric\Test-2" Plt.cluster_d_test(ls_app_50m, network_size=3, targets=targets, directory=directory, greater_equal=False, limit=70000, activated=False) # # GEO-SIMILARITY OF NEARBY [1 KILOMETER] # # REFINED BY EXACT MATCHED # # ==> UNION OF 8 LINKSETS # union_03 = "http://risis.eu/lens/union_Eter_2014_Orgreg_20170718_Grid_20170712_P1476302481" # directory = "C:\Users\Al\Videos\LinkMetric\Test-3" # Plt.cluster_d_test(union_03, network_size=3, targets=targets, # directory=directory, greater_equal=False, limit=70000, activated=False) # track(directory, "Academy of Fine Arts Vienna", activated=False) """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """ # RUN 00: GEO-SIMILARITY OF NEARBY [50 meters BEFORE] """ """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """"""
# THE OUTPUT DIRECTORY directory = "C:\Productivity\LinkAnalysis\ISWC2018\Netherlands_name" # THE LENS TO USE FOR NETWORK EXTRACTION lens = "union_Eter_2014_LeidenRanking_2015_Grid_20170712_H2020_Orgref_20170703_Orgreg_20170718_P1768695787" union = "http://risis.eu/lens/{}".format(lens) """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """"" # PLOT THE GRAPHS TO FILE AND ALSO OUTPUT A TEXT VERSION # GENERATE AN EVALUATION SHEET """ """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" "" Plt.cluster_d_test(union, network_size=net_size, network_size_max=net_max_size, targets=Data.targets, constraint_targets=Data.targets_constraints, constraint_text="NL, Netherlands", directory=directory, greater_equal=greater_equal, limit=None, activated=False) """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """"" # EVALUATION SHEET SUMMARY # """ """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" "" """EXAMPLE""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """" EVALUATION SHEET SUMMARY FOR: 5_2_ClusterSheet_20180301.txt MACHINE GOOD 14 HUMAN GOOD 14 TRUE POSITIVE 13 FALSE POSITIVE 1 MACHINE BAD 1 HUMAN BAD 1 PRECISION 0.929 RECALL 0.929 MACHINE ACCEPTABLE 0 HUMAN ACCEPTABLE 0 FALSE NEGATIVE 1 TRUE NEGATIVE 0 MACHINE UNCERTAIN 0 HUMAN UNCERTAIN 0 F MEASURE 0.929 TOTAL 15 TOTAL 15
# THE OUTPUT DIRECTORY directory = "C:\Productivity\LinkAnalysis\TRIAL-2" directory_2 = "C:\Productivity\LinkAnalysis\TRIAL-5" # THE LENS TO USE FOR NETWORK EXTRACTION lens = "union_LeidenRanking_2015_Grid_20170712_Orgref_20170703_Orgreg_20170718_Eter_2014_H2020_P1908729565" union = "http://risis.eu/lens/{}".format(lens) # PLOT THE GRAPHS TO FILE AND ALSO OUTPUT A TEXT VERSION # GENERATE AN EVALUATION SHEET for i in range(7, 8): print "\nITERATION {}".format(i) Plt.cluster_d_test(union, network_size=i, targets=Data.targets, directory=directory, greater_equal=greater_equal, limit=None, activated=True) # GET STATISTICS ON NETWORK EVALUATION IN TERMS OF GOOD/ACCEPTABLE - BAD AND UNDECIDABLE size = 6 year = "20180206" year_2 = "20180204" check_folder = lens set_0 = join(directory, "{}_Analysis_{}\{}".format(size, year, check_folder)) set_1 = join(directory_2, "{}_Analysis_{}\{}".format(size, year_2, check_folder)) Functions.folder_check(set_0, set_0, diff_1=True,
"C:\Productivity\RQT", activated=False) """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """"" # PLOT FOR OPENAIRE DATATHON EMBEDDED LINKS """ """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" "" net_size = 3 net_max_size = 11 embedded_dir = open_aire_dir.format("Embedded_True") embedded_linkset = "subset_openAire_20180219_openAire_20180219_embededAlignment_OrganizationEntity_sameAs_N2115119541" embedded_linkset = "http://risis.eu/linkset/{}".format(embedded_linkset) Plt.cluster_d_test(embedded_linkset, network_size=net_size, network_size_max=net_max_size, targets=Data.targets_openaire, constraint_targets=None, constraint_text=None, directory=embedded_dir, greater_equal=greater_equal, limit=None, only_good=True, activated=True) """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """"" # PLOT FOR OPENAIRE DATATHON """ """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" """""" "" open_aire_dir = "C:\Productivity\LinkAnalysis\D2SOpenAire\Cluster" open_aire_cluster = "clustered_exactStrSim_N1245386587321660737" cluster = "http://risis.eu/linkset/{}".format(open_aire_cluster) open_aire_lens_dir = "C:\Productivity\LinkAnalysis\D2SOpenAire\Lens" open_aire_lens = "union_Grid_20170712_H2020_Orgref_20170703_OpenAire_20180219_N2036353171593472993" lens = "http://risis.eu/lens/{}".format(open_aire_lens)
# """""""""""""""""""""""""""""""""""""""""""""""" # PLOT THE LINK NETWORK OF 50 METERS BEFORE # 92 CLUSTERS OF SIZE 3 FOUND # 63 CLUSTERS OF SIZE 4 FOUND # 16 CLUSTERS OF SIZE 5 FOUND # """""""""""""""""""""""""""""""""""""""""""""""" lens50before = lens_prefix.format( "union_Eter_2014_Grid_20170712_Orgreg_20170718_P1611822898") Plt.cluster_d_test(lens50before, network_size=3, network_size_max=0, targets=Data.targets, constraint_targets=None, constraint_text=None, directory=directory, greater_equal=False, limit=None, only_good=False, activated=True) # """""""""""""""""""""""""""""""""""""""""""""""" # PLOT THE LINK NETWORK OF 50 METERS AFTER # 31 CLUSTERS OF SIZE 3 FOUND # 04 CLUSTERS OF SIZE 4 FOUND # 00 CLUSTERS OF SIZE 5 FOUND # """""""""""""""""""""""""""""""""""""""""""""""" lens50after = lens_prefix.format( "union_Eter_2014_Grid_20170712_Orgreg_20170718_N287253238")