Skip to content

Instantly share code, notes, and snippets.

View Sayam753's full-sized avatar
🎯
Focusing

Sayam Kumar Sayam753

🎯
Focusing
View GitHub Profile
@Sayam753
Sayam753 / converge.py
Last active August 15, 2020 08:09
Parameter Convergence Checks in TFP
"""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 August 12, 2020 03:19
Progress bar using tf.print
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Sayam753
Sayam753 / distributions.ipynb
Created July 26, 2020 19:39
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 July 7, 2020 14:54
A generalized version of Transformations in PyMC4
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 July 7, 2020 08:33
Testing transformations in PyMC4
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 July 1, 2020 19:04
Flattening and Full Rank ADVI in PyMC4
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 June 29, 2020 15:16
ADVI comparisons in PyMC3 and PyMC4
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Sayam753
Sayam753 / full_rank.ipynb
Created June 29, 2020 13:17
Full Rank ADVI in TFP
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Sayam753
Sayam753 / Experiments_with_Deterministics_Callbacks.ipynb
Created June 29, 2020 13:03
Experiments with Deterministics Callbacks
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.