glm-tools / pyglmnet

Python implementation of elastic-net regularized generalized linear models
http://glm-tools.github.io/pyglmnet/
MIT License
279 stars 82 forks source link

Convert matlab tutorial from Pillow's lab to pyglmnet #366

Closed titipata closed 4 years ago

titipata commented 4 years ago

Anyone would like to convert tutorial from https://github.com/pillowlab/GLMspiketraintutorial to Pyglmnet? It seems like audiences are partly from the neuroscience field. I think this will be super beneficial for them.

jasmainak commented 4 years ago

seems like there has already been a partial attempt: https://github.com/pillowlab/GLMspiketraintutorial/blob/master/python/tutorial1_PoissonGLM.ipynb.

It would be great to have more examples on public data that can demonstrate the use cases of pyglmnet.

titipata commented 4 years ago

Wow, that's awesome. I can take a look at it over the weekend. I'll see if it can be properly added to the Pyglmnet's tutorial.

jasmainak commented 4 years ago

that's great! might be a good idea to shoot the authors an email to ask permission to use the data. We can add the papers to cite in the example.

titipata commented 4 years ago

Ah yeah, they mentioned "Data: note that the dataset used for this tutorial is (unfortunately) not yet publicly available. If you would like access to the dataset needed to run the tutorial scripts, please write to pillow at princeton dot edu." Let me email him cc you to see if it is somehow possible or we might get a relevance dataset.

titipata commented 4 years ago

@jasmainak what's the best way to create the tutorial and output? Adding a new file to examples?

titipata commented 4 years ago

I made PR #369 for this issue

jasmainak commented 4 years ago

yep add it to the examples directory :)

titipata commented 4 years ago

Close via #369