Fix permutation error in b vector
commit
acbda9271b
|
@ -2,7 +2,7 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"execution_count": 4,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
@ -50,7 +50,6 @@
|
|||
"\n",
|
||||
"ax2 = fig.add_subplot(122)\n",
|
||||
"sort_ind = np.argsort(H[:,-1])\n",
|
||||
"#b = b[sort_ind] # sorted values\n",
|
||||
"plt.plot(b[sort_ind], Color='k', LineWidth=2, label='Housing Value') # True relationship\n",
|
||||
"plt.plot(A[sort_ind,:]@x, '-o', Color='r', LineWidth=1.5, MarkerSize=6, label='Regression')\n",
|
||||
"plt.xlabel('Neighborhood')\n",
|
||||
|
@ -61,7 +60,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"execution_count": 5,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
# Data_Driven_Science_Python_Demos
|
||||
|
||||
<img src="http://www.databookuw.com/files/stacks-image-5bffc53-882x1200.png" alt="Data Driven Book Cover" width="200"/>
|
||||
|
||||
IPython notebooks with demo code intended as a companion to the book:
|
||||
|
||||
|
||||
Data Driven Science & Engineering: Machine Learning, Dynamical Systems, and Control
|
||||
by S. L. Brunton and J. N. Kutz
|
||||
Cambridge Textbook, 2019
|
||||
Copyright 2019, All Rights Reserved
|
||||
|
||||
|
||||
Python code library by Daniel Dylewsky. This code and equivalent Matlab code are available at http://www.databookuw.com/. There are a few items that are only available in the Matlab version. Many of these notebooks make use of third-party Python modules. Download links for the more obscure ones are provided inline.
|
||||
|
||||
Please cite this book when using this code/data.
|
Loading…
Reference in New Issue