Open in app
Home
Notifications
Lists
Stories

Write
Pranav Ahluwalia
Pranav Ahluwalia

Home

Pinned

Basic Counterfactual Regret Minimization (Rock Paper Scissors)

Original Post on my Blog: Basic Counterfactual Regret Minimization (Rock Paper Scissors) (pranav.ai) Counterfactual Regret Minimization (Rock Paper Scissors) Counterfactual regret minimization is an important concept in algorithmic game theory. It has made the creation of super-human poker AI possible and is fundamental for solving games of imperfect information. Today we will be implementing a rock…

Python 3

5 min read

Basic Counterfactual Regret Minimization (Rock Paper Scissors)
Basic Counterfactual Regret Minimization (Rock Paper Scissors)

Nov 14, 2021

Fibonacci Sequence Exploration — Patterns, Proofs, Code

In this article we will explore various algorithms for calculating the nth Fibonacci term, derive formulas for various Fibonacci sums, and turn those formulas into programs. If you are vaguely acquainted with mathematics it is likely that you have heard of the Fibonacci sequence. …

Number Theory

5 min read

Fibonacci Sequence Exploration — Patterns, Proofs, Code
Fibonacci Sequence Exploration — Patterns, Proofs, Code

Jun 28, 2021

How to Ace Number Theory (and Other Proof-Based Classes)

This Summer I took a course on number theory. The course was challenging but with the right study techniques, I was able to land an A in the class (>= 94%). More broadly, I want to discuss the correct study approach for performing well in proof based math classes as…

Mathematics

6 min read

How to Ace Number Theory (and Other Proof-Based Classes)
How to Ace Number Theory (and Other Proof-Based Classes)

Jun 8, 2021

Trailing Zeros of A Factorial With Legendre’s Formula

Legendre’s Formula There is a theorem in number theory known as Legendre’s Formula. It states that if N is a positive integer and p is a prime number, then the highest power of p that divides N! is given by the following formula

Mathematics

3 min read

Trailing Zeros of A Factorial With Legendre’s Formula
Trailing Zeros of A Factorial With Legendre’s Formula

May 30, 2021

Performance Psychology For Computer Science and Math

Introduction In this article, I will discuss performance variation, methods of practice, and the fundamental problem solving skills that I believe contribute to high performance in technical fields. These insights are informed by documented concepts in performance psychology. Performance Gradients It is typical for people to believe their skill at any task exists…

Computer Science

6 min read

Performance Psychology For Computer Science and Math
Performance Psychology For Computer Science and Math

Nov 29, 2020

C++ For Jupyter Notebook

When I’m experimenting with models I typically prefer to have my math and code in the same place. Python is the language of choice for data scientists as it integrates seamlessly with Jupyter Notebook allowing for carefully placed analysis and explanations alongside code modules. However, recently I’ve been working on…

Cplusplus

2 min read

C++ For Jupyter Notebook
C++ For Jupyter Notebook

Nov 28, 2020

Simple Monte Carlo Options Pricer In Python

Today we will be pricing a vanilla call option using a monte carlo simulation in Python. Monte Carlo models are used by quantitative analysts to determine accurate and fair prices for securities. Typically, these models are implemented in a fast low level language such as C++. …

Quantitative Finance

5 min read


Nov 24, 2020

The ONLY Poker Books Worth Reading

One of the trickiest parts about improving as a Poker player is finding high quality learning resources. There are numerous successful players over the years who have written books on their approaches to the game, yet Poker evolves so quickly that these books are often outdated within a few years. …

Poker

5 min read


Nov 24, 2020

Binary Tree Traversal Cheat Sheet

Traversing binary trees is a fundamental skill required for coding interviews. Today I will teach you the main ways of traversing a binary tree. Each traversal style is associated with a specific pattern. Below is a quick reference. (All code examples are worked in python) Binary Tree Traversal Cheat Sheet Traversal->PatternIn-order left/center/rightpre-order center/left/rightpost-order left/right/centerlevel-order left…

Algorithms

2 min read

Binary Tree Traversal Cheat Sheet
Binary Tree Traversal Cheat Sheet

Published in Towards Data Science

·Nov 16, 2019

Risk Modeling: The Power of Capital Advantage in Random-Walk Zero Sum Games

In this article, I will demonstrate a crucial mathematical concept that is essential to constructing risk management strategies in games of chance. …

Game Theory

9 min read

Risk Modeling: The Power of Capital Advantage in Random-Walk Zero Sum Games (Part 1)
Risk Modeling: The Power of Capital Advantage in Random-Walk Zero Sum Games (Part 1)
Pranav Ahluwalia

Pranav Ahluwalia

Computer Scientist Blog: www.pranav.ai Website: www.prandev.com

Following
  • Cassie Kozyrkov

    Cassie Kozyrkov

  • Quant Galore

    Quant Galore

  • Quantpedia

    Quantpedia

  • Graham Giller

    Graham Giller

  • NEU Blockchain Organization

    NEU Blockchain Organization

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable