From 562d8da5597ec47252ca434326338429b646ba9b Mon Sep 17 00:00:00 2001 From: agordillo Date: Mon, 17 Apr 2017 10:30:40 +0200 Subject: [PATCH] Change default weights --- app/models/recommender_system.rb | 8 ++++---- config/application_config.yml.example | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/models/recommender_system.rb b/app/models/recommender_system.rb index e1fd047..3fc93ad 100644 --- a/app/models/recommender_system.rb +++ b/app/models/recommender_system.rb @@ -493,10 +493,10 @@ def self.getRSUserSetting(settingName,settingFamily,options={}) # The current default weights can be accesed in the EuropeanaRS::Application::config.weights variable. def self.defaultRSWeights { - :los_score => 0.4, - :us_score => 0.4, - :quality_score => 0.10, - :popularity_score => 0.10 + :los_score => 0.5, + :us_score => 0.5, + :quality_score => 0.0, + :popularity_score => 0.0 } end diff --git a/config/application_config.yml.example b/config/application_config.yml.example index 5fb458b..0368b91 100644 --- a/config/application_config.yml.example +++ b/config/application_config.yml.example @@ -44,10 +44,10 @@ development: require_key: "true" #if false, no app key would be required when using the EuropeanaRS API. weights: default_rs: - los_score: 0.4 - us_score: 0.4 - quality_score: 0.1 - popularity_score: 0.1 + los_score: 0.5 + us_score: 0.5 + quality_score: 0.0 + popularity_score: 0.0 default_los: title: 0.2 description: 0.15