Example #1
0
 def __init__(self, arg):
     super(myMTIS, self).__init__()
     prepare = rawData.splitRawData(arg)
     prepare.doBatch()
     self.myReg = regrmdup.prepross(prepare.splitedRawData())
     self.myReg.proPredictor, self.myReg.trainYrs, self.myReg.coe, self.myReg.factor = [
         'ALL', ['2010', '2011'], 'Pearson', 'PR'
     ]
Example #2
0
	def __init__(self, arg):
		super(myMTIS, self).__init__()
		prepare = rawData.splitRawData(arg)
		prepare.doBatch()
		self.myReg = regrmdup.prepross(prepare.splitedRawData())
		self.myReg.proPredictor, self.myReg.trainYrs, self.myReg.coe, self.myReg.factor = ['ALL', ['2010', '2011'], 'Pearson', 'PR']
Example #3
0
#!/usr/bin/env python

import regrmdup, rawData, sys, MTIS, Validate

validate, mtis = False, False

if validate:
	Validate.myValidate(sys.argv).doBatch()
elif mtis:
	# build MTIS data
	MTIS.myMTIS(sys.argv).matrixBuilder()
else:
	# compute thesis data
	prepare = rawData.splitRawData(sys.argv)
	prepare.doBatch()
	regrmdup.prepross(prepare.splitedRawData()).doBatch()
Example #4
0
#!/usr/bin/env python

import regrmdup, rawData, sys, MTIS, Validate

validate, mtis, split = False, False, False

if validate:
    Validate.myValidate(sys.argv).doBatch()
elif mtis:
    # build MTIS data
    MTIS.myMTIS(sys.argv).matrixBuilder()
elif split:
    prepare = rawData.splitRawData(sys.argv)
    prepare.doBatch()
else:
    # compute thesis data
    prepare = rawData.splitRawData(sys.argv)
    prepare.doBatch()
    regrmdup.prepross(prepare.splitedRawData()).doBatch()