Can I use neural network in this case?

can I use neural networks or svm or etc, if my output data is 27680 that all of them are zero and just one of them is one? I mean that Is it right to do this?
when I use SVM I have this error: Error using seqminopt>seqminoptImpl (line 198) No convergence achieved within maximum number of iterations.
thanks

6 Comments

Insufficient information on what the inputs and targets are as well as the size of the input and target matrices
[I N ] = size(input)
[ O N ] = size(target)
thaks Greg
hi I think I could not explain my question well. my input matrices is X that is M*2 and my output matrices is Y that is M*1 .... (M=29345) ..imagin that Y=zeros(M,1) and Y(1000,1)=1 I mean that just one of my outputs data is ONE and the rest are ZERO...so Can I use neural network for this?
Is it just and reasonable to use neural network for examples like this?
I mean that if I want to train this network and my input (features or observed variables) of network is X and is 27680*2 and my output of network is Y (target) and is 27680*1 ....when I want to use data for Y, it has 27679 zeros and only one value equals to 1...Can I use neural network or SVM and etc? Is it right
I still do not understand. What problem are you trying to solve?
What is X ... position on a flat image?
What is Y ... Y = 1 indicates the location of something?
sara
sara on 30 Mar 2015
Edited: sara on 30 Mar 2015
ok, just reply to this question. I have two class A and B to seperate (A is shown with zero and B shown whit one) that when we see dataset in all cases classA has 27679 zeros and classB has 1 one(only the place of 1 is changing in these cases,all the time we have 27679 zeros and 1 one)...in all the time for all data examples we have this 27679 zeros and just 1 one...I want to know for project like this can SVM or neural networks get right solution? please note to this image
you can see we have one data that is in classB and all the rest data is in classA.....I hope I could explain my
WHAT ARE THE DIMENSIONS OF THE CLASS a POINT? I CAN'T FIND IT.

Answers (0)

This question is closed.

Asked:

on 27 Mar 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!