Orange: Interpolate

From OnnoWiki
Revision as of 11:31, 22 February 2020 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Sumber: https://orange.biolab.si/widget-catalog/time-series/interpolate/


Mengira-ngira nilai yang hilang dalam time series dengan interpolasi.

Input

Time series: Time series as output by As Timeseries widget.

Output

Time series: The input time series with the chosen default interpolation method for when the algorithms require interpolated time series (without missing values).
Interpolated time series: The input time series with any missing values interpolated according to the chosen interpolation method.

Sebagian besar algoritma deret waktu mengasumsikan, anda tidak memiliki nilai yang hilang dalam data anda. Dalam widget ini, anda dapat memilih metode interpolasi untuk mengira-ngira nilai yang hilang. Secara default, ini adalah interpolasi linier (cepat dan masuk akal).

Interpolate-stamped.png
  • Interpolation type. You can select one of linear, cubic spline, nearest, or mean interpolation:
    • Linear interpolation replaces missing values with linearly-spaced values between the two nearest defined data points.
    • Spline interpolation fits a cubic polynomial to the points around the missing values. This is a painfully slow method that usually gives best results.
    • Nearest interpolation replaces missing values with the previous defined value.
    • Mean interpolation replaces missing values with the series’ mean.
  • Multi-variate interpolation interpolates the whole series table as a two-dimensional plane instead of as separate single-dimensional series.

Nilai yang hilang pada nilai akhir series (awal dan ekor) selalu diinterpolasi menggunakan metode terdekat. Kecuali jika metode interpolasi diatur ke nearest, discrete time series (yaitu sequences) selalu dikaitkan dengan mode deret (most frequent value).

Contoh

Masukan sebuah time series dengan nilai yang hilang, memperoleh keluaran time series yang di interpolasi.

Interpolate-ex1.png


Referensi

Pranala Menarik