Skip to content

Instantly share code, notes, and snippets.

View fonnesbeck's full-sized avatar

Chris Fonnesbeck fonnesbeck

  • Philadelphia Phillies
View GitHub Profile
@fonnesbeck
fonnesbeck / Introduction to Python.ipynb
Last active February 1, 2024 05:44
python/Introduction to Python.ipynb
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.
@fonnesbeck
fonnesbeck / log.txt
Created May 23, 2023 16:48
VSCode logging for remote extension installation
2023-05-23 11:18:55.462 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'testContinuousRun' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2023-05-23 11:18:55.794 [error] Extension 'github.copilot' appears in product.json but enables LESS API proposals than the extension wants.
package.json (LOSES): inlineCompletionsAdditions, terminalDataWriteEvent
product.json (WINS): inlineCompletionsAdditions
2023-05-23 11:18:55.848 [info] Invoking resolveAuthority(attached-container)...
2023-05-23 11:18:55.849 [info] [LocalProcess0][resolveAuthority(attached-container,1)][0ms] obtaining proxy...
2023-05-23 11:18:55.849 [info] [LocalProcess0][resolveAuthority(attached-container,1)][0ms] invoking...
2023-05-23 11:18:56.852 [info] [LocalProcess0][resolveAuthority(attached-container,1)][1004ms] waiting...
2023-05-23 11:18:57.854 [info] [LocalProcess0][resolveAuthority(attached-co
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

PyMC

Markov chain Monte Carlo in Python

Chris Fonnesbeck

Vanderbilt Department of Biostatistics

Vanderbilt Center for Quantitative Sciences

Vanderbilt Evidence-based Practice Center

@fonnesbeck
fonnesbeck / Weibull Survival.ipynb
Created August 3, 2016 20:49
Weibull Survival.ipynb
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.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fonnesbeck
fonnesbeck / hmm.py
Created March 25, 2010 00:01
Hidden Markov model in PyMC
import numpy as np
import pymc
import pdb
def unconditionalProbability(Ptrans):
"""Compute the unconditional probability for the states of a
Markov chain."""
m = Ptrans.shape[0]
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.