Jump to content

File:Radial Basis Function Interpolation Error.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 720 × 484 pixels, file size: 96 KB)

Summary

Description
English: Difference between the approximate and exact functions in File:Radial Basis Function Interpolation.svg
Date
Source Own work
Author Glosser.ca
SVG development
InfoField
 
The SVG code is valid.
 
This diagram was created with Mathematica.
Source code
InfoField

Mathematica code

rbf[\[Epsilon]_, x_] := Exp[-(\[Epsilon] x)^2];
g[x_] := Exp[x Cos[3 \[Pi] x]];

xs = Range[0, 14]/14;
ys = g[xs];

weights[\[Epsilon]_?InexactNumberQ] := LeastSquares[Outer[rbf[\[Epsilon], Abs[#1 - #2]] &, xs, xs], ys];
approx[\[Epsilon]_?InexactNumberQ] := weights[\[Epsilon]].rbf[\[Epsilon], x - xs];
error[\[Epsilon]_?InexactNumberQ] := NIntegrate[(g[x] - approx[\[Epsilon]])^2, {x, 0, 1}];

Plot[g[x] - approx[3], {x, 0, 1}]

See also

Radial Basis Function Interpolation.svg

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Error associated with [[:File:Radial Basis Function Interpolation.svg]]

Items portrayed in this file

depicts

13 October 2020

image/svg+xml

File history

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

Date/TimeThumbnailDimensionsUserComment
current04:41, 14 October 2020Thumbnail for version as of 04:41, 14 October 2020720 × 484 (96 KB)RayhemUse correct sign
04:36, 14 October 2020Thumbnail for version as of 04:36, 14 October 2020720 × 484 (98 KB)RayhemRemove thick border
04:33, 14 October 2020Thumbnail for version as of 04:33, 14 October 2020720 × 484 (98 KB)RayhemFix legend
03:50, 14 October 2020Thumbnail for version as of 03:50, 14 October 2020720 × 461 (97 KB)RayhemNew version incorrect
03:50, 14 October 2020Thumbnail for version as of 03:50, 14 October 2020720 × 461 (97 KB)RayhemThicken frame
03:45, 14 October 2020Thumbnail for version as of 03:45, 14 October 2020720 × 461 (97 KB)RayhemUploaded own work with UploadWizard

The following page uses this file:

Global file usage

The following other wikis use this file:

Metadata