Questions tagged [c++]

For questions about implementation of Machine Learning and Artificial Intelligence algorithms in the C++ programming language.

Filter by
Sorted by
Tagged with
18
votes
5answers
37k views

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

I just want to know why do machine learning engineers and AI programmers use languages like Python to perform AI tasks and not C++, even though C++ is technically a more powerful language than Python.
2
votes
1answer
57 views

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

I'm not really sure if this is the sort of question to ask on here, since it is less of a general question about AI and more about the coding of it, however I thought it wouldn't fit on stack overflow....
0
votes
2answers
62 views

Why there's so much search for Python professionals in AI? [closed]

Even with ample knowledge about the low computational performance that Python has, and even though it is an interpreted language that is not recommended for real-time applications, it is the ...
4
votes
1answer
74 views

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

I've been using several resources to implement my own artificial neural network package in C++. Among some of the resources I've been using are https://www.anotsorandomwalk.com/backpropagation-...
2
votes
1answer
113 views

Convolutional layer to Fully Connected Layer implementation

Im implementing a neural network framework from scratch in C++ as a learning exercise. There is one concept I don't see explained anywhere clearly: How do you go from your last convolutional/pooling/...
1
vote
0answers
35 views

Any good resources for learning programming GPU level operations?

I want to be able to improve my lower level device specific programming abilities to assist in future endeavors. Examples would be learning to write custom tensorflow operations in C++ optimized to ...
2
votes
1answer
1k views

How to export Pytorch Deep Neural Networks trained model to C++ program to use it from C++? [closed]

I want to build a DNN model that I will later integrate into a C++ program. I heard that PyTorch model is hard to load it on C++ and the integration requires extra code, and it's complicated. I have ...
3
votes
4answers
2k views

Is there something like OpenCV for voice recognition & NLP?

As you know OpenCV is a big great open-source library for image recognition and machine vision(and may further purposes like computer graphics, etc). Is there similar library in sound field(Voice ...
4
votes
1answer
175 views

Algorithm For Making Balanced Weapons In A Game?

I am trying to make balanced weapon pairs. So there are five stats per weapon, and I am simulating a number of combats (1000) with different stats randomized, and counting the win, lose, and draw of ...
2
votes
1answer
1k views

Value iteration algorithm from pseudo-code to C++

I am having a difficult time translating this pseudocode into functional C++ code. At line 10: The value function is represented as V[s], which has a bracket notation like arrays. Is this a separate ...
2
votes
3answers
1k views

How and where can I start learning AI if I have considerable knowledge of Java & C++?

I have deep interest in AI and want to start learning how to implement current method. I know about java and C++; are these languages sufficient? I'd appreciate suggestions regarding free online ...