This commit is contained in:
Morten Hjorth-Jensen
2021-10-28 09:33:11 +02:00
parent ea6d2c80d7
commit eb702a061c
10 changed files with 14508 additions and 1152 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -28,8 +28,8 @@ y = np.exp(-x**2) + 1.5 * np.exp(-(x-2)**2)
Maxpolydegree = 5
X = np.zeros((n,Maxpolydegree-1))
for degree in range(1,Maxpolydegree): #No intercept column
X[:,degree-1] = x**(degree)
for degree in range(Maxpolydegree): #with intercept column included and no scaling
X[:,degree] = x**(degree)
# We split the data in test and training data
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -44,7 +44,7 @@ system doconce split_html $html.html --method=space10
# Bootstrap style
html=${name}-bs
system doconce format html $name --html_style=bootstrap --pygments_html_style=default --html_admon=bootstrap_panel --html_output=$html $opt
system doconce split_html $html.html --method=split --pagination --nav_button=bottom
#system doconce split_html $html.html --method=split --pagination --nav_button=bottom
# IPython notebook
system doconce format ipynb $name $opt
+1 -1
View File
@@ -81,7 +81,7 @@ systems such as automatic translation and speech-to-text.
!split
===== Set up of an RNN =====
More to text to be added by Wednesday October 27.
More to text to be added
!split
===== A simple example =====