Skip to content

Commit

Permalink
Docummenting function
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascarvalhoroncoroni committed Nov 15, 2017
1 parent 2b72cf1 commit c9eb968
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 0 deletions.
Binary file not shown.
Binary file modified mainProject/SFAnalytics/__pycache__/views.cpython-36.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions mainProject/SFAnalytics/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,7 @@ def __precisionPorcentage(self, resultingTestFeaturesMatrix, resultingTargetTest
return float('{0:.4f}'.format((hitCounter/totalEntries)*100))

def precisionPorcentageVector(self, decisionTree):
"""This method calculates the precision porcentage of the algorithm"""
softwaresTestCount = len(self.softwareFeaturesMatrix)
malwaresTestCount = len(self.malwareFeaturesMatrix)
precisionVector = []
Expand Down

0 comments on commit c9eb968

Please sign in to comment.