هوش مصنوعی دقیقا چیه؟ (2)
intelligence|artificial|exactly|what is
Was genau ist künstliche Intelligenz? (2)
¿Qué es exactamente la inteligencia artificial? (2)
Qu'est-ce que l'intelligence artificielle exactement ? (2)
Cos’è esattamente l’intelligenza artificiale? (2)
人工知能とは一体何なのでしょうか? (2)
Czym właściwie jest sztuczna inteligencja? (2)
What exactly is artificial intelligence? (2)
وقتی صحبت از هوشمندی و هوش مصنوعی میشه، بیشتر از اینکه
when|talk|about|intelligence|and|smart|artificial|happens|more|than|that
When we talk about intelligence and artificial intelligence,
بیشتر از اینکه به یه برنامهی کامپیوتری با کدای عجیب غریب فکر کنیم،
more|than|that|to|a|||computer|with|codes|strange|weird|think|we do
more than thinking of a computer program with strange codes,
یه ربات انساننمای هوشمند میاد تو ذهنمون.
a|robot|||intelligent|comes|into|our mind
an intelligent humanoid robot comes to our mind.
یه ربات میتونه تعداد زیادی از شاخههای هوش مصنوعی رو تو خودش جا داده باشه.
a|robot|||number|many|of|||intelligence|artificial|in|it|itself|place|contained|be
A robot can encompass many branches of artificial intelligence.
از یادگیری ماشین و پردازش زبان طبیعی گرفته تا بینایی ماشین و چیزای دیگه.
from|learning|machine|and|processing|language|natural|taken|to|vision|machine|and|things|other
From machine learning and natural language processing to computer vision and other things.
کنار اینا از ابزارهای مکانیکی هم استفاده میکنه برای
beside|these|from|tools|mechanical|also|||for
Alongside these, it also uses mechanical tools for
حرکت و جابجایی و انجام دادن کارایی که بهش محول میشه.
movement|and|relocation|and|performing|giving|tasks|that|to him/her|assigned|is done
movement and displacement and performing tasks assigned to it.
حالا بیایید خودمون یه برنامهی سادهی هوش مصنوعی بنویسیم که
now|let's|ourselves|a|||||artificial|intelligence|write|that
Now let's write a simple artificial intelligence program that
از اطلاعاتی که ما بهش میدیم یاد بگیره، بعد وقتی که اطلاعات جدید
from|information|that|we|to it|give|learn|it learns|then|when|that|information|new
learns from the information we provide it, and then when new information
بهش دادیم بر اساس اون چیزایی که یاد گرفته بیاد جواب درست به ما بده.
to him|we gave|based|on|those|things|that|learned|he has|he comes|answer|correct|to|us|he gives
We gave it the task to provide us with the correct answers based on what it has learned.
اینجا هدفم، آموزش برنامهنویسی یادگیری ماشین نیست، فقط میخوایم ببینیم
here|my goal|teaching|||machine|machine|is not|only|||to see
Here, my goal is not to teach machine learning programming, we just want to see
که یه برنامهی خیلی ساده که یادگیری انجام میده، چجوری اینکارو میکنه.
that|a|||very|simple|that|learning|performing|gives|how|this work||
how a very simple program that performs learning does this.
خب برنامه رو به زبان پایتون مینویسم.
well|program|it|in|language|Python||
Well, I will write the program in Python.
یادگیری ماشین، همونطور که گفتم، با استفاده از دادههای زیاد انجام میشه.
learning|machine|just||I said|with|use|of|||large|is done|
Machine learning, as I mentioned, is done using a lot of data.
که این دادهها هم هر چیزی میتونن باشن مث عکس، فیلم، متن.
that|these|||also|any|thing|||be|like|photo|video|text
These data can be anything like images, videos, text.
سایتای زیادی وجود دارن که دادههای رایگان در اختیار شما میذارن.
websites|many|exist|have|that|||free|in|disposal|you|
There are many websites that provide free data for you.
من از این سایت استفاده میکنم که لینکشو میذارم زیر ویدیو:
I|from|this|site|use|||that|its link|I will put|under|video
I use this website, and I will put the link below the video:
این سایت یه مجموعه داده داره دربارهی ماشینا.
this|site|a|collection|data|has|||cars
This website has a dataset about cars.
یعنی یه نفر یا چند نفر اومدن از روی ماشینای واقعی،
it means|one|person|or|several|person|came|from|on|cars|real
That is, one or more people came and created data based on real cars,
یه سری اطلاعات جمعآوری کردن و داخلش ذخیره کردن.
a|set|information|||they|and|inside it|stored|they
They collected a series of information and stored it inside.
اینجا سرچ میکنم car.... اولین گزینه رو میزنم.
here|search|||car|first|option|the||
I search for car here.... I select the first option.
اینجا Data Folder رو میزنم، اینجا فایل car.data فایلی که دیتا سِت ماست
here|Data|Folder|the|I click|here|file|||file|that|data|set|our
I click on Data Folder here, this is the file car.data which is our data set.
یعنی اطلاعات ما توش ذخیره شده، اینو ذخیرش میکنم.
it means|information|our|in it|stored|has been|this|saving it|I will do
This means our information is stored in it, I save this.
حالا نرمافزار py charm که برای برنامهنویسی پایتون
now|||py|charm|that|for|||Python
Now the software py charm which is for Python programming.
استفاده میشه رو باز میکنم یه پروژه توش ایجاد میکنم،
use|is|it|open|I create|a|project|in it|I create|I do
I will open the software, create a project in it,
خب این فایل car.data رو...
well|this|file|||the
Well, this car.data file...
که دانلود کردم میبرم تو محل ذخیرهی پروژهی پایتونم قرار میدم.
that|download|I did|I will take|to|location|storage||project||my Python|placement|I will give
that I downloaded, I will place it in the storage location of my Python project.
هرکدوم از این سطرا مربوط به یه ماشینه که چندتا اطلاعات درمورد این ماشینا داره.
each|of|these|lines|related|to|a|car|that|several|information|about|these|cars|has
Each of these rows corresponds to a car that has some information about these cars.
اما الان مشخص نیست که هرکدوم مال چی هستن، برای همین تو خط اول
but|now|clear|is not|what|each of them|belonging to|what|are|for|this|in|line|first
But right now it is not clear what each one belongs to, that's why in the first line
تعریف میکنم که هرکدوم از این ستونا مربوط به چی ویژگی هستن.
||that|each of them|of|these|columns|related|to|what|feature|are
I will define what each of these columns refers to.
پس این خطو اضافه میکنم به... اولین خط این فایل.
so|this|line|add|I will|to|first|line|this|file
So I will add this line to... the first line of this file.
خب ستون اول ارزش خرید یه ماشینو نشون میده که میتونه
well|column|first|value|purchase|a|car|shows|gives|that|can
Well, the first column shows the purchase value of a car, which can be
خیلی بالا، بالا، متوسط یا پایین باشه، ستون دوم هزینهی نگهداریه
very|high||average|or|low|is|column|second|||maintenance
very high, high, average, or low; the second column is the maintenance cost,
که اونم باز به همین شکل، ستون سوم تعداد درها، بعدی ظرفیت ماشین
that|it|again|in|same|way|column|third|number|doors|next|capacity|car
which is also in the same format; the third column is the number of doors, and the next is the car's capacity.
تعداد اشخاصی که توش جا میشن، بعدی ظرفیت صندوق، بعدی مقدار امنیت ماشین
number|people|that|in it|space|fit|next|capacity|trunk||amount|security|car
The number of people that can fit in it, then the trunk capacity, then the level of security of the car.
بعدیم که آخریه، کلاس اون ماشینه که چهار حالت مختلف میتونه داشته باشه:
next|that|last|class|that|car|that|four|states|different|can|have|be
Next, the last one is the class of that car which can have four different states:
un acceptable غیر قابل قبول، acceptable قابل قبول
un|acceptable|non|acceptable|acceptable|قابل قبول||
unacceptable, acceptable.
good, very good یعنی خوب و خیلی خوب.
خوب|خیلی|خوب|||||
good, very good.
یعنی با توجه به این ویژگیهایی که هر ماشین داره،
that is|with|attention|to|these|||that|each|car|has
This means, considering the features that each car has,
حالا آیا این ماشین قابل قبول هست که بخریمش یا نه.
now|whether|this|car|acceptable|to be accepted|is|to|buy it|or|no
Now, is this car acceptable to buy or not?
مثلا ماشین اول ارزش خریدش خیلی بالاس، هزینهی نگهداریش خیلی بالاس،
for example|car|first|value|of purchase|very|high|||of maintenance|very|high
For example, the first car has a very high purchase value, its maintenance cost is very high,
تعداد دراش دوتاس، ظرفیتش دوتاست، صندوقش کوچیکه، امنیتش پایینه،
number||two|its capacity|two|its trunk|is small|its security|is low
it has two doors, its capacity is two, its trunk is small, its safety is low,
درنهایت این یه ماشین غیر قابل قبوله un acceptable. بقیهام به همین شکل.
ultimately|this|a|car|non|acceptable|acceptable|||||in|same|form
ultimately, this is an unacceptable car. The rest are the same.
حالا ما میخوایم یه برنامه بنویسیم که بیاد ویژگیای یه تعدادی از این ماشینا رو
now|we|||a|program|write|that|come|features|a|number|of|these|cars|(object marker)
Now we want to write a program that will come and evaluate the features of some of these cars.
ببینه بعد کلاسشونم نگاه بکنه، بعد یاد بگیره که مثلا ماشینی که
he/she sees|then|their class|look|he/she does||learn|he/she learns|that|for example|car|that
He should look at their class later, and then learn which class a car with certain features belongs to.
فلان ویژگیها رو داره تو کدوم کلاس قرار میگیره.
such|||(object marker)|has|in|which|class|placement|takes
Then we give him the features of new cars that he hasn't seen before, and see how well he can guess the class of the cars using what he has learned so far.
بعدش ویژگیای ماشینای جدیدی که تا حالا ندیده رو بدیم بهش، ببینیم
then|features|cars|new|that|until|now|seen|it|we give|to him|we see
So let's go write his program:
با استفاده از چیزایی که تا حالا یاد گرفته چقدر میتونه کلاس ماشینا رو درست حدس بزنه.
with|use|of|things|that|so far|now|learned|has|how much|can|class|cars|it|correctly|guess|make
پس بریم برنامهشو بنویسیم:
then|let's go|||we write
خب اول، پکیجهایی که برنامهم نیاز داره بهش وارد میکنم:
well|first|||that|||needs|has|to it|import||
Well first, I will import the packages that my program needs:
حالا فایلی که دادهها توش ذخیره شدنو وارد برنامه میکنم:
now|file|that|||in it|stored|were|I will import|program||
Now I will import the file where the data is stored into the program:
تو مرحلهی بعدی، دادههامو از حالت متنی به حالت عددی تبدیل میکنم
you|||next|||from|state|textual|to|state||convert||
In the next step, I will convert my data from text format to numerical format.
چون الگوریتمهای یادگیری فقط با اعداد میتونن کار کنن:
because|||learning|only|with|numbers|||work|do
Because learning algorithms can only work with numbers:
حالا از تمام اطلاعاتی که دارم، دو تا لیست جدا میسازم.
now|from|all|information|that|I have|two|separate|lists|separate||
Now, I will create two separate lists from all the information I have.
یه لیست فقط حاوی اون فیلدی هست که میخوام
a|list|only|containing|that|field|is|that||
A list that only contains the field I want.
برنامهم بتونه پیشبینی کنه، یعنی کلاس ماشینها.
||can|||it|I mean|class||
My program should be able to predict, meaning the class of the cars.
یه لیست هم حاوی بقیهی فیلدهاست یعنی ارزش خرید،
a|list|also|containing|||fields|meaning|value|purchase
Another list contains the rest of the fields, meaning purchase value,
ظرفیت نگهداری، تعداد درها، ظرفیت صندوق وچیزای دیگه. پس:
capacity|storage|number|doors||trunk|and other things|other|so
storage capacity, number of doors, trunk capacity, and other things. So:
تو این مرحله دو تا لیست قبلی رو دوباره هرکدوموشونو
you|this|stage|two|until|list|previous|them|again|each of them
At this stage, I will combine the two previous lists again.
تقسیم میکنم به دو تا لیست دیگه.
I divide|||into|two|additional|lists|other
I will divide it into two other lists.
دلیل این کار اینه که میخوام یه قسمت از اطلاعاتو بدم به برنامه
reason|this|action|||I want|a|part|of|information|I give|to|program
The reason for this is that I want to give part of the information to the program.
تا ازشون استفاده کنه برای یاد گرفتن، بعد یه قسمت دیگه از اطلاعاتم
so that|from them|use|he/she can|for|learning|getting|then|a|part|another|of|my information
So it can use them for learning, then I will keep another part of my information.
کنار نگه دارم که برای برنامم کاملا جدید باشه و بعدا ازش
aside|keep|I have|that|for|my program|completely|new|be|and|later|from it
To be completely new for my program and later use it.
استفاده کنم برای آزمایش یادگیری برنامهم. پس:
use|I will|for|testing|learning|||then
To test my program's learning. So:
حالا میام از یکی از الگوریتمای یادگیری که برای این دادهها مناسبه استفاده میکنم.
now|I will come|from|one|of|algorithms|learning|that|for|these|||suitable|use||
Now I will use one of the learning algorithms that is suitable for this data.
الگوریتمای مختلفی برای استفاده تو بحث یادگیری ماشین وجود داره.
algorithms|various|for|use|in|discussion|learning|machine|exists|has
There are various algorithms available for use in machine learning.
اینکه از کدومشون استفاده کنیم بستگی به نوع دادهها داره
whether|from|which one|use|we|depends|on|type|||has
Which one we use depends on the type of data.
چون برای هر نوع داده، یکی از این الگوریتما بهتر جواب میده.
because|for|each|type|data|one|of|these|algorithms|better|responds|gives
Because for each type of data, one of these algorithms performs better.
الان من ترجیح میدم از یه الگوریتم به نام KNN استفاده کنم. پس:
now|I|||from|a|algorithm|by|the name|KNN|use|do|
Right now, I prefer to use an algorithm called KNN. So:
خب حالا برنامهی من با استفاده از الگوریتم KNN و اطلاعات یه تعدادی از
well|now|||my|with|using|from|algorithm|KNN|and|information|a|number|of
Well, now my program has been able to learn, using the KNN algorithm and the information from a number of
ماشینا که بهش دادم، تونسته یاد بگیره که هر ماشینی که فلان ویژگیها رو
the cars|that|to it|I gave|has been able|learning|to learn|that|every|car|that|such and such|||particle for definite direct object
cars that I provided, which class each car with certain features belongs to.
داشته باشه، توی کدوم کلاس قرار میگیره.
||in|which|class|placement|takes
If I want to see the accuracy of its learning, I will add this code:
اگه بخوام مقدار دقت یادگیریشم ببینم، این کد رو اضافه میکنم:
if|I want|amount|accuracy|of his learning|I see|this|code|the|additional||
In the final step, I will give the data that I had set aside earlier to my program.
تو آخرین مرحله، میام اون دادههایی که قبلا کنار گذاشته بودم به برنامهم میدم
you|last|stage|I will come|those|||that|previously|aside|set|I had|to|||I will give
تا ببینم که با استفاده از چیزایی که تا الان یاد گرفته،
until|I see|that|with|use|from|things|that|until|now||
Let's see how accurately it can guess the class of each car using the things it has learned so far.
کلاس هر ماشینو چقدر میتونه دقیق حدس بزنه. بنابراین:
class|each|car|how much|can|accurately|guess|hit|therefore
So:
خب برنامه رو اجرا میکنم.
well|program|it|run||
I will run the program.
اینجا این بالا دقت یادگیریمو میبینید که 93 صدمه،
here|this|up|accuracy|my learning|||that|hundredths
Here at the top, you can see my learning accuracy is 0.93,
یعنی با یه دقت نسبتا خوبی تونسته یادگیری رو انجام بده برنامهی من.
it means|with|a|accuracy|relatively||has been able to|learning|it|perform|do|||my
which means my program has been able to learn with relatively good accuracy.
اینجا کلاسه برای هر کدوم از ماشینا که بهش دادیم
here|class|for|each|which|of|cars|that|to it|we gave
Here is the class for each of the cars we provided.
کلاس پیشبینی، کلاسی که برنامهی من تونسته پیشبینی کنه اینه:
class|||class|that|||I|has been able to|||do|
The prediction class, the class that my program was able to predict, is:
کلاس واقعی اون ماشین که تو دادهها بوده اینه:
class|actual|that|car|that|you|||was|
The actual class of that car that was in the data is:
میبینید که اکثر جاها برنامهی من تونسته درست پیشبینی بکنه.
you see|that|most|places|||my|has been able to|correctly|||to do
You can see that in most cases, my program was able to predict correctly.
پس به صورت خلاصه، کاری که کردیم این بود که یه برنامه نوشتیم که از روی
so|in|form|summary|work|that|we did|this|was|that|a|program|we wrote|that|from|on
So in summary, what we did was write a program that based on
یه بخشی از اطلاعات ماشینا تونست یاد بگیره که مثلا هر ماشینی که دو تا در داره،
a|part|of|information|cars|was able|to learn|to understand|that|for example|every|car|that|two|doors||has
A part of the information about cars was able to learn that, for example, any car that has two doors,
صندوقش بزرگه، امنیتش بالاست و این چیزا، یه ماشین قابل قبوله.
its trunk|is big|its security|is high|and|these|things|a|car|acceptable|acceptable
has a large trunk, high security, and such things, is an acceptable car.
بعدش اومدیم اطلاعات یه سری ماشین جدیدو بهش دادیم تا با استفاده از اون چیزایی که
then|we came|information|a|series|car|new|to him|we gave|so that|with|use|from|that|things|that
Then we provided information about a series of new cars so that it could use what it had learned so far
تا حالا یاد گرفته بتونه تشخیص بده که هرکدوم از این ماشینا مناسب خرید هستن یا نه.
until|now|memory|learned|he/she can|distinguish|give|that|each one|of|these|cars|suitable|purchase|are|or|not
to determine which of these cars are suitable for purchase or not.
این یه نمونهی خیلی خیلی ساده از یادگیری ماشین
this|a|||very|very|simple|of|learning|machine
This is a very simple example of machine learning.
یا به صورت کاملتر، هوش مصنوعی بود که خودمون ساختیمش.
or|in|form|||intelligence|artificial|was|that|we|built it
Or more completely, it was the artificial intelligence that we built ourselves.
هرچی اطلاعاتی که برنامه باهاش کار میکنه پیچیدهتر و بزرگتر باشه،
the more|information|that|program|with it|works|||||and|||is
The more complex and larger the information that the program works with,
برنامه هم پیچیدهتر میشه و از الگوریتمای پیشرفتهتری استفاده میکنه.
program|also|||becomes|and|from|algorithms|||use||
the more complex the program becomes and it uses more advanced algorithms.
کنار تمام نظرات مثبت و منفی که در مورد هوش مصنوعی وجود داره،
alongside|all|comments|positive|and|negative|that|in|regarding|intelligence|artificial|existence|has
Alongside all the positive and negative opinions about artificial intelligence,
یه سوال همیشه ذهن منو مشغول میکنه.
a|question|always|mind|me|occupied|does
there's one question that always occupies my mind.
اینکه شاید جهان هستی داره وارد یه فاز جدیدی از آگاهی میشه.
that|maybe|universe|existence|is|entering|a|phase|new|of|awareness|becomes
Maybe the universe is entering a new phase of awareness.
منظورم اینه که ما انسانا الان باهوشترین موجود این سیارهایم
I mean||that|we|humans|now|||creature|this||
What I mean is that we humans are currently the smartest beings on this planet.
ولی خب ایراداتی داریم مثل عمر کوتاه، بیماریای لاعلاج،
but|well|issues|we have|like|lifespan|short|diseases|incurable
But we have flaws like short lifespan, incurable diseases,
پرمصرف بودن، مشکلات روانی و احساسی، یا خیلی محدودیتای دیگه.
high consumption|being|problems|psychological|and|emotional|or|many|limitations|others
overconsumption, mental and emotional issues, or many other limitations.
هوش مصنوعی حتی اگه فقط بتونه به اندازهی ما باهوش بشه،
intelligence|artificial|even|if|only|can|to|||us|intelligent|becomes
Artificial intelligence, even if it can only become as smart as us,
نه بیشتر، بازم خیلی از این محدودیتای ما رو نداره.
no|more|still|a lot|of|these|limitations|us|(object marker)|doesn't have
Not more, it doesn't have many of these limitations we have.
شاید طبیعت داره وارد یه مرحلهی بهتری از آگاهی میشه و
maybe|nature|is|entering|a|||better|of|awareness|becomes|and
Maybe nature is entering a better stage of awareness and
این کارم داره از طریق ما انسانا انجام میده.
this|work|is|through|the way|us|humans|done|gives
this is being done through us humans.
ما ابزار دست طبیعت شدیم برای ساختن یه هوش برتر،
we|tool|in the hands of|nature|became|for|creating|a|intelligence|superior
We have become the tools of nature to create a superior intelligence,
بعدشم دیگه نیازی به وجود ما نیست و حذف میشیم.
after that|no longer|need|to|existence|us|is not|and|removal|we become
and then there will be no need for our existence and we will be eliminated.
شما هم حتما نظر خودتونو توی کامنتا بنویسید تا منم از اطلاعات شما یاد بگیرم.
you|also||opinion||in|comments|write|so|I also|from|information|you|learn|I take
You should definitely write your opinion in the comments so I can learn from your information.
اگه این ویدیو رو دوست داشتی یه لایک برام بزن و
if|this|video|it|like|you had|a|like|for me|hit|and
If you liked this video, give me a like and
یادت باشه که همیشه بدون ترس سوال بپرس.
you remember|okay|that|always|without|fear|question|ask
remember to always ask questions without fear.
SENT_CWT:AFkKFwvL=3.61 PAR_TRANS:gpt-4o-mini=1.82
en:AFkKFwvL
openai.2025-01-22
ai_request(all=130 err=0.00%) translation(all=108 err=2.78%) cwt(all=1246 err=15.73%)