ChatGPT python code for distribution fitting
I asked ChatGPT for some python code to do distribution fitting and this is what it provided. I think I needed to edit it to fix some errors but it’s a nice solution.
First, I wanted to put in some R code that will allow me to display the results in blogdown, which is what I’m using to post to this site.
library(knitr) library(reticulate) knitr::knit_engines$set(python = reticulate::eng_python) The following python code was used for distribution fitting.
[Read More]