predicting the price variations of bitcoin, a virtual cryptographic currency. These predictions could be used as the foundation of a bitcoin trading strategy. To make these predictions, you will have to familiarize yourself with a machine learning technique, Bayesian Regression, and implement this technique in Python
Error - print "The MSE is %f" % (MSE)
File "", line 154
print "The MSE is %f" % (MSE)
^
SyntaxError: invalid syntax
Tried Solution :-
if done this - print ("The MSE is %f" % MSE)
then error -
( for i in xrange(0,len(train1_90.index)) :
trainDeltaP90 = np.append(trainDeltaP90, computeDelta(weight,train2_90.iloc[i],train1_90))
Traceback (most recent call last):
File "", line 1, in
for i in xrange(0,len(train1_90.index)) :
Error - print "The MSE is %f" % (MSE) File "", line 154
print "The MSE is %f" % (MSE)
^
SyntaxError: invalid syntax
Tried Solution :-
if done this - print ("The MSE is %f" % MSE) then error -
( for i in xrange(0,len(train1_90.index)) : trainDeltaP90 = np.append(trainDeltaP90, computeDelta(weight,train2_90.iloc[i],train1_90)) Traceback (most recent call last):
File "", line 1, in
for i in xrange(0,len(train1_90.index)) :
NameError: name 'xrange' is not defined )
Please Help!