Epoch 200: Loss = 0.02100197970867157
Epoch 300: Loss = 0.01152981910854578
Epoch 400: Loss = 0.006329738534986973
Epoch 500: Loss = 0.0034749575424939394
Epoch 600: Loss = 0.0019077073084190488
Epoch 700: Loss = 0.001047312980517745
Epoch 800: Loss = 0.0005749554838985205
Epoch 900: Loss = 0.0003156439634039998
Epoch 1000: Loss = 0.00017328384274151176
Invoking: `Python_REPL` with `x_test.item()`
The prediction for x = 5 is 10.000173568725586.
> Finished chain.
'The prediction for x = 5 is 10.000173568725586.'
previous
PowerBI Dataset Agent
next
Spark Dataframe Agent
 Contents
  
Using ZERO_SHOT_REACT_DESCRIPTION
Using OpenAI Functions
Fibonacci Example
Training neural net
By Harrison Chase
    
      © Copyright 2023, Harrison Chase.
      
  Last updated on Jun 16, 2023.
rtdocs_stable/api.python.langchain.com/en/stable/modules/agents/toolkits/examples/python.html