首先通过构造一个函数的有限集替代动态规划中的条件期望,其次使用蒙特卡洛模拟和最小二乘法计算第一步中的值函数。
First, in this algorithm, the condition expectation in the dynamic programming principle is replaced by projections on a finite set of functions.
这个行为在DI世界中称作构造函数注入,因为实例是通过一个构造函数传递的。
This behavior is referred to in the DI world as constructor injection, because the instance is passed through one of the constructors.
然后我通过向名为KeyParameter的类的构造函数传递一个key参数创建一个名为kp的对象。
I then create an object named KP by passing the key parameter to the constructor of a class named KeyParameter.
应用推荐