As a beginning, we need a function create_submission, able to create a well-formated submission from predictions made by the model (we must be able to submit it on Kaggle without making any manual change).
For example
import tools
from model import CardifChallengeLogReg
...
model = CardifChallengeLogReg(**kwargs)
model.train(X_train, y_train)
y_pred = model.predict(X_test)
*tools.create_submission(y_pred)*
As a beginning, we need a function create_submission, able to create a well-formated submission from predictions made by the model (we must be able to submit it on Kaggle without making any manual change).
For example