[1] "Initializing ..."
[1] "Tensorflow Version = 0.8.0"
parameters : n_classes = 2 batch_size = 128 steps = 5000 learning_rate = 0.050000
/Users/stvjc/anaconda/lib/python2.7/site-packages/skflow/io/data_feeder.py:217: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
out.itemset((i, self.y[sample]), 1.0)
Error in python.exec("\n tflr = skflow.TensorFlowLinearClassifier(n_classes=nClasses,\n batch_size=miniBatchSize, \n steps=steps, learning_rate=learningRate)\n models[modelTag] = tflr\n tflr.fit(X_train, y_train)\n ") :
Using a tf.Tensor as a Python bool is not allowed. Use if t is not None: instead of if t: to test if a tensor is defined, and use the logical TensorFlow ops to test the value of a tensor.
R version 3.3.0 beta (2016-04-01 r70412)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.5 (Yosemite)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] deepLearnR_0.0.0.9000 rmarkdown_0.9.6 BiocInstaller_1.22.2
[4] knitr_1.12.3
loaded via a namespace (and not attached):
[1] htmltools_0.3.5 tools_3.3.0 Rcpp_0.12.4.5 RJSONIO_1.3-0
[5] rPython_0.0-6 digest_0.6.9
example(TensorFlow.SystemLinReg) succeeds.
[1] "Initializing ..."
[1] "Tensorflow Version = 0.8.0"
parameters : n_classes = 2 batch_size = 128 steps = 5000 learning_rate = 0.050000
/Users/stvjc/anaconda/lib/python2.7/site-packages/skflow/io/data_feeder.py:217: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
out.itemset((i, self.y[sample]), 1.0)
Error in python.exec("\n tflr = skflow.TensorFlowLinearClassifier(n_classes=nClasses,\n batch_size=miniBatchSize, \n steps=steps, learning_rate=learningRate)\n models[modelTag] = tflr\n tflr.fit(X_train, y_train)\n ") :
Using a
tf.Tensoras a Pythonboolis not allowed. Useif t is not None:instead ofif t:to test if a tensor is defined, and use the logical TensorFlow ops to test the value of a tensor.R version 3.3.0 beta (2016-04-01 r70412)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.5 (Yosemite)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] deepLearnR_0.0.0.9000 rmarkdown_0.9.6 BiocInstaller_1.22.2
[4] knitr_1.12.3
loaded via a namespace (and not attached):
[1] htmltools_0.3.5 tools_3.3.0 Rcpp_0.12.4.5 RJSONIO_1.3-0
[5] rPython_0.0-6 digest_0.6.9
example(TensorFlow.SystemLinReg) succeeds.