What is the meaning of 'm_missing' values

#1

What is the meaning of the values returned by Timeseries.missing()?
The doc says it’s an array of byte, in my metric evaluation I see values like 100, 58, 0, 8, 91!

0 Likes

#2
  /**
   * Returns a timeseries where every value is between 0 and 100 representing the percentage of missing data for that interval.
   *
   * Example: `missing(normalized.data.quantity)`, `missing(SOME_METRIC)`
   *
   * @param timeseries
   *        input timeseries
   * @return a timeseries where every value is between 0 and 100 representing the percentage of missing data for that interval.
   */
  missing: function(timeseries: !Timeseries): !Timeseries
1 Like

#3

And you should not be using m_missing or m_data but the corresponding exposed methods such as .data(), .missing(), …

1 Like

#4

Thanks @rohit.sureka.
On which type is this documentation? because I’m see the following with c3ShowType(Timeseries)

/**
 * Calculated the fraction of each data point that is a missing
 *
 * @return The array of fractions of the data points that is missing
 */
missing: member function(): [byte]
0 Likes

#5

The documentation I pasted is available at c3ShowType(ExpressionEngineFunction)

0 Likes

#6

@rohit.sureka
Are those 2 functions the same? One is in the expression engine, one is a member function on the c3 type Timeseries. We should align documentation.

0 Likes

#7

Yes that’s definitely confusion, one gives less information than the other!

0 Likes