

def GetAdditionalModelPredictions(self, inBaseModelCalculation, inCoeffs, inDataCacheDictionary, inModel):
    if (inModel.GetDimensionality() == 2):
        if inModel.baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions:
            return self.ConvertInfAndNanToLargeNumber(((inBaseModelCalculation * inDataCacheDictionary['X']) + inCoeffs[(len(inCoeffs) - 1)]))
        else:
            return self.ConvertInfAndNanToLargeNumber(((inBaseModelCalculation * (inCoeffs[(len(inDataCacheDictionary) - 2)] * inDataCacheDictionary['X'])) + inCoeffs[(len(inCoeffs) - 1)]))
    elif inModel.baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions:
        return self.ConvertInfAndNanToLargeNumber(((inBaseModelCalculation * inDataCacheDictionary['XY']) + inCoeffs[(len(inCoeffs) - 1)]))
    else:
        return self.ConvertInfAndNanToLargeNumber(((inBaseModelCalculation * (inCoeffs[(len(inCoeffs) - 2)] * inDataCacheDictionary['XY'])) + inCoeffs[(len(inCoeffs) - 1)]))

dataset/ETHPy150Open zunzun/pyeq2/ExtendedVersionHandlers/ExtendedVersionHandler_LinearGrowthAndOffset.py ExtendedVersionHandler_LinearGrowthAndOffset.GetAdditionalModelPredictions/VarMisuse@87/157 `inCoeffs`->`inDataCacheDictionary`