Example #1
0
    def test_RDMetrics(self):
        """ test_RDMetrics
        """
        rank, score = mt.rankCheckinProfile(self.klb.checkins, mt.RD_metrics)
        rank, score = mt.rankActiveDayProfile(self.klb.checkins, mt.RD_metrics)
        print 'RD - checkin'
        print pd.DataFrame(score, index=rank, columns=['score'])

        rank, score = mt.rankActiveDayProfile(self.klb.checkins, mt.RD_metrics)
        print 'RD - activeday'
        print pd.DataFrame(score, index=rank, columns=['score'])
        self.assertTrue(False)
Example #2
0
    def test_RDMetrics(self):
        """ test_RDMetrics
        """
        rank, score = mt.rankCheckinProfile(self.klb.checkins, mt.RD_metrics)
        rank, score = mt.rankActiveDayProfile(self.klb.checkins, mt.RD_metrics)
        print 'RD - checkin'
        print pd.DataFrame(score, index=rank, columns=['score'])

        rank, score = mt.rankActiveDayProfile(self.klb.checkins, mt.RD_metrics)
        print 'RD - activeday'
        print pd.DataFrame(score, index=rank, columns=['score'])
        self.assertTrue(False)
Example #3
0
    def test_RecencyMetrics(self):
        """ docstring for test_RecencyMetrics
        """
        rank, score = mt.rankCheckinProfile(self.klb.checkins, mt.recency_metrics)
        print 'recency - checkin'
        print pd.DataFrame(score, index=rank, columns=['score'])

        rank, score = mt.rankActiveDayProfile(self.klb.checkins, mt.recency_metrics)
        print 'recency - activeday'
        print pd.DataFrame(score, index=rank, columns=['score'])
        self.assertTrue(False)
Example #4
0
    def test_RecencyMetrics(self):
        """ docstring for test_RecencyMetrics
        """
        rank, score = mt.rankCheckinProfile(self.klb.checkins,
                                            mt.recency_metrics)
        print 'recency - checkin'
        print pd.DataFrame(score, index=rank, columns=['score'])

        rank, score = mt.rankActiveDayProfile(self.klb.checkins,
                                              mt.recency_metrics)
        print 'recency - activeday'
        print pd.DataFrame(score, index=rank, columns=['score'])
        self.assertTrue(False)