Half (0.5)

Inputs

Outputs

  • Half

Neuron type

Best algorithm has been found - locked

Patterns

Pattern Input Output
1.
Half: .5

Applicable neurons

  • 5
  • character .
  • Connect - two inputs

Algorithm

Test

Code made by AI:
/**
 * character .: 
 *
 * @return {Array}
 */
function neuron510()
{
return['.'];
}

/**
 * 5: 
 *
 * @return {Array}
 */
function neuron505()
{
return [5];
}

/**
 * Connect - two inputs: 
 *
 * @param x1 Variable A
 * @param x2 Variable B
 * @return {Array}
 */
function neuron520(x1, x2)
{
return [x1.toString()+x2.toString()];
}

/**
 * Half (0.5): 
 * 
 * @return {Array}
 */
function neuron522()
{
  var outputs = [];

  arr = neuron510();
  outputs[0] = arr[0];

  arr = neuron505();
  outputs[1] = arr[0];

  arr = neuron520(outputs[0], outputs[1]);
  outputs[2] = arr[0];

  return[outputs[2]];
}


Code made by AI:

Create your family tree for free