What is the advantage of using tensorflow instead of scikit-learn for doing regression? [closed] - tensorflow

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am new to machine learning and I want to start doing basic regression analysis. I saw that scikit-learn provides a simple way to do this. But why people use tensorflow for regression instead? Thanks!

If the only thing you are doing is regression, scikit-learn is good enough and will definitely do you job. Tensorflow is more a deep learning framework for building deep neural networks.
There're people using Tensorflow to do regression maybe just out of personal interests or they think Tensorflow is more famous or "advanced".

Tensorflow is a deep learning framework and involves far more complex decisions concerning algorithm design.
In the first step, it is recommended to use sklearn, because you will get a first ml model with scikit-learn faster. Later you can use a dl model with tensorflow. :-)

Related

predict the position of an image in another image [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
If one image is a part of another image, then how to compute the accurate location in deep learning way?
Now I could compute this by extracting and matching key points using OpenCV, but I hope to solve it with neural networks.
Any ideas to design the networks and loss functions?
Thanks very much.
This is a detection problem. The simplest approach to do it is to create a a network with two heads, one for classification and the other for the bounding box (regression).
you feed your network with the image and respective label, and sum the lossess and do a backward. train for some epochs and you'll get your self a detection model that you can use to detect what you need. but its just a simple approach and it can get much more complex.
You may as well skip this and use an existing detection architecture or better framework which simplifies your life much better.
For Tensorflow I belive you can use ObjectDetctionAPI and for Pytorch you can use Detectron, Detectron2, mmdetection among others.

How to select deep learning library and CNN architecture? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am new in the deep learning, and I want to use convolutional neural networks (CNN) for image recognition (biometric images).
I would like to use pre-trained CNN architecture and use a python programming language.
How can I select the suitable CNN architecture (VGGNet or GoogleNet ...), is there a preferable CNN architecture?
What do you think is the best library to do this work, how can I select the suitable library?
Thanks..
You can use tensorflow-slim. They have a library of many top pre-trained CNN models that you can use directly or fine-tune easily on your dataset. I think the training time depends on your hardware and amount of data you have.

Advantages and Disadvantages of MXNet compared to other Deep Learning APIs [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
Recently I decided to learn MXNet, as some code I need to use, is written using this API.
However, I would like to know which are the advantages and disadvantages of MXNet compared to the other Deep Learning Libraries out there.
Perhaps the biggest reason for considering MXNet is its high-performance imperative API. This is one of the most important advantages of MXNet to other platforms. Imperative API with autograd makes it much easier and more intuitive to compose and debug a network. PyTorch also supports imperative API, but MXNet is the only platform AFAIK that supports hybridization, which effectively allows your imperative model to be converted to a symbol for similar performance to symbolic API. Here is a link to tutorials on Gluon, MXNet's imperative API: http://gluon.mxnet.io/
Given that you're using an example code, it is possible that the example was written using symbolic API. You may notice MXNet's advantage in symbolic API when training on many GPUs. Otherwise you won't notice much of a difference (except perhaps in some memory usage).
Tensorflow does have a one year head-start to MXNet and as a result it has a larger user base, but it only supports symbolic API (imperative API is very new and is only meant for experimentation), which is significantly harder to debug a network when you run into issues. However MXNet has quickly caught up in features and with 1.0 release, I don't think there is anything in TF that MXNet doesn't support.

TensorFlow: CPU Choice AVX-512 AMD, Intel? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Most of my training is done using RNN , either LSTM or GRU, and I've found the CPU to be taking much of the load.
I'm looking to put a new system together for testing, and I haven't seen any posts on which Architecture is more conducive to ML with TensorFlow. It seems it boils down to the Intel Core-X series having AVX-512 and AMD not (Specifically looking at i9-7900X vs Threadripper 1950X as they are a similar price).
So the question I have is two-fold:
Does TensorFlow make use of AVX-512 extensions, and
Are those extensions beneficial enough to make up for a 6-core deficiency of the 1950X -> 7900X
~ Are there any other considerations I am not taking into account? Any specialized performance optimizations that TF has made for Intel processors over AMD?

Is TensorFlow suitable for Recommendation Systems [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I have read blogpost about TensorFlow is being open sourced.
In the tutorials and the examples on the TensorFlow website, I see that they are mostly classification problems. (e.g. given an image, classify the number written in it)
I am curious about it the software also suitable for solving problems in recommendation system?
For example, is it good for solving problems on collaborative filtering / content-based filtering?
Tensorflow is great for deep learning, or training large neural nets. Although, it can be used for several other mathematical applications such as PDEs, various classifiers, recommendation systems etc, there doesn't seem to have a lot of support for them as yet.
This reddit thread might be a good place to start for searching libraries which are centred around recommendation systems.