python - How can I specify target_column for more than one column while reading csv file in tensorflow -


i have csv file following line format without header

10,10,10,225,123, ..., 0,0,1,0,0,0 

number of features = 768 , size of label 6x1

i know possible read csv file single target column using following code

datasets=tf.contrib.learn.datasets.base.load_csv_without_header(      filename="datafile.csv",       target_dtype=np.int,       features_dtype=np.float32) 

my question how can specify number of target columns when calling method?


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -