title: How to build a Neural Network to multiply two numbers
body: <p>I am trying to build a neural network which would multiply 2 numbers. To do the same, I took help of scikit-learn. I am going for a neural network with 2 hidden layers, (5, 3) and ReLU as my activation function.</p>
  
  <p>I have defined my <code>MLPRegressor</code> as follows:</p>
  
  <pre><code>X = data.drop('Product', axis=1)
  y = data['Product']
  X_train, X_test, y_train, y_test = train_test_split(X, y)
  scaler = StandardScaler()
  scaler.fit(X_train)
  
  X_train = scaler.transform(X_train)
  X_test = scaler.transform(X_test)
  mlp = MLPRegressor(hidden_layer_sizes=(5, 3), activation="relu", learning_rate="adaptive", max_iter=500000, verbose=True, validation_fraction=0.25)
  </code></pre>
  
  <p>Here, <code>data</code> is the dataframe which contains the 3 columns, 2 random numbers and 1 Product column. 
  The issue is the loss that I get is of order 10^14. How do I reduce this loss, improve my model performance and what all possible changes can help me out in this situation?</p>