neural network in Matlab: vectors at output instead of a single concrete number
    조회 수: 6 (최근 30일)
  
       이전 댓글 표시
    
Hi, 
I would like to know how we can construct a neural network that for a given set of inputs gives a vector y depending on vector x. In this example both vectors x and y are put in the output part of the network. A trivial example would be to have a gaussian function as output for a given set of (mu,sigma) in input:
 (mu_1,sigma_1) -> gaussian y_1 as function of x_1
 (mu_2,sigma_2) -> gaussian y_2 as function of x_2
...
 (mu_n,sigma_n) -> gaussian y_n as function of x_n
In this example, the range of x-values would differ for each data set. To create the x vector, one can set x_min equal to the minimum of  x_1(1),...,x_n(1), and x_max equal to the maximum of  x_1(end),...,x_n(end). However, in my real test case, I don't work with an analytical  function, and creating a general x vector would require adding zeros to the y-values for values less than the x_i(1) and greater than x_i(end). Asking the network to correctly predict these zero values is neither wise nor time-efficient. 
Thanks in advance for your help
댓글 수: 0
답변 (1개)
  Nayan
    
 2023년 2월 22일
        Hey Mary, 
As I understand from your description, you want to design a neural network that outputs two set of vectors for a given input, where the two vectors(Y_ and X_) are correlated.
I would suggest you to go through the excellent matlab explanation on What Is a Neural Network? - MATLAB & Simulink (mathworks.com) to come up with your own design.
댓글 수: 0
참고 항목
카테고리
				Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

