title: svmtrain in matlab - the constraints are not restrictive enough.
body: <p>I am using svmtrain in matlab with <strong>MLP kernel</strong> like this:</p>
  
  <pre><code>mlp=svmtrain(train_data,train_label,'Kernel_Function','mlp','showplot',true);
  </code></pre>
  
  <p>But I get this error:</p>
  
  <pre><code>??? Error using ==&gt; svmtrain at 470
  Unable to solve the optimization problem:
  Exiting: the solution is unbounded and at infinity;
  the constraints are not restrictive enough.
  </code></pre>
  
  <p>What is the reason? I tried other kernels, there was not any error.
  Even I tried the answer of <a href="https://stackoverflow.com/questions/6560031/svmtrain-unable-to-solve-the-optimization-problem">svmtrain - unable to solve the optimization problem</a> as follows:</p>
  
  <pre><code>options = optimset('maxiter',1000);
  svmtrain(train_data,train_label,'Kernel_Function','mlp','Method','QP',...
  'quadprog_opts',options);
  </code></pre>
  
  <p>but again I have got the same error.
  My training set is a simple 45*2 data set of 2 class data points. </p>