File:Plot of noisy data + Gaussian fit + plot ressduals.svg

Original file(SVG file, nominally 540 × 810 pixels, file size: 32 KB)

Summary

Description
English: Fitting to noisy data is common in science and in machine learning. When a function - here a Gaussian function - is fit to noisy data, we want to know how good this fit is. One way is to plot the residuals, i.e., data y values minus predictions of fitted functions. Top panel shows noisy data in red plus a fit of a Gaussian function in green, while bottom panel shows a plot of the residuals in red plus a fit of a straight line (blue dashed) to the residuals. Note that the residuals are small in comparison to the values of the data (note that the two y scales are different), and the slope of the fit to the residuals is small - there is little trend in the residuals. Small residuals plus little or no trend in the residuals suggests that the Gaussian function is a good fit to the data.
Date
Source Own work
Author Rpsear

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Captions

Top plot is noisy data (red) plus a fit of a Gaussian function, bottom is plot of fit residuals (red) plus fit of straight line

10 January 2024

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current13:12, 10 January 2024Thumbnail for version as of 13:12, 10 January 2024540 × 810 (32 KB)RpsearUploaded own work with UploadWizard
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file:

Metadata