Skip to content

Commit aa6830b

Browse files
committed
DOC: Account for markdown link bug in Jupyter
1 parent 1512f0e commit aa6830b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/examples/Trading with Machine Learning.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@
604604
"Let's see how our data performs modeled using a simple\n",
605605
"[k-nearest neighbors](https://en.wikipedia.org/wiki/K-nearest_neighbors_algorithm)\n",
606606
"(kNN) algorithm from the state of the art\n",
607-
"[scikit-learn](scikit-learn.org)\n",
607+
"[scikit-learn](https://scikit-learn.org)\n",
608608
"Python machine learning package.\n",
609609
"To avoid (or at least demonstrate)\n",
610610
"[overfitting](https://scikit-learn.org/stable/auto_examples/model_selection/plot_underfitting_overfitting.html),\n",
@@ -867,7 +867,7 @@
867867
"Despite our lousy win rate, the strategy seems profitable. Let's see how it performs under\n",
868868
"[walk-forward optimization](https://en.wikipedia.org/wiki/Walk_forward_optimization),\n",
869869
"akin to k-fold or leave-one-out\n",
870-
"[cross-validation](https://en.wikipedia.org/wiki/Cross-validation_(statistics)):"
870+
"[cross-validation](https://en.wikipedia.org/wiki/Cross-validation_%28statistics%29):"
871871
]
872872
},
873873
{

doc/examples/Trading with Machine Learning.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def get_clean_Xy(df):
124124
# Let's see how our data performs modeled using a simple
125125
# [k-nearest neighbors](https://en.wikipedia.org/wiki/K-nearest_neighbors_algorithm)
126126
# (kNN) algorithm from the state of the art
127-
# [scikit-learn](scikit-learn.org)
127+
# [scikit-learn](https://scikit-learn.org)
128128
# Python machine learning package.
129129
# To avoid (or at least demonstrate)
130130
# [overfitting](https://scikit-learn.org/stable/auto_examples/model_selection/plot_underfitting_overfitting.html),
@@ -227,7 +227,7 @@ def next(self):
227227
# Despite our lousy win rate, the strategy seems profitable. Let's see how it performs under
228228
# [walk-forward optimization](https://en.wikipedia.org/wiki/Walk_forward_optimization),
229229
# akin to k-fold or leave-one-out
230-
# [cross-validation](https://en.wikipedia.org/wiki/Cross-validation_(statistics)):
230+
# [cross-validation](https://en.wikipedia.org/wiki/Cross-validation_%28statistics%29):
231231

232232
# +
233233
# %%time

0 commit comments

Comments
 (0)