1. 02 sept., 2011 1 validation
  2. 01 sept., 2011 13 validations
  3. 28 août, 2011 11 validations
  4. 27 août, 2011 2 validations
  5. 05 mai, 2010 1 validation
  6. 13 jan., 2008 1 validation
  7. 25 nov., 2007 3 validations
  8. 17 juil., 2007 1 validation
    • spottedMetal's avatar
      Added trivial grammar E_NP_ for testing. · 20ecaa25
      spottedMetal a écrit
      Fixed error in Chart parses method, where it would
      incorrectly return some parses that did not start at the beginning
      of the input (and therefore did not span the whole input).
      20ecaa25
  9. 13 juil., 2007 7 validations
    • spottedMetal's avatar
      Added functions variables, test_ask. · 551af9ab
      spottedMetal a écrit
      Corrected doctests for standardize_apart.
      
      Preliminary doctest examples for fol_bc_ask.
      
      Corrected error in the 'literals' function.
      
      In class FolKB, added doctest examples; added definition
      of method ask_generator.
      
      Added functions pretty, pretty_dict, pretty_set, pp;
      redefined ppdict, ppset, using pretty_dict and pretty_set.
      
      Cleaned up code, simplifying statements and comments.
      551af9ab
    • spottedMetal's avatar
      Added function subst_compose. · cbd652ff
      spottedMetal a écrit
      fol_bc_ask MIGHT be working now, in the form of returning a list of all 
      answers instead of yielding them one at a time.  Needs more testing.
      cbd652ff
    • spottedMetal's avatar
      Added functions: is_positive, is_negative, is_literal, · de8ded4a
      spottedMetal a écrit
      literals, is_definite_clause.
      
      Partially implemented FolKB class and function fol_bc_ask.
      
      Fixed errors in pl_resolution, standardize_apart.
      
      Fixed errors in doctest cases for dpll_satisfiable, unify, extend,
      and pl_resolve.
      
      Added functions ppsubst, ppdict, and ppset, and used to simplify doctest cases.
      de8ded4a
    • spottedMetal's avatar
      Added class BoolCpt. Its methods p and rand replace · 2bce0b3d
      spottedMetal a écrit
      functions condprob and condsamp.
      
      Added function event_values.
      
      In BayesNet class, initialize instance variable evidence.
      
      Simplified comments.
      2bce0b3d
    • spottedMetal's avatar
      Problem is now a new-style class · 5f06ca94
      spottedMetal a écrit
      5f06ca94
    • spottedMetal's avatar
      Implemented enumeration_ask algorithm, Fig. 14.9. · 4a1692b1
      spottedMetal a écrit
      Added methods to the BayesNet class to needed for
      enumeration_ask: variable_node, variables, variable_values.
      
      Added Fig. 14.11a sprinkler network.
      
      Completed/corrected prior_sample.
      
      Implemented rejection_sampling.
      
      The ProbDist normalize method now uses floating point division.
      
      Implemented likelihood_weighting.
      
      ProbDist constructor has an optional freqs (frequencies) argument.
      
      Added function condsamp (samples from a CPT).
      
      Additional doctest cases.
      4a1692b1
    • spottedMetal's avatar
      Comment changes in the successor method · b01f0102
      spottedMetal a écrit
      b01f0102