Artificial intelligence has a troika: data, algorithms, and computing power. This article focuses on algorithm-related knowledge.
This article will introduce the concept of algorithm in artificial intelligence, 4 characteristics of algorithm, 6 general methods. And 3 points to note when choosing an algorithm.
What is an algorithm?
Simply put, the algorithm is:The means to solve the problem, and is a means of mass solving the problem.
A recipe is an "algorithm", as long as you follow the recipe method, you can make the corresponding dish.
Algorithms in artificial intelligence are mainly used to train models.
机器 学习 There are 7 steps, and the third step is to choose the appropriate algorithm model. The final predictable model is obtained through training.
4 basic characteristics of the algorithm
The algorithm has the following four characteristics:
- Have enough intelligence
For a detailed description of these 4 characteristics, please see the "Basic concepts of the algorithm"
6 basic methods of algorithms
Computer algorithms and human computing are different, and there are roughly six different ideas:
- Halving recursion
For more details, check out the "Basic concepts of the algorithm"
3 Tips when choosing an algorithm
- Different algorithms may be used to solve different problems, and the same algorithm may be used.No algorithm is omnipotent, but the scope of application is different.
- The algorithm has no advanced and low level points.The quick and cheap solution is the purpose, blindly pursue complex algorithms (for example: deep learning), equivalent to "using a cannon to fight mosquitoes"
- Sometimes there are multiple algorithms that can solve the same problem, and it is the goal to solve the problem with the lowest cost and the shortest time.It is important to choose the right algorithm for your environment.
Baidu Encyclopedia + Wikipedia