TroglodyteDerivations commited on
Commit
e035579
1 Parent(s): 9ff167f

Updated line 185 with: st.write(f"Intrinsic Reward @ {count} @ Coordinates {x,y} rounded 4 decimal places:", np.round(intrinsic_reward,4))

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -182,7 +182,7 @@ x,y = 0,0
182
  irc = ConcreteIntrinsicRewardCalculator()
183
  intrinsic_reward = irc.calculate_intrinsic_reward(0.1, 7035, 1e-5)
184
  st.write(f"Intrinsic Reward @ {count} @ Coordinates {x,y}:", intrinsic_reward)
185
- st.write(f"Intrinsic Reward @ {count} @ Coordinates {x,y} rounded 2 decimal places:", np.round(intrinsic_reward,2))
186
  # Populate the DataFrame with the calculated intrinsic reward
187
  df_0_0 = irc.populate_df_0_0(df_0_0, eta, count, epsilon)
188
  # Display the updated DataFrame
 
182
  irc = ConcreteIntrinsicRewardCalculator()
183
  intrinsic_reward = irc.calculate_intrinsic_reward(0.1, 7035, 1e-5)
184
  st.write(f"Intrinsic Reward @ {count} @ Coordinates {x,y}:", intrinsic_reward)
185
+ st.write(f"Intrinsic Reward @ {count} @ Coordinates {x,y} rounded 4 decimal places:", np.round(intrinsic_reward,4))
186
  # Populate the DataFrame with the calculated intrinsic reward
187
  df_0_0 = irc.populate_df_0_0(df_0_0, eta, count, epsilon)
188
  # Display the updated DataFrame