Skip to content
This repository has been archived by the owner on Mar 1, 2018. It is now read-only.

Commit

Permalink
Use comments to name subquotas in classifier file
Browse files Browse the repository at this point in the history
  • Loading branch information
Irio committed Jan 19, 2017
1 parent 3ef70ee commit 1dc60bd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rosie/monthly_subquota_limit_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@ def fit(self, X):
def transform(self, X=None):
self.limits = [
{
'subquota': 'Automotive vehicle renting or watercraft charter',
# Automotive vehicle renting or charter
'data': self._X.query('(subquota_number == "120") & (reimbursement_month >= datetime(2015, 4, 1))'),
'monthly_limit': 1090000,
},
{
'subquota': 'Taxi, toll and parking',
# Taxi, toll and parking
'data': self._X.query('(subquota_number == "122") & (reimbursement_month >= datetime(2015, 4, 1))'),
'monthly_limit': 270000,
},
{
'subquota': 'Fuels and lubricants',
# Fuels and lubricants
'data': self._X.query('(subquota_number == "3") & (reimbursement_month >= datetime(2015, 10, 1))'),
'monthly_limit': 600000,
},
{
'subquota': 'Security service provided by specialized company',
# Security service provided by specialized company
'data': self._X.query('(subquota_number == "8") & (reimbursement_month >= datetime(2015, 4, 1))'),
'monthly_limit': 870000,
},
{
'subquota': 'Participation in course, talk or similar event',
# Participation in course, talk or similar event
'data': self._X.query('(subquota_number == "137") & (reimbursement_month >= datetime(2015, 11, 1))'),
'monthly_limit': 769716,
},
Expand Down

0 comments on commit 1dc60bd

Please sign in to comment.