Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. {
  2. "cells": [
  3. {
  4. "cell_type": "code",
  5. "execution_count": null,
  6. "metadata": {},
  7. "outputs": [],
  8. "source": [
  9. "import matplotlib.pyplot as plt\n",
  10. "%matplotlib inline\n",
  11. "import numpy as np\n",
  12. "\n",
  13. "N = 20\n",
  14. "p = 2\n",
  15. "X = np.random.random((N, p))\n",
  16. "\n",
  17. "plt.scatter(*X.T);"
  18. ]
  19. },
  20. {
  21. "cell_type": "code",
  22. "execution_count": null,
  23. "metadata": {},
  24. "outputs": [],
  25. "source": []
  26. }
  27. ],
  28. "metadata": {
  29. "kernelspec": {
  30. "display_name": "Python 3",
  31. "language": "python",
  32. "name": "python3"
  33. },
  34. "language_info": {
  35. "codemirror_mode": {
  36. "name": "ipython",
  37. "version": 3
  38. },
  39. "file_extension": ".py",
  40. "mimetype": "text/x-python",
  41. "name": "python",
  42. "nbconvert_exporter": "python",
  43. "pygments_lexer": "ipython3",
  44. "version": "3.7.3"
  45. }
  46. },
  47. "nbformat": 4,
  48. "nbformat_minor": 2
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement