Deleted empty line in code.

This commit is contained in:
Roger Labbe 2017-07-27 07:35:30 -07:00
parent 6b3f902a4f
commit 5c25643866

View File

@ -369,7 +369,9 @@
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"hallway = np.array([1, 1, 0, 0, 0, 0, 0, 0, 1, 0])"
@ -462,7 +464,9 @@
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"belief = np.array([0., 1., 0., 0., 0., 0., 0., 0., 0., 0.])"
@ -692,7 +696,9 @@
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"def scaled_update(hall, belief, z, z_prob): \n",
@ -5489,7 +5495,9 @@
{
"cell_type": "code",
"execution_count": 31,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"class Train(object):\n",
@ -5538,13 +5546,14 @@
{
"cell_type": "code",
"execution_count": 32,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"def train_filter(iterations, kernel, sensor_accuracy, \n",
" move_distance, do_print=True):\n",
" track = np.array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])\n",
"\n",
" prior = np.array([.9] + [0.01]*9)\n",
" normalize(prior)\n",
" \n",