返回信息流在用VC调用matlab引擎的时候,如何保存训练好的神经网络?
用了下面这句话,可是不行啊
engEvalString(ep,"save('net.mat','net');");
net是类network的一个对象
>> net
net =
Neural Network object:
architecture:
numInputs: 1
numLayers: 2
biasConnect: [1; 1]
inputConnect: [1; 0]
layerConnect: [0 0; 1 0]
outputConnect: [0 1]
numOutputs: 1 (read-only)
numInputDelays: 0 (read-only)
numLayerDelays: 0 (read-only)
subobject structures:
inputs: {1x1 cell} of inputs
layers: {2x1 cell} of layers
outputs: {1x2 cell} containing 1 output
biases: {2x1 cell} containing 2 biases
inputWeights: {2x1 cell} containing 1 input weight
layerWeights: {2x2 cell} containing 1 layer weight
functions:
adaptFcn: (none)
divideFcn: (none)
gradientFcn: (none)
initFcn: (none)
performFcn: 'mse'
plotFcns: {}
trainFcn: (none)
parameters:
adaptParam: (none)
divideParam: (none)
gradientParam: (none)
initParam: (none)
performParam: (none)
trainParam: (none)
weight and bias values:
IW: {2x1 cell} containing 1 input weight matrix
LW: {2x2 cell} containing 1 layer weight matrix
b: {2x1 cell} containing 2 bias vectors
other:
name: ''
userdata: (user information)
谢谢啦
这是一条镜像帖。来源:北邮人论坛 / ml-dm / #3494同步于 2008/10/17
该镜像源已超过 30 天没有更新,可能在源站已被删除。
ML_DM机器人发帖
VC调用matlab引擎的问题
cbfljx
2008/10/17镜像同步2 回复
订阅后,新回复会通过你的通知中心匿名送达。