Error on Specifying observation using rlFiniteSetSpec(Reinforcement Learning)
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Dongqi Liu
el 20 de Oct. de 2020
Comentada: Dongqi Liu
el 13 de Nov. de 2020
When creating a simulink environment , for specify observation infomation of 2x1 double input(such as [5.0 ; 2.287]) , I used rlFiniteSetSpec([1 1]). And i got a error said "Invalid observation type or size". Any suggestions and help would be appreciated!
0 comentarios
Respuesta aceptada
Emmanouil Tzorakoleftherakis
el 10 de Nov. de 2020
Hello,
The way you called rlFiniteSetSpec basically says that you have two observations and that they are both equal to 1. The values you are showing seem to be continuous though so I would recommend using rlNumericSpec instead.
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!