标签:import 数据分析 def 函数 sha dom shape rand [1]
import numpy.random
def shuffleData(data):
np.random.shufflr(data)
cols=data.shape[1]
X=data[:,0:cols-1]
Y=data[:,cols-1:]
return X,Y
标签:import 数据分析 def 函数 sha dom shape rand [1]
原文地址:https://www.cnblogs.com/Lee-yl/p/9068597.html