Package aima.core.util.math

Examples of aima.core.util.math.Matrix.inverse()


      O_tmd = e_tmd_to_t.get(0);
      // <b>f</b> <- FORWARD(<b>f</b>, e<sub>t-d</sub>)
      f = forward(f, O_tmd);
      // <b>B</b> <-
      // <b>O</b><sup>-1</sup><sub>t-d</sub><b>B</b><b>T</b><b>O</b><sub>t</sub>
      B = O_tmd.inverse().times(hmm.getTransitionModel().inverse())
          .times(B).times(hmm.getTransitionModel()).times(O_t);
    } else {
      // else <b>B</b> <- <b>BTO</b><sub>t</sub>
      B = B.times(hmm.getTransitionModel()).times(O_t);
    }
View Full Code Here


      // uses the latest perception.
      evidenceFromSmoothedStepToPresent.remove(0);
      Matrix O_t_minus_d = hmm.sensorModel().asMatrix(
          evidenceFromSmoothedStepToPresent.get(0));

      B = O_t_minus_d.inverse().times(
          transitionMatrix.inverse().times(
              B.times(transitionMatrix.times(O_t))));

    } else {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.