Skip to main content
added 31 characters in body; edited tags
Source Link
nbro
  • 41.4k
  • 12
  • 114
  • 205

I am trying to solve for lambda$\lambda$ using Temporal Difference Learningtemporal-difference learning. More specifically, I am trying to figure out what lambda$\lambda$ I need, to make TD(λ)=TD(1)

butsuch that $\text{TD}(\lambda)=\text{TD}(1)$, after one iteration. But I get the incorrect value of lambda$\lambda$.

Here is how I did:Here's my implementation.

The expected output is: 0.20550275877409016$0.20550275877409016$, but I am getting array([1., 1., 1., 1., 1., 1., 1., 1., 1., 1.])

I am just using TD(λ$\lambda$) for state 0 after one iteration. I am not required to see where it converges, so I don't update the value estimates.

I am trying to solve for lambda using Temporal Difference Learning I am trying to figure out what lambda I need, to make TD(λ)=TD(1)

but I get the incorrect value of lambda.

Here is how I did:

The expected output is: 0.20550275877409016 but I am getting array([1., 1., 1., 1., 1., 1., 1., 1., 1., 1.])

I am just using TD(λ) for state 0 after one iteration. I am not required to see where it converges, so I don't update the value estimates.

I am trying to solve for $\lambda$ using temporal-difference learning. More specifically, I am trying to figure out what $\lambda$ I need, such that $\text{TD}(\lambda)=\text{TD}(1)$, after one iteration. But I get the incorrect value of $\lambda$.

Here's my implementation.

The expected output is: $0.20550275877409016$, but I am getting array([1., 1., 1., 1., 1., 1., 1., 1., 1., 1.])

I am just using TD($\lambda$) for state 0 after one iteration. I am not required to see where it converges, so I don't update the value estimates.

deleted 171 characters in body
Source Link
Amanda
  • 205
  • 1
  • 5
probToState=0.64, 
valueEstimates={0.0,4.9,7.8,-2.3,25.5,-10.2,-6.5}
rewards={-2.4,9.6,-7.8,0.1,3.4,-2.1,7.9

enter image description here

probToState=0.64, 
valueEstimates={0.0,4.9,7.8,-2.3,25.5,-10.2,-6.5}
rewards={-2.4,9.6,-7.8,0.1,3.4,-2.1,7.9

enter image description here

deleted 1 character in body
Source Link
Amanda
  • 205
  • 1
  • 5

enter image description here

but I get the incorrect value of lambda.

but I get the incorrect value of lambda.

enter image description here

but I get the incorrect value of lambda.

added 122 characters in body
Source Link
Amanda
  • 205
  • 1
  • 5
Loading
deleted 349 characters in body
Source Link
Amanda
  • 205
  • 1
  • 5
Loading
added 45 characters in body
Source Link
Amanda
  • 205
  • 1
  • 5
Loading
deleted 311 characters in body
Source Link
Amanda
  • 205
  • 1
  • 5
Loading
added 321 characters in body
Source Link
Amanda
  • 205
  • 1
  • 5
Loading
added 161 characters in body
Source Link
Amanda
  • 205
  • 1
  • 5
Loading
added 60 characters in body
Source Link
Amanda
  • 205
  • 1
  • 5
Loading
Source Link
Amanda
  • 205
  • 1
  • 5
Loading