code: def __init__(self, nin, nonlin=True):
      self.w = [Value(random.uniform(-1, 1)) for _ in range(nin)]
      self.b = Value(0)
      self.nonlin = nonlin
  
imports: import random
  from micrograd.engine import Value
label_desc: Use image node_id 1 to create a new Neuron object from inherited base classes: Module with example: obj = Neuron(nin, nonlin)