MAIF / melusine

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

Cross Validation #126

Closed CameliaSNCF closed 2 years ago

CameliaSNCF commented 2 years ago

Python version : 3.8.10

Melusine version : 2.3.2

Operating System : Windows

Hello, I would like to implement the technique of cross-validation to validate my results with the neural network but I have this error :

erreur1

erreur2

Is Melusine not compatible with cross_val ?

Best regards, Camelia

CameliaSNCF commented 2 years ago

Here is how I initialize the model for reference :

erreur3

CameliaSNCF commented 2 years ago

This issue has been resolved, there was an error in the melusine code : "self.bert_tokenizer=bert_tokenizer" was missing from NeuralModel.init()

Best regards Camelia

TFA-MAIF commented 2 years ago

Hello Camelia,

Thank you for this interesting remark. As we are going through modifications for the new version, we will try to add this fix.

Best regards