Names Default To Here( 1 );
// Create an Example data table
dt = currentdatatable();
// Get the names of the columns in the data table
colNames = dt << get column group( "WLS" );
nIters = 2;
Neural(
Y( :Type ),
X(eval(colNames)),
Validation Method( "KFold", 5 ),
Set Random Seed( 2 ),
for( k=1, k <= nIters, k++, Fit( NTanH ( 2 ) ) ),
);
我正在尝试使用附加脚本来拟合 1 个以上的神经模型。 如果我写了几次 Fit( NTanH(2)) 而不是 for 循环,它工作正常,但是使用 for 循环我无法让它工作。 有什么建议吗? 谢谢!