test/neural_network/hopfield_test.rb in ai4r-1.9 vs test/neural_network/hopfield_test.rb in ai4r-1.11

- old
+ new

@@ -7,11 +7,11 @@ # # You can redistribute it and/or modify it under the terms of # the Mozilla Public License version 1.1 as published by the # Mozilla Foundation at http://www.mozilla.org/MPL/MPL-1.1.txt -require File.dirname(__FILE__) + '/../../lib/ai4r' +require 'ai4r' require 'test/unit' Ai4r::NeuralNetwork::Hopfield.send(:public, *Ai4r::NeuralNetwork::Hopfield.protected_instance_methods) module Ai4r @@ -67,6 +67,6 @@ assert_equal @data_set.data_items[3], net.eval(p) end end end -end \ No newline at end of file +end