Skip to content

Commit

Permalink
Change default weights
Browse files Browse the repository at this point in the history
  • Loading branch information
agordillo committed Apr 17, 2017
1 parent 97685ba commit 562d8da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions app/models/recommender_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions config/application_config.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 562d8da

Please sign in to comment.