def error_calculation_test(self):
        #dataPtsOrg  = [2.30,     .373,           .583,          1.88,  1.44,         -0.0852, -.341,  .619,  .131,  1.27, 0]
        #dataPtsCalc = [-1.21,   -.445,           .466,          .226, -.694,           -.575,  2.73, -1.49, -1.45, -.193, 0]

        tsOrg  = TimeSeries()
        tsCalc = TimeSeries()

        for idx in xrange(len(self.dataOrg)):
            tsOrg.add_entry(float(idx),  self.dataOrg[idx])
            tsCalc.add_entry(float(idx), self.dataCalc[idx])

        mad = MeanAbsoluteDeviationError()
        mad.initialize(tsOrg, tsCalc)

        # compare the strings due to accuracy
        self.assertEqual("0.3454", str(mad.get_error())[:6])
Get the time this direct message was posted, in seconds since the epoch.
dataset/ETHPy150Open T-002/pycast/pycast/tests/meanabsolutedeviationerrortest.py/MeanAbsoluteDeviationErrorTest.error_calculation_test--crossover with--dataset/ETHPy150Open livid/v2ex/twitter/twitter.py/DirectMessage.GetCreatedAtInSeconds