Class: TreeThinking::BinaryTree::Node

Inherits:
Struct
  • Object
show all
Defined in:
lib/tree_thinking/binary_tree.rb

Instance Attribute Summary collapse

Instance Attribute Details

#feature_idxObject

Returns the value of attribute feature_idx

Returns:

  • (Object)

    the current value of feature_idx



6
7
8
# File 'lib/tree_thinking/binary_tree.rb', line 6

def feature_idx
  @feature_idx
end

#operatorObject

Returns the value of attribute operator

Returns:

  • (Object)

    the current value of operator



6
7
8
# File 'lib/tree_thinking/binary_tree.rb', line 6

def operator
  @operator
end

#probablityObject

Returns the value of attribute probablity

Returns:

  • (Object)

    the current value of probablity



6
7
8
# File 'lib/tree_thinking/binary_tree.rb', line 6

def probablity
  @probablity
end

#resultsObject

Returns the value of attribute results

Returns:

  • (Object)

    the current value of results



6
7
8
# File 'lib/tree_thinking/binary_tree.rb', line 6

def results
  @results
end

#thresholdObject

Returns the value of attribute threshold

Returns:

  • (Object)

    the current value of threshold



6
7
8
# File 'lib/tree_thinking/binary_tree.rb', line 6

def threshold
  @threshold
end