Currently, feed dicts are working in the same thread as main training thread, which slows down the training loop by the time it takes to process and sample record.
A better option would be to run sampling in the thread and feed into Queue and then main thread will just take full batches out of the queue.
As a performance test, would be interesting to get a match between speed of sklearn.linear_model.LogisticRegression and skflow.TensorFlowLinearClassifier.
Currently, feed dicts are working in the same thread as main training thread, which slows down the training loop by the time it takes to process and sample record.
A better option would be to run sampling in the thread and feed into Queue and then main thread will just take full batches out of the queue.
As a performance test, would be interesting to get a match between speed of
sklearn.linear_model.LogisticRegression
andskflow.TensorFlowLinearClassifier
.