MAIF / melusine

📧 Melusine: Use python to automatize your email processing workflow
https://maif.github.io/melusine
Other
352 stars 58 forks source link

train.py "clean_text" should be text_input_column from init #63

Closed LuisBlanche closed 4 years ago

LuisBlanche commented 4 years ago

When using NeuralModel with a dataframe that does not have a 'clean_text' column name (ex: on 'clean_body') it will send an error.

https://github.com/MAIF/melusine/blob/553eb4067a8227b2b65b5a0e992cac8a3166b7c6/melusine/models/train.py#L421-L423

TFA-MAIF commented 4 years ago

Thank you Luis for this notification. We just merged a fix.