def random_partition(n,n_data):
    all_idxs = numpy.arange( n_data )
    numpy.random.shuffle(all_idxs)
    idxs1 = all_idxs[:n]
    idxs2 = all_idxs[n:]
    return idxs1, idxs2
Actually instantiate a new node. This might spin up an ec2/rds instance
dataset/ETHPy150Open jesolem/PCV/PCV/tools/ransac.py/random_partition--crossover with--dataset/ETHPy150Open winhamwr/neckbeard/neckbeard/cloud_provisioners/base.py/BaseNodeDeployment.create_new_node