Commit 8f1f8dc7 authored by Alexander Lercher's avatar Alexander Lercher

Uncommented similarity calculation

parent b3e1053d
...@@ -54,7 +54,7 @@ def main(): ...@@ -54,7 +54,7 @@ def main():
limitNrCluster = -1 #per Layer # 0< equals noLimit limitNrCluster = -1 #per Layer # 0< equals noLimit
limitNrNodes = -1 #per Layer limitNrNodes = -1 #per Layer
"""
layerDict = getClusterDataFromMongo(layerNameList,limitNrCluster,limitNrNodes) layerDict = getClusterDataFromMongo(layerNameList,limitNrCluster,limitNrNodes)
#URLlist = None #URLlist = None
...@@ -90,7 +90,7 @@ def main(): ...@@ -90,7 +90,7 @@ def main():
#Output to DB #Output to DB
outputMongoConnClustDict(layerDict,runId) outputMongoConnClustDict(layerDict,runId)
outputMongoSimilarity(similarityDict,runId) outputMongoSimilarity(similarityDict,runId)
"""
#Currently not used in the calculation of connections/similarity, developed for possible future uses #Currently not used in the calculation of connections/similarity, developed for possible future uses
#connClustersFromMongo = getConnClusterDataFromMongo() #connClustersFromMongo = getConnClusterDataFromMongo()
...@@ -98,8 +98,8 @@ def main(): ...@@ -98,8 +98,8 @@ def main():
#similarityArrFromMongo = getSimilarityDataFromMongo("Price_Layer") # only 220 similarities, but there are about 20 clusters total #similarityArrFromMongo = getSimilarityDataFromMongo("Price_Layer") # only 220 similarities, but there are about 20 clusters total
#similarityArrFromMongo = getSimilarityDataFromMongo("Destination_Layer") # ~2.500k similarities #similarityArrFromMongo = getSimilarityDataFromMongo("Destination_Layer") # ~2.500k similarities
similarityArrFromMongo = getSimilarityDataFromMongo("FinishedTime_Layer")# should have the rest of similarities => 15.000k #similarityArrFromMongo = getSimilarityDataFromMongo("FinishedTime_Layer")# should have the rest of similarities => 15.000k
connectedRunFromMongo = getConnectedRunDataFromMongo() #connectedRunFromMongo = getConnectedRunDataFromMongo()
print("FINISHED") print("FINISHED")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment