GitHub / csinva 29 Repositories
Senior researcher @Microsoft interpreting ML models in science and medicine. PhD from UC Berkeley.
csinva/cookiecutter-ml-research
A logical, reasonably standardized, but flexible project structure for conducting ml research πͺ
Language: Jupyter Notebook - Size: 255 KB - Last synced at: 8 days ago - Pushed at: 8 days ago - Stars: 19 - Forks: 1

csinva/imodels
Interpretable ML package π for concise, transparent, and accurate predictive modeling (sklearn-compatible).
Language: Jupyter Notebook - Size: 162 MB - Last synced at: 4 days ago - Pushed at: 27 days ago - Stars: 1,482 - Forks: 129

csinva/imodelsX
Interpret text data using LLMs (scikit-learn compatible).
Language: Python - Size: 35 MB - Last synced at: 8 days ago - Pushed at: 10 days ago - Stars: 168 - Forks: 27

csinva/csinva.github.io
Slides, paper notes, class notes, blog posts, and research on ML π, statistics π, and AI π€.
Language: HTML - Size: 389 MB - Last synced at: 26 days ago - Pushed at: 27 days ago - Stars: 593 - Forks: 108

csinva/csinva
readme
Size: 93.8 KB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 1 - Forks: 0

csinva/fmri
Experiments with language fMRI data from Alex Huth lab. More organized repo here: https://github.com/microsoft/automated-brain-explanations
Language: Jupyter Notebook - Size: 474 MB - Last synced at: 29 days ago - Pushed at: 5 months ago - Stars: 4 - Forks: 1

csinva/tree-prompt
Tree prompting: easy-to-use scikit-learn interface for improved prompting.
Language: Jupyter Notebook - Size: 18.2 MB - Last synced at: 25 days ago - Pushed at: almost 2 years ago - Stars: 37 - Forks: 4

csinva/interpretable-embeddings
Interpretable text embeddings by asking LLMs yes/no questions (NeurIPS 2024)
Language: Python - Size: 145 MB - Last synced at: 3 months ago - Pushed at: 8 months ago - Stars: 36 - Forks: 2

csinva/gan-vae-pretrained-pytorch
Pretrained GANs + VAEs + classifiers for MNIST/CIFAR in pytorch.
Language: Jupyter Notebook - Size: 98.4 MB - Last synced at: 2 months ago - Pushed at: 6 months ago - Stars: 192 - Forks: 49

csinva/clinical-rule-development
Building and vetting clinical decision rules.
Language: Jupyter Notebook - Size: 160 MB - Last synced at: 3 months ago - Pushed at: 4 months ago - Stars: 8 - Forks: 2

csinva/clinical-rule-survey
Analyzing clinical decision instruments through the lens of data and large language models.
Size: 115 MB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 6 - Forks: 0

csinva/analyzing-patient-perspectives
Analyzing interview data from the PediDOSE EFIC interviews using LLMs.
Size: 5.48 MB - Last synced at: about 1 month ago - Pushed at: 4 months ago - Stars: 2 - Forks: 0

csinva/data-viz-utils
Functions for easily making publication-quality figures with matplotlib.
Language: Jupyter Notebook - Size: 9.88 MB - Last synced at: 17 days ago - Pushed at: over 1 year ago - Stars: 19 - Forks: 3

csinva/gpt-paper-title-generator
Generating paper titles (and more!) with GPT trained on data scraped from arXiv.
Language: Jupyter Notebook - Size: 59.4 MB - Last synced at: 3 months ago - Pushed at: about 2 years ago - Stars: 148 - Forks: 32

csinva/gam-experiments
Language: Jupyter Notebook - Size: 6.73 MB - Last synced at: 4 months ago - Pushed at: 5 months ago - Stars: 0 - Forks: 0

csinva/Conference-Acceptance-Rate Fork of lixin4ever/Conference-Acceptance-Rate
Acceptance rates for the major AI conferences
Language: Jupyter Notebook - Size: 3.96 MB - Last synced at: 7 months ago - Pushed at: 7 months ago - Stars: 0 - Forks: 0

csinva/hierarchical-dnn-interpretations
Using / reproducing ACD from the paper "Hierarchical interpretations for neural network predictions" π§ (ICLR 2019)
Language: Jupyter Notebook - Size: 48.7 MB - Last synced at: 5 days ago - Pushed at: almost 4 years ago - Stars: 128 - Forks: 23

csinva/tree-prompt-experiments
Create a tree of prompts during training that improves efficiency and accuracy.
Language: Jupyter Notebook - Size: 19.8 MB - Last synced at: 4 months ago - Pushed at: over 1 year ago - Stars: 5 - Forks: 1

csinva/hpa-interp
Interpretations on the HPA dataset.
Language: Jupyter Notebook - Size: 6.81 MB - Last synced at: 4 months ago - Pushed at: over 5 years ago - Stars: 1 - Forks: 0

csinva/transformation-importance
Using / reproducing TRIM from the paper "Transformation Importance with Applications to Cosmology" π (ICLR Workshop 2020)
Language: Jupyter Notebook - Size: 75.6 MB - Last synced at: 3 months ago - Pushed at: over 4 years ago - Stars: 9 - Forks: 1

csinva/disentangled-attribution-curves
Using / reproducing DAC from the paper "Disentangled Attribution Curves for Interpreting Random Forests and Boosted Trees"
Language: Python - Size: 4.63 MB - Last synced at: 3 months ago - Pushed at: over 4 years ago - Stars: 27 - Forks: 4

csinva/mdl-complexity
MDL Complexity computations and experiments from the paper "Revisiting complexity and the bias-variance tradeoff".
Language: Jupyter Notebook - Size: 14.4 MB - Last synced at: 3 months ago - Pushed at: about 2 years ago - Stars: 18 - Forks: 2

csinva/imodels-data
Preprocessed data for various popular tabular datasets to go along with imodels.
Language: Jupyter Notebook - Size: 50.7 MB - Last synced at: 4 months ago - Pushed at: over 1 year ago - Stars: 4 - Forks: 2

csinva/news-title-bias
Scraping and analyzing political bias in news titles using data from allsides.com
Language: HTML - Size: 7.35 MB - Last synced at: 4 months ago - Pushed at: about 1 year ago - Stars: 2 - Forks: 2

csinva/iprompt
Finding semantically meaningful and accurate prompts.
Language: Jupyter Notebook - Size: 82.4 MB - Last synced at: 3 months ago - Pushed at: over 1 year ago - Stars: 46 - Forks: 8

csinva/news-balancer
News Balancer takes a story and provides articles on that story with credibility and varying political bias. The homepage will randomly generate a story from its archives, but a user can type in a query to get stories relating to their query along with their credibility / political bias.
Language: Python - Size: 33.1 MB - Last synced at: about 2 months ago - Pushed at: over 4 years ago - Stars: 5 - Forks: 1

csinva/matching-with-gans
Matching in GAN latent space for better bias benchmarking and semantic image editing. πΆπ»π§πΎπ©πΌβπ¦°π±π½ββοΈπ΄πΎ
Language: Jupyter Notebook - Size: 421 MB - Last synced at: 10 days ago - Pushed at: over 2 years ago - Stars: 20 - Forks: 2

csinva/tpr-fmri
Language: Python - Size: 47.7 MB - Last synced at: 7 days ago - Pushed at: about 1 year ago - Stars: 3 - Forks: 0

csinva/matrix-completion-llm
Training LLMs for matrix completion
Language: Jupyter Notebook - Size: 3.71 MB - Last synced at: 4 months ago - Pushed at: over 1 year ago - Stars: 1 - Forks: 0

csinva/max-activation-interpretation-pytorch
Code for creating maximal activation images (like Deep Dream) in pytorch with various regularizations / losses.
Language: Jupyter Notebook - Size: 188 KB - Last synced at: 4 months ago - Pushed at: over 5 years ago - Stars: 4 - Forks: 2

csinva/pyfim-clone
Clone of pyfim making it installable as a dependency. Copied from http://www.borgelt.net/pyfim.html
Language: C - Size: 2.08 MB - Last synced at: 4 months ago - Pushed at: almost 5 years ago - Stars: 3 - Forks: 4

csinva/trees-to-networks
Bridging random forests and deep neural networks. Partial implementation of "Neural Random Forests" https://arxiv.org/abs/1604.07143
Language: Jupyter Notebook - Size: 429 KB - Last synced at: 4 months ago - Pushed at: about 6 years ago - Stars: 3 - Forks: 1

csinva/r2d3-decision-tree Fork of yamad/r2d3-decision-tree
A clone of the animated decision tree at http://www.r2d3.us/ in React, React-Motion, and d3
Language: JavaScript - Size: 717 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

csinva/llm-guided-data-explanation
Explaining data to humans with linear models + LLM hints.
Language: HTML - Size: 1.55 MB - Last synced at: 4 months ago - Pushed at: almost 2 years ago - Stars: 0 - Forks: 0

csinva/glaucoma-diagnosis
Code for diagnosing glaucoma from Lumos lens
Language: Python - Size: 24.4 KB - Last synced at: about 1 month ago - Pushed at: about 6 years ago - Stars: 7 - Forks: 3

csinva/acronym-generator
Generator acronyms given a sequence of words (useful for making paper titles).
Language: HTML - Size: 2.61 MB - Last synced at: about 2 months ago - Pushed at: over 3 years ago - Stars: 3 - Forks: 0

csinva/local-vae
Making locally disentangled vaes.
Language: Jupyter Notebook - Size: 102 MB - Last synced at: 4 months ago - Pushed at: over 4 years ago - Stars: 3 - Forks: 0

csinva/PromptPapers Fork of thunlp/PromptPapers
Must-read papers on prompt-based tuning for pre-trained language models.
Size: 114 KB - Last synced at: over 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

csinva/dnn-ensemble
Testing the properties of ensembled neural networks.
Language: Jupyter Notebook - Size: 88.4 MB - Last synced at: about 1 month ago - Pushed at: over 3 years ago - Stars: 4 - Forks: 0

csinva/deepmind-research Fork of deepmind/deepmind-research
This repository contains implementations and illustrative code to accompany DeepMind publications
Size: 90 MB - Last synced at: over 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

csinva/scattering-transform-experiments
Repository for experiments with scattering transforms
Language: Jupyter Notebook - Size: 44.3 MB - Last synced at: 4 months ago - Pushed at: over 6 years ago - Stars: 2 - Forks: 0

csinva/inverse-scaling Fork of inverse-scaling/prize
A prize for finding tasks that cause large language models to show inverse scaling
Language: Jupyter Notebook - Size: 1.44 MB - Last synced at: over 2 years ago - Pushed at: almost 3 years ago - Stars: 2 - Forks: 0

csinva/pyGAM Fork of dswah/pyGAM
[HELP REQUESTED] Generalized Additive Models in Python
Size: 15.3 MB - Last synced at: over 2 years ago - Pushed at: almost 3 years ago - Stars: 1 - Forks: 0

csinva/TextAttack Fork of QData/TextAttack
TextAttack π is a Python framework for adversarial attacks, data augmentation, and model training in NLP https://textattack.readthedocs.io/en/master/
Size: 30.8 MB - Last synced at: over 2 years ago - Pushed at: almost 3 years ago - Stars: 1 - Forks: 0

csinva/mt-dnn Fork of namisan/mt-dnn
Multi-Task Deep Neural Networks for Natural Language Understanding
Size: 1.78 MB - Last synced at: over 2 years ago - Pushed at: almost 3 years ago - Stars: 0 - Forks: 0

csinva/speechmodeltutorial Fork of HuthLab/speechmodeltutorial
Size: 2.61 MB - Last synced at: over 2 years ago - Pushed at: over 6 years ago - Stars: 0 - Forks: 0

csinva/interpretable-ml-book Fork of christophM/interpretable-ml-book
Book about interpretable machine learning
Language: Jupyter Notebook - Size: 566 MB - Last synced at: over 2 years ago - Pushed at: about 3 years ago - Stars: 0 - Forks: 0

csinva/GitHubGraduation-2022 Fork of education/GitHubGraduation-2022
Join the GitHub Graduation Yearbook and "walk the stage" on June 11.
Language: JavaScript - Size: 58.5 MB - Last synced at: over 2 years ago - Pushed at: about 3 years ago - Stars: 0 - Forks: 0

csinva/mouse-brain-decoding
Decoding images from calcium recordings using data from stringer et al. 2018.
Language: Jupyter Notebook - Size: 955 KB - Last synced at: 4 months ago - Pushed at: over 6 years ago - Stars: 2 - Forks: 1

csinva/abide-multitask-learning
Multi-task learning of functional connectivity on the ABIDE dataset.
Language: Jupyter Notebook - Size: 24.3 MB - Last synced at: 7 days ago - Pushed at: almost 8 years ago - Stars: 3 - Forks: 1

csinva/intro_continual_learning Fork of clam004/intro_continual_learning
This is a tutorial to connect the fundamental mathematics to a practical implementation addressing the continual learning problem of artificial intelligence
Size: 4.39 MB - Last synced at: over 2 years ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

csinva/mini-games
Code for simple games made in java + google sheets.
Language: Java - Size: 8.34 MB - Last synced at: 4 months ago - Pushed at: over 5 years ago - Stars: 1 - Forks: 0

csinva/imodels-playground
Demos for visualizing how rule-based models work.
Language: TypeScript - Size: 1.34 MB - Last synced at: 5 days ago - Pushed at: over 3 years ago - Stars: 2 - Forks: 0

csinva/dnn-experiments
A set of scripts and experiments making it easier to analyze deep learning empirically.
Language: Jupyter Notebook - Size: 42 MB - Last synced at: 4 months ago - Pushed at: about 5 years ago - Stars: 2 - Forks: 0

csinva/stable-interpretation
Exploring ways to extract stable interpretations from neural networks.
Language: Jupyter Notebook - Size: 4.91 MB - Last synced at: 4 months ago - Pushed at: about 4 years ago - Stars: 2 - Forks: 0

csinva/hummingbird-tracking
Code for tracking various things in hummingbird video
Language: Python - Size: 8.15 MB - Last synced at: 4 months ago - Pushed at: over 3 years ago - Stars: 2 - Forks: 2

csinva/pycorels Fork of corels/pycorels
Public home of pycorels, the python binding to CORELS
Size: 17.1 MB - Last synced at: over 2 years ago - Pushed at: about 5 years ago - Stars: 0 - Forks: 0

csinva/neuronforest-analysis-scripts
Python scripts to replace Matlab for evaluation of error in connectome images and affinity graphs.
Language: Python - Size: 10 MB - Last synced at: 4 months ago - Pushed at: over 9 years ago - Stars: 2 - Forks: 2

csinva/donation-swapping
A website to facilitate routing opposing donations to charity.
Size: 1000 Bytes - Last synced at: 4 months ago - Pushed at: almost 5 years ago - Stars: 0 - Forks: 0

csinva/arxiv-copier
Extension for copying the title + url of an arXiv page via right click
Language: JavaScript - Size: 6.84 KB - Last synced at: 4 months ago - Pushed at: about 5 years ago - Stars: 1 - Forks: 1

csinva/global-sports-analysis
Analyzing how different factors influence global sports rankings
Language: HTML - Size: 1.69 MB - Last synced at: 4 months ago - Pushed at: about 6 years ago - Stars: 1 - Forks: 1

csinva/axon-ap-propagation
Code for simulations of action potential propagation
Language: AMPL - Size: 7.56 MB - Last synced at: 23 days ago - Pushed at: about 8 years ago - Stars: 1 - Forks: 1

csinva/neural-spike-sorting
Experimental code for performing spike sorting using a neural network.
Language: Jupyter Notebook - Size: 3.74 MB - Last synced at: 4 months ago - Pushed at: over 8 years ago - Stars: 3 - Forks: 1

csinva/younet
Learning natural language models based on personalized messages.
Language: Python - Size: 1.83 MB - Last synced at: 4 months ago - Pushed at: over 8 years ago - Stars: 1 - Forks: 1

csinva/wiki-downloader
Take over the world and other assorted things
Language: JavaScript - Size: 172 KB - Last synced at: 4 months ago - Pushed at: about 12 years ago - Stars: 0 - Forks: 0

csinva/picture-world
Make a base for google images to be rendered
Language: JavaScript - Size: 4.23 MB - Last synced at: 4 months ago - Pushed at: about 10 years ago - Stars: 0 - Forks: 0

csinva/conv-net-scripts
Scripts for evaluation of convolutional networks
Language: Jupyter Notebook - Size: 60.6 MB - Last synced at: about 1 month ago - Pushed at: about 9 years ago - Stars: 0 - Forks: 1

csinva/total-variation-abide
Experiments with using total variation regularization on the ABIDE fmri dataset.
Language: Python - Size: 1.4 MB - Last synced at: 4 months ago - Pushed at: over 7 years ago - Stars: 0 - Forks: 0

csinva/biophysical-threshold-simulations
Simulations for characterizing stochastic threshold in biophysical neurons.
Language: Jupyter Notebook - Size: 679 KB - Last synced at: about 2 months ago - Pushed at: about 7 years ago - Stars: 0 - Forks: 0

csinva/nano-descriptions
Algorithms for machine-learning analysis and descriptions of nanomaterials
Language: Jupyter Notebook - Size: 35.3 MB - Last synced at: 4 months ago - Pushed at: over 6 years ago - Stars: 0 - Forks: 1

csinva/3d-rush-hour
3D implementation of NxNxN rush hour
Language: Java - Size: 561 KB - Last synced at: 4 months ago - Pushed at: about 9 years ago - Stars: 0 - Forks: 0
