8000 DOC Added links and corrected typos to plot_stock_market.py (#24209) · rusdes/scikit-learn@41ffd79 · GitHub
[go: up one dir, main page]

Skip to content

Commit 41ffd79

Browse files
star1327pthomasjpfanglemaitre
authored
DOC Added links and corrected typos to plot_stock_market.py (scikit-learn#24209)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com> Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
1 parent f6c5714 commit 41ffd79

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

examples/applications/plot_stock_market.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919
#
2020
# The data is from 2003 - 2008. This is reasonably calm: (not too long ago so
2121
# that we get high-tech firms, and before the 2008 crash). This kind of
22-
# historical data can be obtained from APIs like the quandl.com and
23-
# alphavantage.co .
22+
# historical data can be obtained from APIs like the
23+
# `data.nasdaq.com <https://data.nasdaq.com/>`_ and
24+
# `alphavantage.co <https://www.alphavantage.co/>`_.
2425

2526
import sys
2627
import numpy as np
@@ -112,8 +113,8 @@
112113
#
113114
# We use sparse inverse covariance estimation to find which quotes are
114115
# correlated conditionally on the others. Specifically, sparse inverse
115-
# covariance gives us a graph, that is a list of connection. For each
116-
# symbol, the symbols that it is connected too are those useful to explain
116+
# covariance gives us a graph, that is a list of connections. For each
117+
# symbol, the symbols that it is connected to are those useful to explain
117118
# its fluctuations.
118119

119120
from sklearn import covariance

0 commit comments

Comments
 (0)
0