Reading implementation of scikit-learn in TensorFlow: http://learningtensorflow.com/lesson6/ and scikit-learn: http://scikit-learn.org/stable/modules/generated/sklearn.cluster.KMeans.html I'm struggling to decide which implementation to use.
scikit-learn is installed as part of the tensorflow docker container so can use either implementation.
Reason to use scikit-learn :
scikit-learn contains less boilerplate than the tensorflow
implementation.
Reason to use tensorflow :
If running on Nvidia GPU the algorithm will be run against in parallel
, I'm not sure if scikit-learn will utilize all available GPUs?
Reading https://www.quora.com/What-are-the-main-differences-between-TensorFlow-and-SciKit-Learn
TensorFlow is more low-level; basically, the Lego bricks that help
you to implement machine learning algorithms whereas scikit-learn
offers you off-the-shelf algorithms, e.g., algorithms for
classification such as SVMs, Random Forests, Logistic Regression, and
many, many more. TensorFlow shines if you want to implement
deep learning algorithms, since it allows you to take advantage of
GPUs for more efficient training.
This statement re-enforces my assertion that "scikit-learn contains less boilerplate than the tensorflow implementation" but also suggests scikit-learn will not utilize all available GPUs?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…