<< Chapter < Page Chapter >> Page >

For example, one may choose to learn a linear model of the form

s t + 1 = A s t + B a t ,

using an algorithm similar to linear regression. Here, the parameters of the model are the matrices A and B , and we can estimate them using the data collected from our m trials, by picking

arg min A , B i = 1 m t = 0 T - 1 s t + 1 ( i ) - A s t ( i ) + B a t ( i ) 2 .

(This corresponds to the maximum likelihood estimate of the parameters.)

Having learned A and B , one option is to build a deterministic model, in which given an input s t and a t , the output s t + 1 is exactly determined. Specifically, we always compute s t + 1 according to Equation  [link] . Alternatively, we may also build a stochastic model, in which s t + 1 is a random function of the inputs, by modelling it as

s t + 1 = A s t + B a t + ϵ t ,

where here ϵ t is a noise term, usually modeled as ϵ t N ( 0 , Σ ) . (The covariance matrix Σ can also be estimated from data in a straightforward way.)

Here, we've written the next-state s t + 1 as a linear function of the current state and action; but of course, non-linear functions are also possible.Specifically, one can learn a model s t + 1 = A φ s ( s t ) + B φ a ( a t ) , where φ s and φ a are some non-linear feature mappings of the states and actions. Alternatively, one can also use non-linear learning algorithms, such as locally weighted linearregression, to learn to estimate s t + 1 as a function of s t and a t . These approaches can also be used to build either deterministic or stochastic simulatorsof an MDP.

Fitted value iteration

We now describe the fitted value iteration algorithm for approximating the value function of a continuous state MDP. In the sequel, we will assumethat the problem has a continuous state space S = R n , but that the action space A is small and discrete. In practice, most MDPs have much smaller action spaces than state spaces. E.g., a car has a 6d state space, and a2d action space (steering and velocity controls); the inverted pendulum has a 4d state space, and a 1d action space; a helicopter has a 12d state space, and a4d action space. So, discretizing ths set of actions is usually less of a problem than discretizing the state space would have been.

Recall that in value iteration, we would like to perform the update

V ( s ) : = R ( s ) + γ max a s ' P s a ( s ' ) V ( s ' ) d s ' = R ( s ) + γ max a E s ' P s a [ V ( s ' ) ]

(In "Value iteration and policy iteration" , we had written the value iteration update with a summation V ( s ) : = R ( s ) + γ max a s ' P s a ( s ' ) V ( s ' ) rather than an integral over states; the new notation reflects that we are now working in continuous states rather than discrete states.)

The main idea of fitted value iteration is that we are going to approximately carry out this step, over a finite sampleof states s ( 1 ) , ... , s ( m ) . Specifically, we will use a supervised learning algorithm—linear regression in our description below—to approximate the value functionas a linear or non-linear function of the states:

V ( s ) = θ T φ ( s ) .

Here, φ is some appropriate feature mapping of the states.

For each state s in our finite sample of m states, fitted value iteration will first compute a quantity y ( i ) , which will be our approximation to R ( s ) + γ max a E s ' P s a [ V ( s ' ) ] (the right hand side of Equation  [link] ). Then, it will apply a supervised learning algorithm to try to get V ( s ) close to R ( s ) + γ max a E s ' P s a [ V ( s ' ) ] (or, in other words, to try to get V ( s ) close to y ( i ) ).

Questions & Answers

what does nano mean?
Anassong Reply
nano basically means 10^(-9). nanometer is a unit to measure length.
do you think it's worthwhile in the long term to study the effects and possibilities of nanotechnology on viral treatment?
Damian Reply
absolutely yes
how to know photocatalytic properties of tio2 nanoparticles...what to do now
Akash Reply
it is a goid question and i want to know the answer as well
characteristics of micro business
for teaching engĺish at school how nano technology help us
Do somebody tell me a best nano engineering book for beginners?
s. Reply
what is fullerene does it is used to make bukky balls
Devang Reply
are you nano engineer ?
fullerene is a bucky ball aka Carbon 60 molecule. It was name by the architect Fuller. He design the geodesic dome. it resembles a soccer ball.
what is the actual application of fullerenes nowadays?
That is a great question Damian. best way to answer that question is to Google it. there are hundreds of applications for buck minister fullerenes, from medical to aerospace. you can also find plenty of research papers that will give you great detail on the potential applications of fullerenes.
what is the Synthesis, properties,and applications of carbon nano chemistry
Abhijith Reply
Mostly, they use nano carbon for electronics and for materials to be strengthened.
is Bucky paper clear?
so some one know about replacing silicon atom with phosphorous in semiconductors device?
s. Reply
Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.
Do you know which machine is used to that process?
how to fabricate graphene ink ?
for screen printed electrodes ?
What is lattice structure?
s. Reply
of graphene you mean?
or in general
in general
Graphene has a hexagonal structure
On having this app for quite a bit time, Haven't realised there's a chat room in it.
what is biological synthesis of nanoparticles
Sanket Reply
what's the easiest and fastest way to the synthesize AgNP?
Damian Reply
types of nano material
abeetha Reply
I start with an easy one. carbon nanotubes woven into a long filament like a string
many many of nanotubes
what is the k.e before it land
what is the function of carbon nanotubes?
I'm interested in nanotube
what is nanomaterials​ and their applications of sensors.
Ramkumar Reply
what is nano technology
Sravani Reply
what is system testing?
preparation of nanomaterial
Victor Reply
how did you get the value of 2000N.What calculations are needed to arrive at it
Smarajit Reply
Privacy Information Security Software Version 1.1a
Got questions? Join the online conversation and get instant answers!
QuizOver.com Reply

Get the best Algebra and trigonometry course in your pocket!

Source:  OpenStax, Machine learning. OpenStax CNX. Oct 14, 2013 Download for free at http://cnx.org/content/col11500/1.4
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Machine learning' conversation and receive update notifications?