UrbanPro

Learn Python Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

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

Adobe Certified , Microsoft Certified Trainer with 9 years of experience

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

Which is better: Python or Ruby?
Both Python and Ruby are powerful languages, but they have different strengths: - **Python** is widely used for data science, machine learning, and web development. It's known for its readability and...
Praveen
0 0
6
What is Python primarily used for?
Python is primarily used for the following:Python libraries are used in Machine Learning, Deep Learning, Data Science, Artificial Intelligence fields.Python frameworks such as Django and Tkinter are used...
Raja
0 0
6
Is it possible to learn Python without any coaching class?
Certainly it is possible. What is required is some dedicated time, self-discipline and the willingness to learn by trial and error.
Neetu
0 0
7
What are the best online courses to learn Python in 2021?
The best online courses to learn python in 2021 are: 1. Complete Python Bootcamp 2022: Go from Zero to Hero in Python 2. Python 3 Tutorial from Codeacademy 3. Python Programming Masterclass 4. The...
Anupam
0 0
6
Is learning Python good or bad?
Its depend on your requirement, I mean if you are seeking for good opportunity to move from one Org. to another, or migrating some applications into your project, or your manager are eagerly requesting...
Harish
0 0
7

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

Ask a Question

Related Lessons

Using the random module: another program.
A Python module is just a file that contains reusable code like functions. If a program is going to use functions that are stored in another module, it needs to first import that module.The random module...

Steps of Execution of a Python Program
When we compile a Python program, the python compiler converts the Python source code into another code called byte code. Byte code is a fixed set of instructions that represent different types of operations....

Python Dictionary
Python dictionary is an unordered collection of items. While other compound datatypes have only value as an element, a dictionary has a key: value pair. Dictionaries are optimized to retrieve values when...

Simulation of a die-roll:Usage of random module
Task:Simulation of a simple die-rolling game,where we keep rolling a six-sided die until we have rolled a total of 20. To simulate a six-sided die roll, we need a way to generate a random integer between...

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...

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
X

Looking for Python Training Classes?

The best tutors for Python Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Python Training with the Best Tutors

The best Tutors for Python Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more