public void startMultipulLearning(){
        double error = 1;
        int flag=1;
        int incValuesPos=0;
        while(flag!=0){
            flag=0;
            for(incValuesPos = 0;incValuesPos<incomeParamsArrLearn.size();incValuesPos++){
                for(int i=0;i<incomeLayoutNeuronCount;i++){
                    incomeLayout.get(i).setValue(0,incomeParamsArrLearn.get(incValuesPos).getParams().get(i));
                }
                countNeuralValues();
                outNeuron.countOutcomeValue();
                error = Math.abs(0.5-outNeuron.getOutcomeValue());
                if (maxError<error) {flag=1;}
                if(maxError<error){
                    backpropagationMethod();
                    applyNewKoef();
                    countNeuralValues();
                    outNeuron.countOutcomeValue();
                    error = Math.abs(0.5-outNeuron.getOutcomeValue());
                }
            }
        }
    }