Why is artificial intelligence driven by Python and not C++?

Asked by Last Modified  

Follow 7
Answer

Please enter your answer

The people doing the most Artificial intelligence research are not the run-of-the-mill software engineers; they do not care about memory management, cost references, and multiple inheritances. They just want tools that would allow them to visualize thier data, put together an experiment in just a few...
read more
The people doing the most Artificial intelligence research are not the run-of-the-mill software engineers; they do not care about memory management, cost references, and multiple inheritances. They just want tools that would allow them to visualize thier data, put together an experiment in just a few lines of code. Python lets them do all this, C++ does not. The underlying libraries doing the bulk of the data processing are actually C or C++. Python is used as a “glue language” which glues together multiple libraries and provides a higher-level API for accessing them. So that is why AI is driven by Python and not C++ Happy coding read less
Comments

I am an entrepreneur and have more than 35 years of experience in the IT industry

Python is best suited to focus on solving the problem rather than getting bogged down by coding. While beneath Python covers, it has significant amount of C / C++ code
Comments

IT Corporate Trainer with 9 years of experience in Edu tech

It is being driven by C++. Tensorflow is really just C++ with a thin Python wrapper over it. Try using the C++ API and you’ll understand why they created the wrapper. It’s got all the speed of C++ though. Cafe is entirely C++. I’ve never used Theano, but from googling it, it seems...
read more
It is being driven by C++. Tensorflow is really just C++ with a thin Python wrapper over it. Try using the C++ API and you’ll understand why they created the wrapper. It’s got all the speed of C++ though. Cafe is entirely C++. I’ve never used Theano, but from googling it, it seems like it uses NumPy which is C on the backend. You're correct in thinking that Python is too slow for ML (I assume that’s why you asked this). The libraries just use Python layers to simplify the interface so you don’t need to worry about obscure data types to represent matrices and the like. Even if Python was fast enough for ML, it just wouldn’t be practical to build the frameworks in that language. I mean think about all the things in which AI applications are going to be deployed on. IoT, self driving cars, security cameras, mobile phones, various purpose built devices, military devices, we’re going to need C++ frameworks for this. read less
Comments

python supported by tensorflow which is used very flexible for AI
Comments

View 2 more Answers

Related Questions

Is it possible to learn Python without any coaching class?
Yes, why not. Just it takes time and proper guidance by someone.
Neetu
0 0
7
Hi, I'm BCA graduate, and I have seven years in the general insurance field now I want to change my profile and upgrade my knowledge. Will learning python help me with my growth in my career?
Hi, as far as my knowledge goes first, you should learn data processing tools or programs like MS Excel, Power Bi, or SQL then you should then take a leap into Python, which will make automating your work quite simple.
Supriya
I completed my graduation in 2017, now working as an HR Executive in a Consultancy. I want to move to IT Sector. Which course is best for me to learn and get success in life? Please Suggest me
Dear Kumar, My suggestion is to - become good in one programming language - preferably Java and one O/S preferably Linux. Be aware of Open Source systems. Try to identify the opportunities in your existing...
Kumar
SVM is applicable only for numeric data or can also be for textual data?
SVM can work with textual data also. However you have to train the SVM to classify the text data. It is a usual practice to create a document-term matrix from the text that you have, to make SVM work easily on the data.
Harsha
How do I learn Python in depth?
Learning Python in depth is not a big issue first start practising basic of coding daily don't copy and paste start writing the code , after these basic you can go for advanced level of python like OOPS...
Mahender
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

File Handling in Python - Basic Concept
File (Flat) Handling in Python Types of files in python: 1: Text file: Stores data in the form of characters. Customarily used to store text/string data. 2: Binary file: Stores data in the form of bytes....

Write your first Python program in 10 minutes
1. Download python from python official site search "python download" in google 2. Install in your machine 3. verify using : "python --version" command 4. Write first program using notepad create...

Decorator Introduction
A decorator takes in a function, adds some functionality and returns it. Functions can be passed as arguments to another function like map, filter and reduce Function that take other functions as arguments...

What Is the Identifier and Data Types in Python?
It is used for identification purpose like- x=10; where x is variable, and it can be store int type value in the x variable. Rules of identifier:- It can be started with underscore like:- _x=10 It...

Relational operators
Operation Syntax Function Ordering a < b lt(a, b) Ordering a <= b le(a, b) Equality a == b eq(a, b) Ineqality a != b ne(a, b) Ordering a >= b ge(a, b) Ordering a > b gt(a, b)

Recommended Articles

Python is one of the most popular programming languages in the world. It is general-purpose, object oriented, high-level programming language used in a number of programming fields. Python is a great programming language to learn as it will introduce you to the world of programming. If you are from the technical background...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Looking for Python Training classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you