algo/IBDT.py
def updatePursuitPrior(self) -> None:
        """Calculates mean of all ?but last window values.

        :return:
        """
        #TODO refactor whole method to list comprehension
        previousLikelihoods = []
        for index in range(0, len(self.window)-1):
            d = self.window[index]
            previousLikelihoods.append(d.pursuit.likelihood)

        self.cur.pursuit.prior = np.mean(previousLikelihoods)
Calculates mean of all ?but last window values.

        :return:
        
Calculates mean of all ?but last window values.
Calculates mean of all ?but last window values .
def updatePursuitPrior(self) -> None:
        previousLikelihoods = []
        for index in range(0, len(self.window)-1):
            d = self.window[index]
            previousLikelihoods.append(d.pursuit.likelihood)
        self.cur.pursuit.prior = np.mean(previousLikelihoods)
def updatePursuitPrior ( self ) -> None : previousLikelihoods = [ ] for index in range ( 0 , len ( self . window ) - 1 ) : d = self . window [ index ] previousLikelihoods . append ( d . pursuit . likelihood ) self . cur . pursuit . prior = np . mean ( previousLikelihoods )
Calculates mean of all ?but last window values.
Calculates mean of all ?but last window values .
"""Calculates mean of all ?but last window values.

        :return:
        """ #TODO refactor whole method to list comprehension
None
self