Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

matplotlib smooth loss curves

from scipy.signal import savgol_filter
y_smooth = savgol_filter(y, 51, 3) # window size 51, polynomial order 3
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #matplotlib #smooth #loss #curves
ADD COMMENT
Topic
Name
9+9 =