NathanRxl / bnp-cardif-challenge

After deadline Kaggle Competition, Master's Data Science, 2017
0 stars 0 forks source link

Make a Submissioner operational #2

Closed NathanRxl closed 7 years ago

NathanRxl commented 7 years ago

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)*