More descriptions
This commit is contained in:
parent
1c9cdf497b
commit
58221e304a
|
@ -44,4 +44,7 @@ def is_restaurant_open(name, open, close) -> Prediction:
|
||||||
|
|
||||||
|
|
||||||
def do_just_eat_strat(context: Context) -> Prediction:
|
def do_just_eat_strat(context: Context) -> Prediction:
|
||||||
|
"""
|
||||||
|
Is this random Kiosk in Vester Alle open?
|
||||||
|
"""
|
||||||
return is_restaurant_open('stop2shop', 12, 23)
|
return is_restaurant_open('stop2shop', 12, 23)
|
||||||
|
|
|
@ -44,6 +44,9 @@ def predict(X):
|
||||||
|
|
||||||
|
|
||||||
def perform_svm_pred(context: Context) -> Prediction:
|
def perform_svm_pred(context: Context) -> Prediction:
|
||||||
|
"""
|
||||||
|
An SVM trained on two data points, which is capable of guessing 0.5 no matter what.
|
||||||
|
"""
|
||||||
p = Prediction()
|
p = Prediction()
|
||||||
data = requests.get('https://portal.opendata.dk/api/3/action/datastore_search?resource_id=2a82a145-0195-4081-a13c-b0e587e9b89c')
|
data = requests.get('https://portal.opendata.dk/api/3/action/datastore_search?resource_id=2a82a145-0195-4081-a13c-b0e587e9b89c')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue