Parsing LLM Embedding API Responses with Portkey
While working with Portkey’s embedding API to compute cosine similarity between text embeddings, I encountered two issues that led to aTypeError. Reflecting on these mistakes and how I fixed them h...
While working with Portkey’s embedding API to compute cosine similarity between text embeddings, I encountered two issues that led to aTypeError. Reflecting on these mistakes and how I fixed them h...
In previous posts, we explored how the Beta distribution enables exact frequentist inference for binomial proportions. Here, we extend this framework to address over-dispersion and group-level vari...
In Part 2.1, we explored how the Beta distribution enables exact confidence intervals for binomial proportions through the Clopper-Pearson method. This post completes the picture by demonstrating h...
Beta Distribution in Frequentist Inference In my previous post, I explored the basic properties of the Beta distribution and its role in Bayesian statistics. In this post, I shift focus to the fre...
This post kicks off a series on the Beta distribution, a versatile probability distribution often used in statistics and machine learning. In this first part, I will develop an intuitive understand...

Throughout my career, I’ve had the unique opportunity to work in both the medical device and pharmaceutical industries. This experience has highlighted the unique challenges and specific nuances of...

The EU Artificial Intelligence Act (EU AI Act) is the newest and most comprehensive framework for regulating AI globally to date. As someone working in the healthcare and pharmaceutical industry, I...

Note: This guide is meant to illustrate generally applicable processes and standards used throughout the clinical research industry. It is not tied to any specific company, drug, or therapeutic are...

Introduction Reinforcement Learning (RL) is a fascinating area of machine learning where an agent learns to make decisions by interacting with an environment. One of the foundational algorithms in...

Introduction This post provides a guide on how to integrate LaTeX rendering into your GitHub Pages site using two popular libraries: MathJax and KaTeX. MathJax Integration MathJax is a JavaScrip...