Skip to content

Instantly share code, notes, and snippets.

@edw
Created September 29, 2010 15:45
Show Gist options
  • Save edw/602986 to your computer and use it in GitHub Desktop.
Save edw/602986 to your computer and use it in GitHub Desktop.
(def n 1000)
(def ds (dataset [:x :y] (partition
2
(interleave (sample-normal n)
(sample-exp n)))))
(def plot (scatter-plot ($ :x ds) ($ :y ds)))
(view plot)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment