protected boolean learnFromEpoch() {
        sampleIndex = 0;
        epoch++;
        if (sse < 0.001d || isHalted()) {
            return haltCalibration();
        }
        myNetwork.learnFromErrors();
        if (!isRunning()) {
            if (interruptCalibration()) {
                return true;
            }
        }
        sse = 0d;
        return false;
    }