examples/xor.rb in brainz-0.1.2 vs examples/xor.rb in brainz-0.1.3

- old
+ new

@@ -1,6 +1,6 @@ -require_relative '../lib/brainz' +require 'brainz' # XOR problem brainz = Brainz::Brainz.new @@ -9,6 +9,6 @@ that(1, 0).is(1) that(0, 1).is(1) that(0, 0).is(0) end -p "Learning took #{brainz.last_iterations}, error: #{brainz.error}, time: #{brainz.learning_time} s." \ No newline at end of file +p "Learning took #{brainz.last_iterations}, error: #{brainz.error}, time: #{brainz.learning_time} s."