| Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) | 
![]()  | 
	
| 		
			
			 | 
		#1 | 
| 
			
			 初级会员 
			
			
			
			注册日期: 2007-05-26 
				
				
				
					帖子: 3
				 
				
				
				声望力: 0 ![]()  | 
	
	
	
		
		
			
			 
			
			net=newff([1 10],[10 1], {'tansig','purelin'},'trainlm'); 
		
		
		
		
		
		
		
	net=init(net) net.trainParam.show=50; net.trainParam.epochs=10000; net.trainParam.goal=0.01; net.trainParam.lr=0.01; net=train(net,p,t); save moxing net 其中p205*10,t是205*1, 运行后出现??? Error using ==> network.train Inputs are incorrectly sized for network. Matrix must have 1 rows. 什么原因?? 谢谢了!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 		
			
			 | 
		#2 | 
| 
			
			 初级会员 
			
			
			
			注册日期: 2008-11-11 
				
				年龄: 48 
				
					帖子: 21
				 
				
				
				声望力: 17 ![]()  | 
	
	
	
		
		
			
			 
			
			将训练数据转置一下,即可
		 
		
		
		
		
		
		
		
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 |