Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Sayam Kumar Sayam753

🎯
Focusing
View GitHub Profile
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.
View distributions.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Sayam753
Sayam753 / transforms.ipynb
Created Jul 7, 2020
A generalized version of Transformations in PyMC4
View transforms.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Sayam753
Sayam753 / transforms.ipynb
Created Jul 7, 2020
Testing transformations in PyMC4
View transforms.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Sayam753
Sayam753 / advi.ipynb
Created Jul 1, 2020
Flattening and Full Rank ADVI in PyMC4
View advi.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Sayam753
Sayam753 / advi.ipynb
Last active Jun 29, 2020
ADVI comparisons in PyMC3 and PyMC4
View advi.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.