Good Afternoon I'm new to neural network and MATLAB. I'm try to make neural network to predict Core Facies (e.g. I have 8 facies) in oil field from wireline log (10 wireline logs).
I have many questions and i would be appreciate if someone can help me.
First, How to structure or format my input and output data to be loaded into MatLab? Which type of neural network should I use? Before runing the ANN, how can I rank my wireline log to selected as my input? Finally, the number of target/output, will be 8 outputs of it will be only one?
I would be appreciate any answer.
Regards, Ghalia

 채택된 답변

Greg Heath
Greg Heath 2014년 11월 4일

2 개 추천

[ I N ] = size(input) % I = 10
[ O N ] = size(target) % O = 8
% Find h by trial and error to minimize MSE
net = fitnet(h);
[ net tr y e ] = train(net,input,target); % e=target-y
MSE = mse(e)
For details search
greg fitnet Ntrials
Hope this helps
Thank you for formally accepting my answer
Greg

추가 답변 (2개)

Greg Heath
Greg Heath 2014년 11월 16일

1 개 추천

You are correct: Use patternnet for classification/pattern-recognition.
Sorry for the oversight. Number of classes c = 8
[ I N ] = size(input) % I = 10
[ c N ] = size(target) % c = 8
Columns of target are {0,1} unit vectors with
target = ind2vec(trueclassindices)
sum(target) = ones(1,N)
where
trueclassindices = vec2ind(target)
% Find H by trial and error to minimize MSE (error rates are not differentiable)
net = patternnet(h)
[ net tr y e ] = train(net,input,target); % e=target-y
MSE = mse(e)
predictedclassindices = vec2ind(y)
totalerrors = predictedclassindices~= trueclassindices; %{0,1}vector
% From this (0,1) vector individual class errors can be obtained. Additional info can be obtained from the training record tr.
For details search
greg patternnet Ntrials
Hope this helps
Greg

댓글 수: 1

Hi, I have input = 220x25 and target = 220x1
I'm trying follow your this code
[ I N ] = size(input)
[ O N ] = size(target)
But the resul I got is N = 1, N = 220, O = 220. this is right ?

댓글을 달려면 로그인하십시오.

Ghalia Al-Alawi
Ghalia Al-Alawi 2014년 11월 15일

0 개 추천

thanks for your reply. But which neural net should I use for the prediction since I want to predict these facies in uncored wells. Should I use fitnet or pattannet?
Regards, Ghalia

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

태그

질문:

2014년 11월 3일

댓글:

2018년 11월 22일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by