การเขียนโปรแกรม AI
ภาษาการเขียนโปรแกรมที่เกี่ยวข้องกับปัญญาประดิษฐ์ ได้แก่ :
- LISP
- R
- Python
- C++
- Java
- JavaScript
- SQL
LISP
LISPเป็นภาษาโปรแกรมที่เก่าแก่ที่สุดเป็นอันดับสองของโลก (1958) ซึ่งอายุน้อยกว่า Fortran (1957) เพียงหนึ่งปี
คำว่าปัญญาประดิษฐ์สร้างขึ้นโดยJohn McCarthyผู้คิดค้น LISP
LISP ก่อตั้งขึ้นบนทฤษฎีของRecursive Functions (ฟังก์ชันปรากฏในคำจำกัดความของตัวเอง)
Recursive Functions สามารถเขียนเป็นฟังก์ชันที่ปรับเปลี่ยนตัวเองได้ และเหมาะสำหรับโปรแกรม AI ที่ "การเรียนรู้ด้วยตนเอง" เป็นส่วนสำคัญของโปรแกรม
R
Rเป็นภาษาโปรแกรมสำหรับกราฟิกและ การ คำนวณทางสถิติ
R ได้รับการสนับสนุนโดย R Foundation for Statistical Computing
R มาพร้อมกับชุดเทคนิคทางสถิติและกราฟิกมากมายสำหรับ:
- การสร้างแบบจำลองเชิงเส้น
- การสร้างแบบจำลองไม่เชิงเส้น
- การทดสอบทางสถิติ
- การวิเคราะห์อนุกรมเวลา
- การจำแนกประเภท
- การจัดกลุ่ม
Python
Pythonเป็นภาษาเขียนโค้ดเอนกประสงค์ สามารถใช้ได้กับการเขียนโปรแกรมและการพัฒนาซอฟต์แวร์ทุกประเภท
โดยทั่วไปแล้ว Python จะใช้สำหรับการพัฒนาเซิร์ฟเวอร์ เช่น การสร้างเว็บแอปสำหรับเว็บเซิร์ฟเวอร์
โดยทั่วไป แล้วPython ยังใช้ในData Science
ข้อดีสำหรับการใช้ Python ก็คือมันมาพร้อมกับไลบรารี่ที่เหมาะสมมาก:
- NumPy (ห้องสมุดสำหรับการทำงานกับอาร์เรย์)
- SciPy (ห้องสมุดสำหรับวิทยาศาสตร์สถิติ)
- Matplotlib (ห้องสมุดพล็อตกราฟ)
- NLTK (ชุดเครื่องมือภาษาธรรมชาติ)
- TensorFlow (การเรียนรู้ของเครื่อง)
C++
C ++มีชื่อเรื่องว่า "ภาษาโปรแกรมที่เร็วที่สุดในโลก"
Because of the speed, C++ is a preferred language when programming Computer Games.
It provides faster execution and has less response time which is applied in search engines and development of computer games.
Google uses C++ in AI programs for SEO (Search Engine Optimization).
SHARK is a super-fast library with support for supervised learning algorithms, linear regression, neural networks, and clustering.
MLPACK is a super-fast machine learning library written for C++.
Java
Java is another general-purpose coding language that can be used for all types of software development.
For AI, Java is mostly used to create machine learning solutions, search algorithms, and neural networks.
SQL
SQL (Structured Query Language) is the most popular language for managing data.
Knowledge of SQL databases, tables and queries helps data scientists when dealing with data.
SQL is very convenient for storing, manipulating, and retrieving data in databases.