def getTransitionFeaturesRF(traxelA, traxelB, transitionClassifier, probGenerator, max_state):
    """
    Get the transition probabilities by predicting them with the classifier
    """
    feats = [probGenerator.getTraxelFeatureDict(obj.Timestep, obj.Id) for obj in [traxelA, traxelB]]
    featVec = probGenerator.getTransitionFeatureVector(feats[0], feats[1], transitionClassifier.selectedFeatures)
    probs = transitionClassifier.predictProbabilities(featVec)[0]
    return [probs[0]] + [probs[1]] * (max_state - 1)