Created
January 27, 2020 12:48
-
-
Save cosmic-cortex/b6da9ae5855f63933ee6d863b7a3e116 to your computer and use it in GitHub Desktop.
Abstract interface for the machine learning model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Model: | |
def train(self, X, y): | |
pass | |
def predict(self, X): | |
pass | |
def save(self): | |
pass | |
def load(self): | |
pass | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment