Commit 082f3cd44934fccc12b6ac5fd7e9a11e6b06ac5e

Authored by Tássia Camões Araújo
1 parent bfe34df2
Exists in master and in 1 other branch add_vagrant

small fix

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/experiments/strategies-suite.py
@@ -33,7 +33,7 @@ import Gnuplot @@ -33,7 +33,7 @@ import Gnuplot
33 def run_iteration(label,cfg,sample_proportion,n): 33 def run_iteration(label,cfg,sample_proportion,n):
34 rec = Recommender(cfg) 34 rec = Recommender(cfg)
35 repo_size = rec.items_repository.get_doccount() 35 repo_size = rec.items_repository.get_doccount()
36 - user = PopconSystem("/root/popularity-contest-tassia") 36 + user = RandomPopcon(cfg.popcon_dir,os.path.join(cfg.filters,"desktop"))
37 print "profile",user.pkg_profile 37 print "profile",user.pkg_profile
38 user.maximal_pkg_profile() 38 user.maximal_pkg_profile()
39 sample_size = int(len(user.pkg_profile)*sample_proportion) 39 sample_size = int(len(user.pkg_profile)*sample_proportion)