How is python used in the AI (Artificial Intelligence) field? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How is python used in the AI (Artificial Intelligence) field?

Hi! I am a python beginner. I have heard from many people saying that python programming language is used in AI field. But what exactly are they meaning by saying so? Is it like, creating robots and stuff (like how we see in movies) or making 'softwares' that can interact with humans. Could anyone explain how python is used in AI field in a detailed manner? What are the things that I can do in AI field if I master python (like a real pro)?

1st Aug 2021, 1:05 PM
Sanin NBCS
Sanin NBCS - avatar
11 Answers
+ 1
Python is quite useful when operating with data, which AI basically is. And you definitely do not to be pro in python to make AI. The complexity of an AI only depends on how large dataset is so yeah... https://en.m.wikipedia.org/wiki/Machine_learning
1st Aug 2021, 1:10 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 1
Martin Taylor, making an "AI" is quite easy. The problem lays in training it. The most simplistic AI could be made without use of any libraries in a few minutes with python. As I said there are array or arrays with different random values in it. And what you do is you pass data "through" arrays using specific algorithm and round values using function similar to sigmoid to get desired output. But there are two main problems with making complex AIs: 1. Training complex systems will take way too much time, so you can't just use randomised weights. 2. Making somewhat intellegent is quite impossible at this level. Machine learning is an algorithm that simulates how brain works, however it is a lot slower and it will require a lot more space of hardware to create. And obviously Tesla is not entirely AI, that would be impossible at this stage. Tesla only uses ai at some circumstances.
1st Aug 2021, 9:41 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 1
I never said anything about "pseudo science" and "scams". Of course there tone of things to research. What I was trying to say was that making AI's is not as complected as many say. Of course it will take a lot of work and time for complected systems, but you don't need months of study to make AI to recognise a dog on an image or play Tetris. Most researches nowdays are aimed to make a hardware AI rather than software simulation, as it will greatly increase its speed tho.
2nd Aug 2021, 11:11 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
0
AI is basically based on some complex calculations including random functions.
1st Aug 2021, 1:42 PM
Jan
Jan - avatar
0
Aleksei Radchenkov Quantum So, is AI a subset of machine learning? Like, creating a model with an algorithm and feeding it lots of data?
1st Aug 2021, 1:47 PM
Sanin NBCS
Sanin NBCS - avatar
0
No machine learning is a subset of AI
1st Aug 2021, 1:47 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
0
Here is how machine learning works: you have a few connected arrays with specific different values.
1st Aug 2021, 1:48 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
0
You then run your dataset through those trays using specific functions, and changing values in the arrays to get on average desired output.
1st Aug 2021, 1:49 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
0
Here is "simple" ;) explanation of how that works: https://www.explainthatstuff.com/introduction-to-neural-networks.html
1st Aug 2021, 1:52 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
0
Python is used in AI with modules like tensorflow, which are written in python. You read datasets with panda & numpy which are also python modules. This is the point, where you need Python. To connect and use the moduleswith your data. To use this modules in your AI project. There is a course on SL. I got it on half way, you need some skills in Python. Try it for your self. Data: If you want to do AI things, think about data. Much data. I needed for a project at least 50 mb of text spoken of a spezific person. This was the time I start to realize what 50mb text means. Think about datasources, or a concept, where do you can get data. The neural network need them to learn & test, what it has learned. Get data to try things is a own serious topic.
1st Aug 2021, 2:05 PM
Sven_m
Sven_m - avatar
0
You know making a nuclear reactor is not as hard either if u get all the materials. ;) Just get lots of plutonium and other nuclear stuff with long lifetime and transfer heat from it into energy. Some kid in USA did it many years ago, but then he died in jail :(
2nd Aug 2021, 9:56 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar