def __init__(self):
     self.x = []
     self.data = phrasingData.footballData().dataSets[season]
     self.data2 = phrasingData.footballData().dataSets[season2]
     self.data3 = phrasingData.footballData().dataSets[season3]
     self.testData = phrasingData.footballData().dataSets[testSeason]
     self.pastResult = pastKresults.PastKGames(season)
     self.pastResult2 = pastKresults.PastKGames(season2)
     self.pastResult3 = pastKresults.PastKGames(season3)
     self.pastTestResult = pastKresults.PastKGames(testSeason)
     self.features = []
     self.features2 = []
     self.features3 = []
     self.testFeatures = []
    def __init__(self):

        self.history = []
        self.fbData = footballData()
        self.feature = []
        self.trainData = self.fbData.dataSets['E2015']
        self.trainData.extend(self.fbData.dataSets['E2014'])
Beispiel #3
0
	def __init__(self):

		self.team_features = []
		self.data_set = []
		self.data_set2 = []
		self.centers = []
		self.prediction = []
		self.teams = [[[0 for col2 in range(3)] for col in range(5)] for row in range(5)]
		self.teams_cluster = {}
		self.scores = []
		self.fbData = footballData()
		self.team_names = self.fbData.teamNamesPerSeason[fileName]
    def __init__(self):
        self.dataSet = phrasingData.footballData().dataSets
        self.trainSet = self.dataSet['E2014']
        self.trainSet.extend(self.dataSet['E2013'])
        self.testSet = self.dataSet['E2015']
        self.trainFeatures = []
        self.testFeatures = []
        self.past_k_result = pastKresults
        self.past_k_game_results = pastKresults.PastKGames('E2014')
        self.past_k_game_results15 = pastKresults.PastKGames('E2015')
        self.past_k_game_history = pastKresults.gamePastKHitory()
        self.past_k_game_perform = pastKresults.pastKGamePerform('E2014')
        self.past_k_game_perform15 = pastKresults.pastKGamePerform('E2015')
        self.multi = multivariaLR.multivariaLinearRegression()

        self.multi.constractFeatures()
        self.multi.doLF()
Beispiel #5
0
 def __init__(self):
     self.history = []
     self.fbData = footballData()
Beispiel #6
0
 def __init__(self):
     self.dataset = phrasingData.footballData().dataSets[season]
     self.oddsSet = []
 def __init__(self, season):
     self.fbData = footballData().dataSets['E2015']
     self.fbData.extend(footballData().dataSets[season])
     self.fbData.extend(footballData().dataSets['E2013'])
     self.performance = []
    def __init__(self, season):
        self.trainSet = []
        self.fbData = footballData()
        self.season = season

        self.set_trainData()