Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Sayam Kumar Sayam753

🎯
Focusing
View GitHub Profile
View glm_model_selection.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View pmf_pymc3.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View finding_script.md
(pymc_dev_test) Sayam:~ $ find /Users/sayam/Library/Jupyter -name "*script*"   
(pymc_dev_test) Sayam:~ $ find ~/miniconda3/envs/pymc_dev_test/share/jupyter -name "*script*"
(pymc_dev_test) Sayam:~ $ 
(pymc_dev_test) Sayam:~ $ tree /Users/sayam/Library/Jupyter
/Users/sayam/Library/Jupyter
├── nbconvert
│   └── templates
│   ├── html
View versioned_docs.md

Versioned docs - PyMC3

We gonna try out and see how we can use ReadTheDocs to host PyMC3 docs in a versioned fashion.

I am trying out things on my fork. So, three major tasks for today -

  1. Build docs locally (This will help me understand what is needed to build documentation)
  2. Setup ReadTheDocs
  3. Try out some versioning stuff and see how to setup ReadTheDocs for this versioning
View autoguide_experiments.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View mail.py
import smtplib
from email.message import EmailMessage
msg = EmailMessage()
msg["Subject"] = "From my script"
msg["From"] = "sayamkumar049@gmail.com"
msg["To"] = "anubhavgupta2260@gmail.com"
smtp = smtplib.SMTP_SSL("smtp.gmail.com", 465)
smtp.login("sayamkumar049@gmail.com", "<my app password here>")
View prior_knowledge.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Sayam753
Sayam753 / log_likelihood.ipynb
Created Sep 7, 2020
Log likelihood for single draw
View log_likelihood.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Sayam753
Sayam753 / converge.py
Last active Aug 15, 2020
Parameter Convergence Checks in TFP
View converge.py
"""Convergence criterion callbacks for VI."""
import collections
import numpy as np
import tensorflow as tf
import tensorflow_probability as tfp
from typing import List, Optional
from tensorflow_probability.python.optimizer.convergence_criteria import convergence_criterion
ParameterState = collections.namedtuple("ParameterState", ["previous_value"])
@Sayam753
Sayam753 / prog.ipynb
Created Aug 12, 2020
Progress bar using tf.print
View prog.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.