Skip to content

Commit 59bc9f7

Browse files
authored
Merge pull request dennybritz#96 from bwseoh/upstream
correct typos
2 parents 4fb2e5c + 2573507 commit 59bc9f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FA/Q-Learning with Value Function Approximation.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"scaler = sklearn.preprocessing.StandardScaler()\n",
7575
"scaler.fit(observation_examples)\n",
7676
"\n",
77-
"# Used to converte a state to a featurizes represenation.\n",
77+
"# Used to convert a state to a featurized representation.\n",
7878
"# We use RBF kernels with different variances to cover different parts of the space\n",
7979
"featurizer = sklearn.pipeline.FeatureUnion([\n",
8080
" (\"rbf1\", RBFSampler(gamma=5.0, n_components=100)),\n",
@@ -186,7 +186,7 @@
186186
"source": [
187187
"def q_learning(env, estimator, num_episodes, discount_factor=1.0, epsilon=0.1, epsilon_decay=1.0):\n",
188188
" \"\"\"\n",
189-
" Q-Learning algorithm for fff-policy TD control using Function Approximation.\n",
189+
" Q-Learning algorithm for off-policy TD control using Function Approximation.\n",
190190
" Finds the optimal greedy policy while following an epsilon-greedy policy.\n",
191191
" \n",
192192
" Args:\n",

0 commit comments

Comments
 (0)