Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way of tracking results during fit() function #13

Open
OleGunvaldsen opened this issue Jan 19, 2023 · 1 comment
Open

No way of tracking results during fit() function #13

OleGunvaldsen opened this issue Jan 19, 2023 · 1 comment

Comments

@OleGunvaldsen
Copy link

There are currently no way of tracking accuracy, loss etc when running the tm.fit function. This makes the training and testing a black box without any information as to how many epochs is sufficient, how the loss and accuracy develop during training, and how changing the hyperparameters and data format impacts the training.

@olegranmo
Copy link
Member

Hi Ole! Thanks for the question. I guess you currently have to implement it yourself. Split the training data into smaller pieces, and then do fit with the incremental option on. Then you can track the progress in smaller steps
tm.fit(small_piece_of_X_train, small_piece_of_Y_train, epochs=1, incremental=True)

To get the accuracy between calling fit on each data chunk, you can have a small test:
result = 100*(tm.predict(small_X_test) == small_Y_test).mean()
and print out the accuracy.

Would that help solve the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants