

def CalculateModelPredictions(self, inCoeffs, inDataCacheDictionary):
    x_in = inDataCacheDictionary['X']
    a = inCoeffs[0]
    b = inCoeffs[1]
    c = inCoeffs[2]
    d = inCoeffs[3]
    try:
        temp = ((d * (numpy.power((x_in * c), (a - 1.0)) * numpy.power((1.0 - (x_in * c)), (b - 1.0)))) / (numpy.power(((a - 1.0) / ((a + b) - 2.0)), (a - 1.0)) * numpy.power(((b - 1.0) / ((a + b) - 2.0)), (b - 1.0))))
        return self.extendedVersionHandler.GetAdditionalModelPredictions(temp, inCoeffs, inDataCacheDictionary, self)
    except:
        return (numpy.ones(len(inDataCacheDictionary['DependentData'])) * 1e+300)

dataset/ETHPy150Open zunzun/pyeq2/Models_2D/Peak.py UVEDFruitGrowthRateScaledB.CalculateModelPredictions/original