Skip to content

Commit

Permalink
update weights
Browse files Browse the repository at this point in the history
  • Loading branch information
pamepeixinho committed Nov 16, 2017
1 parent 2b2315d commit 91ae6de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Controllers/EvaluatorController.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self, complex_network=None):
self.complex_network = complex_network
self.nlp_module = NlpModule(weight=10, complex_network=complex_network)
self.low_coupling_module = LowCouplingModule(weight=3)
self.understanding_module = UnderstandingModule(weight=1)
self.understanding_module = UnderstandingModule(weight=3)

@staticmethod
def get_recommendation_code(request_id, query, libs, comments, language):
Expand Down
2 changes: 1 addition & 1 deletion src/Modules/UnderstandingModule.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class UnderstandingModule(AbstractModule):
D = 10
E = 100

def __init__(self, internal_weights=[1, 1], weight=1):
def __init__(self, internal_weights=[3, 1], weight=1):
AbstractModule.__init__(self, internal_weights, weight)
self.sum_internal_weights = sum(self.internal_weights)

Expand Down

0 comments on commit 91ae6de

Please sign in to comment.