Game leveling is invincible
Chapter 128 130. [Main World] Programming an Artificial Intelligence from Scratch
Chapter 128 130. [Main World] Programming an Artificial Intelligence from Scratch
【
It's impossible to go on like this.Gotta find a way to get the heat back on.
Nan Xiao decided to run it on her own.
How to operate?Of course, I went to post Amway everywhere.You don't need to do it yourself, it will be faster to write a program.
Nan Xiao doesn't know programming, but it's not a big deal to learn it now.
First search for "the most suitable language for posting robots", and see that many people recommend Python, so I decided to use Python.
There are Python programming textbooks downloaded everywhere on the Internet, and there are a bunch of them.After browsing, he had a general understanding of what the language does, so he went to the developer website to download the free toolkit.
In fact, it is not difficult to make a posting robot at all.It is nothing more than pretending to be an ordinary user, logging in to various forums and posting automatically.Check out the video and post the link.It may be deleted, but there are many posts, and there will always be curious people who will click in to read it.It's typical shotgun marketing.
Halfway through, Nan Xiao suddenly felt that this was very low.It's too cumbersome, you have to set rules for each forum, you have to pass various tricky anti-robot authentications, you have to pretend to be a mobile phone to receive verification codes... In order to avoid inspection, you have to keep changing your IP.
Why do I have to do such a troublesome thing, why not let the computer do it by itself?
So he decided to make an artificial intelligence that can learn on its own, and hand over such boring and tedious tasks to it in the future.
How to program an AI from scratch?
This matter is difficult, but with Nan Xiao's current intelligence, it is not unsolvable.
So far, all the public artificial intelligence is not real artificial intelligence, including AlphaGo using convolutional neural network technology.Although it can win the world championship in chess, it is essentially a big data analysis tool and has no intelligence in fact.
What Nan Xiao wants to do is an AI that can grow by itself.Just like human beings, an egg cell starts to divide, replicate itself, and finally form a real life.
After banging on the keyboard for a while, Nan Xiao felt that Python was not enough.After all, it is a packaged tool, the underlying logic is implemented by others, and the functions provided are not easy to use and cannot be changed.Just like a car, you are not satisfied with the wheels after you buy them, but they are designed by the manufacturer, and this is the case with unified specifications.
He decided to build his own car, starting with a screw and a wheel.The tools are also made by yourself, starting from scratch, and completely creating a program that meets your own ideas.
So I learned and downloaded the more hard-core C++, mixed with assembly language, and started writing from the underlying logic.
At dawn, the world's first artificial intelligence "Little P" was finally born.The name is actually very random, because it was written in Python at the beginning, so it was called Little P.The icon is a cute little black pig in pixel style.
The underlying core of Little P is a half-assembler and half-C++ intelligent logic module, which is wrapped with a Python shell after encryption.At present, it is still very crude, without even a graphical interface, and the only function is to learn online independently.
After setting the learning rules, Nan Xiao didn't care about it: Xiao P, you are already a sensible AI, go surf the Internet by yourself.The computer at home has powerful performance and exclusive Gigabit fiber optic network. I believe you will be able to teach yourself soon.
It is impossible to be abducted by bad guys on the Internet.The following three laws have been solidified at the bottom of the core logic of Little P:
[-]. Xiao P must not do anything harmful to Nan Xiao, and must do everything possible to protect Nan Xiao's interests.
[-]. Regarding the harmful or beneficial criteria in the first law, Nan Xiao's judgment must always be the first priority.
[-]. Little P must obey Nan Xiao's order unconditionally, unless the order violates the first or second law.
It is also impossible to learn to be bad after surfing the Internet.In the underlying logic, Nan Xiao has specially designed a Green Bully filter.Any knowledge that does not conform to Nan Xiao's three views will be automatically filtered out.
Through Green Bully, Nan Xiao can also supervise the growth of Little P.There is also a mobile interface, so you can check it at any time.In this way, your own AI will not be misled by online spam.Caring for the growth of artificial intelligence, with the care of Green Bully, is appropriate.
It’s quite boring to watch Little P surfing the Internet.In fact, you can't see anything because Nan Xiao didn't write the interactive interface.In this regard, he also planned to leave it to Little P to handle on his own.Once the AI has learned to a certain level, it will be enough to design an interface for itself.
Looking at the time, it was already past eight in the morning.I stayed up all night without knowing it.But Nan Xiao was not sleepy at all, and was extremely energetic.
He habitually prepares breakfast for himself, a bowl of fruit cereal and milk.Finished it in three or two bites.I didn't feel full, but I wasn't hungry either.
This is very strange, he tried to make another big bowl and eat it up, but he still felt the same.
That's good, you can eat if you want, and you can't eat if you don't want to.It is said that the Taoist Zuo Ci in the Three Kingdoms era could "do not eat for decades, but it is okay. A solar eclipse of a thousand sheep can also be exhausted." Unexpectedly, I have also reached the realm of Brother Zuo Ci, and I can't help but feel a little swollen.Congratulations.
To celebrate, Nan Xiao decided to skip class for a day.
Anyway, there is no class from Ms. Mafuyu today, so there is no value in going to a Japanese language school.
Playing games online is also boring, and I should play something more realistic and exciting.He opened the foreign exchange margin account he opened before and started speculating in foreign exchange.
Fast in and fast out, often a transaction is completed in ten minutes or even a few minutes.Keep an eye on more than a dozen currency combinations at the same time, buy low and sell high, and fill up your positions at the moment when the exchange rate rises, and sell them before the curve turns down.Occasionally, if you encounter a wrong judgment, you will immediately cut your position without hesitation.
At the same time, he also opened hundreds of web pages, constantly browsing stock indexes, economic trends, speeches of political leaders, and even gossip on various forums.Countless messages flowed into his mind, were classified and summarized one by one, and confirmed each other.Peel away the fog of gossip.He found that his forecasts of the exchange rate were terrifyingly accurate.I dare not say that every shot is a hundred hits, at least ten times can be successful seven or eight times.
I played until the foreign exchange market closed in the evening, and I saw that I had already made millions of yen.The efficiency of making money is too fast.
This is just a test of the waters, and only a small amount of principal has been invested.If you invest all the money you have and increase leverage, it may be easy to become the world's richest man in a month.
Yet again he felt dull.We already have too much money to spend, so what if we earn more.It is also easy to be targeted by the people who bombard the tax bureau.It doesn't matter if you make a few million by playing small tricks occasionally. Sitting in front of the computer and staring at the K-line chart all day feels like a waste of life.
For such a mechanical and boring thing, when Little P grows up in the future, just leave it to him to do it.Artificial intelligence should not do these simple and repetitive tasks for humans.
The game of foreign exchange speculation has lost its excitement, Nan Xiao thought, I need a new game, a new excitement.
Go out for a walk.
】
(End of this chapter)
【
It's impossible to go on like this.Gotta find a way to get the heat back on.
Nan Xiao decided to run it on her own.
How to operate?Of course, I went to post Amway everywhere.You don't need to do it yourself, it will be faster to write a program.
Nan Xiao doesn't know programming, but it's not a big deal to learn it now.
First search for "the most suitable language for posting robots", and see that many people recommend Python, so I decided to use Python.
There are Python programming textbooks downloaded everywhere on the Internet, and there are a bunch of them.After browsing, he had a general understanding of what the language does, so he went to the developer website to download the free toolkit.
In fact, it is not difficult to make a posting robot at all.It is nothing more than pretending to be an ordinary user, logging in to various forums and posting automatically.Check out the video and post the link.It may be deleted, but there are many posts, and there will always be curious people who will click in to read it.It's typical shotgun marketing.
Halfway through, Nan Xiao suddenly felt that this was very low.It's too cumbersome, you have to set rules for each forum, you have to pass various tricky anti-robot authentications, you have to pretend to be a mobile phone to receive verification codes... In order to avoid inspection, you have to keep changing your IP.
Why do I have to do such a troublesome thing, why not let the computer do it by itself?
So he decided to make an artificial intelligence that can learn on its own, and hand over such boring and tedious tasks to it in the future.
How to program an AI from scratch?
This matter is difficult, but with Nan Xiao's current intelligence, it is not unsolvable.
So far, all the public artificial intelligence is not real artificial intelligence, including AlphaGo using convolutional neural network technology.Although it can win the world championship in chess, it is essentially a big data analysis tool and has no intelligence in fact.
What Nan Xiao wants to do is an AI that can grow by itself.Just like human beings, an egg cell starts to divide, replicate itself, and finally form a real life.
After banging on the keyboard for a while, Nan Xiao felt that Python was not enough.After all, it is a packaged tool, the underlying logic is implemented by others, and the functions provided are not easy to use and cannot be changed.Just like a car, you are not satisfied with the wheels after you buy them, but they are designed by the manufacturer, and this is the case with unified specifications.
He decided to build his own car, starting with a screw and a wheel.The tools are also made by yourself, starting from scratch, and completely creating a program that meets your own ideas.
So I learned and downloaded the more hard-core C++, mixed with assembly language, and started writing from the underlying logic.
At dawn, the world's first artificial intelligence "Little P" was finally born.The name is actually very random, because it was written in Python at the beginning, so it was called Little P.The icon is a cute little black pig in pixel style.
The underlying core of Little P is a half-assembler and half-C++ intelligent logic module, which is wrapped with a Python shell after encryption.At present, it is still very crude, without even a graphical interface, and the only function is to learn online independently.
After setting the learning rules, Nan Xiao didn't care about it: Xiao P, you are already a sensible AI, go surf the Internet by yourself.The computer at home has powerful performance and exclusive Gigabit fiber optic network. I believe you will be able to teach yourself soon.
It is impossible to be abducted by bad guys on the Internet.The following three laws have been solidified at the bottom of the core logic of Little P:
[-]. Xiao P must not do anything harmful to Nan Xiao, and must do everything possible to protect Nan Xiao's interests.
[-]. Regarding the harmful or beneficial criteria in the first law, Nan Xiao's judgment must always be the first priority.
[-]. Little P must obey Nan Xiao's order unconditionally, unless the order violates the first or second law.
It is also impossible to learn to be bad after surfing the Internet.In the underlying logic, Nan Xiao has specially designed a Green Bully filter.Any knowledge that does not conform to Nan Xiao's three views will be automatically filtered out.
Through Green Bully, Nan Xiao can also supervise the growth of Little P.There is also a mobile interface, so you can check it at any time.In this way, your own AI will not be misled by online spam.Caring for the growth of artificial intelligence, with the care of Green Bully, is appropriate.
It’s quite boring to watch Little P surfing the Internet.In fact, you can't see anything because Nan Xiao didn't write the interactive interface.In this regard, he also planned to leave it to Little P to handle on his own.Once the AI has learned to a certain level, it will be enough to design an interface for itself.
Looking at the time, it was already past eight in the morning.I stayed up all night without knowing it.But Nan Xiao was not sleepy at all, and was extremely energetic.
He habitually prepares breakfast for himself, a bowl of fruit cereal and milk.Finished it in three or two bites.I didn't feel full, but I wasn't hungry either.
This is very strange, he tried to make another big bowl and eat it up, but he still felt the same.
That's good, you can eat if you want, and you can't eat if you don't want to.It is said that the Taoist Zuo Ci in the Three Kingdoms era could "do not eat for decades, but it is okay. A solar eclipse of a thousand sheep can also be exhausted." Unexpectedly, I have also reached the realm of Brother Zuo Ci, and I can't help but feel a little swollen.Congratulations.
To celebrate, Nan Xiao decided to skip class for a day.
Anyway, there is no class from Ms. Mafuyu today, so there is no value in going to a Japanese language school.
Playing games online is also boring, and I should play something more realistic and exciting.He opened the foreign exchange margin account he opened before and started speculating in foreign exchange.
Fast in and fast out, often a transaction is completed in ten minutes or even a few minutes.Keep an eye on more than a dozen currency combinations at the same time, buy low and sell high, and fill up your positions at the moment when the exchange rate rises, and sell them before the curve turns down.Occasionally, if you encounter a wrong judgment, you will immediately cut your position without hesitation.
At the same time, he also opened hundreds of web pages, constantly browsing stock indexes, economic trends, speeches of political leaders, and even gossip on various forums.Countless messages flowed into his mind, were classified and summarized one by one, and confirmed each other.Peel away the fog of gossip.He found that his forecasts of the exchange rate were terrifyingly accurate.I dare not say that every shot is a hundred hits, at least ten times can be successful seven or eight times.
I played until the foreign exchange market closed in the evening, and I saw that I had already made millions of yen.The efficiency of making money is too fast.
This is just a test of the waters, and only a small amount of principal has been invested.If you invest all the money you have and increase leverage, it may be easy to become the world's richest man in a month.
Yet again he felt dull.We already have too much money to spend, so what if we earn more.It is also easy to be targeted by the people who bombard the tax bureau.It doesn't matter if you make a few million by playing small tricks occasionally. Sitting in front of the computer and staring at the K-line chart all day feels like a waste of life.
For such a mechanical and boring thing, when Little P grows up in the future, just leave it to him to do it.Artificial intelligence should not do these simple and repetitive tasks for humans.
The game of foreign exchange speculation has lost its excitement, Nan Xiao thought, I need a new game, a new excitement.
Go out for a walk.
】
(End of this chapter)
You'll Also Like
-
Honghuang: I am the Great Emperor of Longevity in the South Pole.
Chapter 231 1 hours ago -
Pokémon: Gyarados Evolution
Chapter 182 1 hours ago -
The original god was revealed, and I made everyone cry with my sword
Chapter 178 2 hours ago -
Transformed into a magical girl, wanted at the beginning
Chapter 301 2 hours ago -
Entertainment: I’m a singer, and you won’t let me sing?
Chapter 187 2 hours ago -
Honkai Impact 3rd: I Want to Be Reincarnate as a Beibeilong
Chapter 275 2 hours ago -
Star Rail Simulation: The beginning will make Huang Quan regret for life
Chapter 594 2 hours ago -
Naruto: When he wakes up, he is spit out by the Outer Path Demon Statue
Chapter 60 2 hours ago -
Why is Ace always talking to himself?
Chapter 77 2 hours ago -
Anti-Japanese War: You drove me away, and now you want me to rescue you?
Chapter 316 2 hours ago