Skip to content
Advertisement

how to save space training

I have written an intent classification program. This is first trained with training data and then tested with test data. The training process takes a few seconds. What is the best way to save such a training, so that it does not have to be trained again with every call? Is it enough to save train_X and train_y? or does the model have to be saved somehow?

JavaScript

Advertisement

Answer

From what I gather you are trying to save the data so every time you run the program you don’t need to calculate it again. The best I can do is suggest you write the data to a dedicated text file to serve as a data dump.

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement