Skip to content

Instantly share code, notes, and snippets.

View zkytony's full-sized avatar
🍊

Kaiyu Zheng zkytony

🍊
View GitHub Profile
@zkytony
zkytony / mypy-report-mode.el
Created July 30, 2023 20:08
custom mode for navigating mypy output
;;; mypy-mode.el --- Navigate Mypy Output in Emacs
;; Copyright (C) 2023 Kaiyu Zheng
;; Author: Your Name <[email protected]>
;; Keywords: convenience
;; Version: 0.0.1
;; Package-Requires: ((emacs "24.3"))
;;; Commentary:
@zkytony
zkytony / reachable_belief.py
Last active May 28, 2024 00:05
quick example for reachable belief and value iteration with infinite horizon using pomdp-py
import random
import pprint
import pomdp_py
import seaborn as sns
import pandas as pd
import matplotlib.pyplot as plt
from pomdp_py.algorithms.value_function import expected_reward, belief_observation_model
from pomdp_py.problems.tiger.tiger_problem import TigerProblem, TigerState