def METHOD_NAME(triple, missingRate):
    gps = []
    for j in range(nSamples):
        if random.random() < missingRate:
            gps += [0, 0, 0]
        else:
            gps += triple
    return gps