Save 37% off PRO during our Black Friday Sale! »

Patsy (PyData Berlin)

Patsy (PyData Berlin)

PyData Berlin / Canada Day, 2017 at 11:45am - 12:30pm

A386d0978e7aa5ccdc0bf8d28c71e8ce?s=128

Max Humber

July 01, 2017
Tweet

Transcript

  1. @maxhumber Canada Day, 2017

  2. patsy

  3. None
  4. r python patsy intro data motivation ?? summary

  5. None
  6. None
  7. None
  8. None
  9. None
  10. None
  11. None
  12. None
  13. None
  14. None
  15. type A type b

  16. None
  17. None
  18. None
  19. patsy

  20. None
  21. None
  22. 1 0

  23. None
  24. create data

  25. None
  26. None
  27. None
  28. None
  29. None
  30. r python patsy

  31. None
  32. None
  33. None
  34. None
  35. wait for it

  36. None
  37. None
  38. None
  39. None
  40. None
  41. None
  42. None
  43. None
  44. None
  45. None
  46. None
  47. let’s try again

  48. None
  49. None
  50. None
  51. None
  52. None
  53. None
  54. None
  55. None
  56. None
  57. None
  58. None
  59. not the only one …

  60. None
  61. None
  62. None
  63. None
  64. None
  65. Patsy is a Python library for describing statistical models (especially

    linear models, or models that have a linear component) and building design matrices. Patsy brings the convenience of R "formulas" to Python. https://github.com/pydata/patsy
  66. pip install patsy

  67. None
  68. None
  69. None
  70. None
  71. None
  72. None
  73. None
  74. None
  75. <bonus 1>

  76. None
  77. None
  78. None
  79. None
  80. None
  81. </bonus 1>

  82. None
  83. None
  84. Beer: 1.5, Warm: -0.5, Family: Yes

  85. Beer: -0.9, Warm: 0.3, Family: No

  86. None
  87. https://patsy.readthedocs.io/en/latest/quickstart.html

  88. https://patsy.readthedocs.io/en/latest/quickstart.html

  89. None
  90. Our goal is to make Patsy the de facto standard

    for describing models in Python, regardless of the underlying package in use – just as formulas are the standard interface to all R packages. Therefore we’ve tried to make it as easy as possible for you to build Patsy support into your libraries. https://patsy.readthedocs.io/en/latest/library-developers.html
  91. None
  92. None
  93. PyMC3 is a Python package for Bayesian statistical modeling and

    Probabilistic Machine Learning which focuses on advanced Markov chain Monte Carlo and variational fitting algorithms. Its flexibility and extensibility make it applicable to a large suite of problems. https://pymc-devs.github.io/pymc3/
  94. None
  95. None
  96. None
  97. summary

  98. None
  99. patsy

  100. thanks! NJS https://vorpus.org/

  101. maxhumber

  102. maxhumber let’s talk let’s celebrate