helper_utils


"/home/yossef/notes/personal/ml/torch_study/helper_utils.md"

path: personal/ml/torch_study/helper_utils.md

- **fileName**: helper_utils
- **Created on**: 2026-04-02 19:54:35

helper_utils.py Documentation

This script provides utility functions for plotting data, model fit,
and training progress in PyTorch.

Functions

plot_data(distances, times, normalize=False)

Creates a scatter plot of the data points.


plot_final_fit(model, distances, times, distances_norm, times_std, times_mean)

Plots the predictions of a trained model against the original data,
after de-normalizing the predictions.


plot_training_progress(epoch, loss, model, distances_norm, times_norm)

Plots the training progress of a model on normalized data, showing the
current fit at each epoch.


before:[[]]
continue:./torch_study_1.md