Skip to content

Commit

Permalink
Fix catboost version
Browse files Browse the repository at this point in the history
  • Loading branch information
akarazeev committed Oct 22, 2018
1 parent 9186fb7 commit 3fad51f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ def text_handler(bot, update):
'row1': [data['month'], data['day'], data['temp'], data['RH'], data['speed'], data['rain']]
}
sample = pd.DataFrame.from_dict(sample, orient='index')
print(sample)
# prediction = model.predict(sample)
prediction = [4.0]
# print(sample)
prediction = model.predict(sample)
# prediction = [4.0]

data['firearea'] = round(prediction[0])
data['nearest'] = round(min_distance(float(location['latitude']), float(location['longitude']))[0])
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
asn1crypto==0.24.0
catboost==0.10.3
catboost==0.4.1
certifi==2018.10.15
cffi==1.11.5
chardet==3.0.4
Expand Down

0 comments on commit 3fad51f

Please sign in to comment.