You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
414 B
18 lines
414 B
6 years ago
|
from models import Model
|
||
|
import utils
|
||
|
|
||
|
# Paste your model here:
|
||
|
class CustomModel(Model):
|
||
|
|
||
|
def __init__(self):
|
||
|
super()
|
||
|
# Use self.state to store results of your learning
|
||
|
# It will be saved in filesystem and loaded after server restart
|
||
|
self.state = {}
|
||
|
|
||
|
async def fit(self, dataframe, segments):
|
||
|
pass
|
||
|
|
||
|
async def predict(self, dataframe):
|
||
|
return []
|