Module: Idhja22

Defined in:
lib/idhja22.rb,
lib/idhja22/tree.rb,
lib/idhja22/bayes.rb,
lib/idhja22/dataset.rb,
lib/idhja22/version.rb,
lib/idhja22/tree/node.rb,
lib/idhja22/dataset/datum.rb,
lib/idhja22/dataset/errors.rb,
lib/idhja22/binary_classifier.rb,
lib/idhja22/dataset/tree_methods.rb

Defined Under Namespace

Classes: Bayes, BinaryClassifier, Dataset, DecisionNode, IncompleteTree, LeafNode, Node, Tree

Constant Summary collapse

VERSION =
"2.0.1"

Class Method Summary collapse

Class Method Details

.configObject



15
16
17
# File 'lib/idhja22.rb', line 15

def self.config
  @cached_config ||= Configuration.for('default')
end

.configure(&block) ⇒ Object



11
12
13
# File 'lib/idhja22.rb', line 11

def self.configure(&block)
  @cached_config = Configuration.for('default', &block)
end