© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
H. Li, PhDNumerical Methods Using Kotlinhttps://doi.org/10.1007/978-1-4842-8826-9_5

5. Curve Fitting and Interpolation

Haksun Li, PhD1  
(1)
Hong Kong, China
 
The data that we usually observe consists of samples from a (often unobservable) population that we usually don’t have all the values for inputs. More often than not, we want to acquire values that are not directly observable or available in the samples. Techniques such as curve fitting and interpolation can help make educated guesses of the missing values to draw a line, i.e., a function, going through the data points. Values in between given data points can be estimated by evaluating the function at ...

Get Numerical Methods Using Kotlin: For Data Science, Analysis, and Engineering now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.