Click here to Skip to main content
15,946,342 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
'Interpolation' is a technique that is used to predict a null/empty value by studying its neighbouring points.

Interpolation doesn't take into consideration the entire dataset when predicting the missing value of a column. It only considers the values of the column that is being interpolated.

What I have tried:

So, how does this technique identify the null value's closest neighbours? How does a value that doesn't exist be considered for anything? What is its reference point?
Posted

1 solution

To interpolate, you need the "relative position" of the missing point, relative to the "two" points on "either side" of the missing value.

In other words, you can't interpolate unless you have at least 2 points to start with, and you know "about" where the missing value should be.

e.g. If the two points are 6 and 12, a missing "middle value" would be 6 + ((12-6) * .5) = 9.
 
Share this answer
 
Comments
CPallini 9-Nov-23 5:52am    
5.
Andre Oosthuizen 9-Nov-23 13:55pm    
And my 5!

Add your solution here

Plain Text
ASM
ASP
ASP.NET
BASIC
BAT
C#
C++
COBOL
CoffeeScript
CSS
Dart
dbase
F#
FORTRAN
HTML
Java
Javascript
Kotlin
Lua
MIDL
MSIL
ObjectiveC
Pascal
PERL
PHP
PowerShell
Python
Razor
Ruby
Scala
Shell
SLN
SQL
Swift
T4
Terminal
TypeScript
VB
VBScript
XML
YAML

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900