Skip to content

Commit

Permalink
Update high-dimensional-data.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrennd authored Nov 6, 2023
1 parent 244cdbe commit 65a72d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _dimred/includes/high-dimensional-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import mlai
import pods}
\plotcode{fig, ax = plt.subplots(figsize=(5,5))

pods.access.download_url("https://github.com/lawrennd/talks/raw/gh-pages/slides/diagrams/dimred/br1561_6.3.pgm",
store_directory="\writeDiagramsDir/dimred")
six_image = mlai.load_pgm("br1561_6.3.pgm", directory ="\writeDiagramsDir/dimred")
pods.access.download_url("https://github.com/lawrennd/talks/raw/gh-pages/slides/diagrams/ml/br1561_6.3.pgm",
store_directory="\writeDiagramsDir/ml")
six_image = mlai.load_pgm("br1561_6.3.pgm", directory ="\writeDiagramsDir/ml")
rows = six_image.shape[0]
col = six_image.shape[1]

Expand Down Expand Up @@ -67,7 +67,7 @@ import notutils as nu}

\setupcode{from scipy.misc import imrotate}

\code{six_image = mlai.load_pgm('br1561_6.3.pgm', directory ='\writeDiagramsDir/dimred')
\code{six_image = mlai.load_pgm('br1561_6.3.pgm', directory ='\writeDiagramsDir/ml')
six_image = np.hstack([np.zeros((rows, 3)), six_image, np.zeros((rows, 4))])
dim_one = np.asarray(six_image.shape)
angles = range(360)
Expand Down

0 comments on commit 65a72d4

Please sign in to comment.