Skip to content

Instantly share code, notes, and snippets.

View pknelakuditi's full-sized avatar
👋
Open to work with enthusiastic people

pavan pknelakuditi

👋
Open to work with enthusiastic people
View GitHub Profile
#Author: Krishnamurthy Koduvayur Viswanathan
from __future__ import division
import collections
import math
class Model:
def __init__(self, arffFile):
self.trainingFile = arffFile
self.features = {} #all feature names and their possible values (including the class label)