Hot answers tagged

31 votes

Why does C++ seem less widely used than Python in AI?

You don't need a powerful language for programming AI. Most of the developers are using libraries like Keras, Torch, Caffe, Watson, TensorFlow, etc. Those low level libraries are highly optimized and ...
user avatar
  • 369
14 votes

Why does C++ seem less widely used than Python in AI?

C++ is actually one of the most popular languages used in the AI/ML space. Python may be more popular in general, but as others have noted, it's actually quite common to have hybrid systems where the ...
user avatar
  • 3,677
13 votes
Accepted

What language is the GPT-3 engine written in?

The GPT-3 source code hasn’t been released but the creators say it uses the “same model and architecture as GPT-2” (source) with some exceptions. The GPT-2 source code is written in 100% Python. The ...
user avatar
  • 470
5 votes

Why does C++ seem less widely used than Python in AI?

It depends how flexible it needs to be: if you have a fully-fledged system ready for production, which is not going to need much adjusting, then C++ (or even C) might be fine. You need to put a lot of ...
user avatar
  • 5,062
2 votes
Accepted

Is it expected that adding an additional hidden layer to my 3-layer ANN reduces accuracy significantly?

You probably got the back propagation wrong. I have done a test on the accuracy on adding an extra layer and the accuracy went up from 94% to 96% for me. See this for details: https://colab.research....
user avatar
  • 1,715
1 vote

Which approach should I use to classify points above and below a sine function $y(x) = A + B \sin(Cx)$?

You can try using Fourier basis functions to transform your observable variables and then apply a general linear regression model. To clarify, if you have pairs of observables $(y_i, x_i)$ where $y_i$ ...
user avatar
  • 2,226
1 vote

Neural network doesn't seem to converge with ReLU but it does with Sigmoid?

It seems like you're suffering from the the dying ReLU problem. ReLU enforces positive values so the weights and biases your network learned are leading to a negative value passed through the ReLU ...
user avatar
1 vote

Why does C++ seem less widely used than Python in AI?

You claim that C++ is technically a more powerful language than python. But that claim is wrong (or does not mean much). Remember that a programming language is a specification (often some document ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible