From 0d18b2c7e7f85b366dae4dbc4ee4271f10054633 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Fri, 5 Nov 2010 09:44:07 -0600 Subject: [PATCH] removing un-required defrecord --- neural_net/core.clj | 8 -------- 1 file changed, 8 deletions(-) diff --git a/neural_net/core.clj b/neural_net/core.clj index 9bdb174..a056dca 100644 --- a/neural_net/core.clj +++ b/neural_net/core.clj @@ -57,14 +57,6 @@ (inputs [this] (count (set (filter (comp number? first) this)))) (outputs [this] (count (set (filter (comp number? second) this))))) -(defrecord Neural [spec] - NeuralElement - (spec [this] spec) - (run [this x] (run this x)) - (learn [this d] (learn this d)) - (inputs [this] (inputs spec)) - (outputs [this] (outputs spec))) - ;;; example usage (comment ;; show the numbers of inputs and outputs of some networks -- 2.11.4.GIT