lib/newral/networks/network.rb
def connect( from: nil, to: nil )
        input_neuron = @neurons[ to ]
        output_neuron  = @neurons[ from ]
        input_neuron.add_input( output_neuron  )
      end
# specify the identifiers of the two neurons to connect
specify the identifiers of the two neurons to connect
specify the identifiers of the two neurons to connect
def connect( from: nil, to: nil )
        input_neuron = @neurons[ to ]
        output_neuron  = @neurons[ from ]
        input_neuron.add_input( output_neuron  )
      end
def connect ( from : nil , to : nil ) input_neuron = @neurons [ to ] output_neuron = @neurons [ from ] input_neuron . add_input ( output_neuron ) end
specify the identifiers of the two neurons to connect
specify the identifiers of the two neurons to connect
from
to