Skip to content

Instantly share code, notes, and snippets.

View forrestbao's full-sized avatar

Forrest Bao forrestbao

View GitHub Profile

A decision tree for international students (F1) to legally work for their own startups in the US.

This is NOT legal advice.

Let's assume this student's name is Zeyu.

graph TD
  A[register the company] --> B[Zeyu as a co-owner]
@forrestbao
forrestbao / hw2.py
Last active September 29, 2022 20:45
WUSTL CSE 417 Intro to ML HW2 solution for logistic regression using cross-entropy loss and gradient descent
# Course website: http://chienjuho.com/courses/cse417t/
# HW2: http://chienjuho.com/courses/cse417t/hw2.pdf
# Code here shall explain how to train a logistic regressor using gradient descent when the loss is cross entropy.
# CC-By license
# Homework 2 Code
import numpy as np
import pandas as pd
import time
import scipy.stats
@forrestbao
forrestbao / miracleplus.md
Last active January 7, 2022 23:25
MiraclePlus (formerly YC China) Investments