# 需要导入模块: import model [as 别名]
# 或者: from model import predict [as 别名]
def DNN(X, y, X_ind, y_ind, out, is_reg=False):
"""Cross Validation and independent set test for fully connected deep neural network
Arguments:
X (ndarray): Feature data of training and validation set for cross-validation.
m X n matrix, m is the No. of samples, n is the No. of fetures
y (ndarray): Label data of training and validation set for cross-validation.
m X t matrix if it is for multi-task model,
m is the No. of samples, n is the No. of tasks or classes;
m-D vector if it is only for single task model, and m is the No. of samples.
X_ind (ndarray): Feature data of independent test set for independent test.
It has the similar data structure as X.
y_ind (ndarray): Feature data of independent set for for independent test.
It has the similar