Permalink
Browse files

modified files

  • Loading branch information...
1 parent 82f051d commit 4ee2347eb44d87f776f9ed2a46889b2abc091a5b @kykamath committed Oct 18, 2012
@@ -67,6 +67,7 @@
f_impact_of_using_location_to_predict_hashtag_with_mc_simulation = analysis_folder%\
'impact_using_mc_simulation/impact_using_mc_simulation'
f_location_clusters = analysis_folder%'location_clusters/location_clusters'
+
def with_gaussian_kde(y_values, x_range = (-1,1,100)):
density = gaussian_kde(y_values)
xs = np.linspace(*x_range)
@@ -950,6 +951,10 @@ def temp2():
# savefig(output_file_format%data['hashtag'])
# break;
@staticmethod
+ def location_clusters():
+ for data in FileIO.iterateJsonFromFile(f_location_clusters, remove_params_dict=True):
+ print data
+ @staticmethod
def run():
# PredictHashtagsForLocationsPlots.performance_by_varying_num_of_hashtags()
# PredictHashtagsForLocationsPlots.performance_by_varying_prediction_time_interval()
@@ -962,15 +967,17 @@ def run():
# PredictHashtagsForLocationsPlots.impact_of_using_location_to_predict_hashtag_with_mc_simulation_gaussian_kde()
# PredictHashtagsForLocationsPlots.impact_of_using_location_to_predict_hashtag_with_mc_simulation_cdf()
- PredictHashtagsForLocationsPlots.impact_of_using_location_to_predict_hashtag_with_mc_simulation_cdf_multi()
+# PredictHashtagsForLocationsPlots.impact_of_using_location_to_predict_hashtag_with_mc_simulation_cdf_multi()
# PredictHashtagsForLocationsPlots.impact_of_using_location_to_predict_hashtag_with_mc_simulation_examples()
# PredictHashtagsForLocationsPlots.example_of_hashtag_propagation_patterns()
# PredictHashtagsForLocationsPlots.perct_of_hashtag_lifespan_vs_perct_of_hashtag_occurrences()
# PredictHashtagsForLocationsPlots.temp1()
+
+ PredictHashtagsForLocationsPlots.location_clusters()
if __name__ == '__main__':
- MRAnalysis.run()
-# PredictHashtagsForLocationsPlots.run()
+# MRAnalysis.run()
+ PredictHashtagsForLocationsPlots.run()

0 comments on commit 4ee2347

Please sign in to comment.