Skip to content

Commit

Permalink
fixed example dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
damian0604 committed Apr 22, 2020
1 parent 114cfc4 commit ee64b73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified rm-course-2/week11/lecture11.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions rm-course-2/week11/lecture11.tex
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ \subsection{Principal Component Analysis and Singular Value Decomposition}
import matplotlib.pyplot as plt
%matplotlib inline

autotexts = datasets.fetch_20newsgroups('rec.autos', remove=('headers', 'footers', 'quotes'), subset='train')['data']
religiontexts = datasets.fetch_20newsgroups('soc.religion.christian', remove=('headers', 'footers', 'quotes'), subset='train')['data']
autotexts = datasets.fetch_20newsgroups(categories=['rec.autos'], remove=('headers', 'footers', 'quotes'), subset='train')['data']
religiontexts = datasets.fetch_20newsgroups(categories=['soc.religion.christian'], remove=('headers', 'footers', 'quotes'), subset='train')['data']

texts = autotexts[:20] + religiontexts[:20]
\end{lstlisting}
Expand Down

0 comments on commit ee64b73

Please sign in to comment.