Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
graduating

Jerry xzpjerry

💭
graduating
  • Oregon
View GitHub Profile
View C4.5.py
from collections import Counter
from math import log
# SAMPLE_FILE_NAME = "waiting.csv"
# SAMPLE_FILE_NAME = "golf.csv"
SAMPLE_FILE_NAME = "home_inSF.csv"
class STD_INPUT:
def __init__(self, labels, attributes, data, curr_best_attri=None, curr_best_threshold=None):
You can’t perform that action at this time.