Artificial Intelligence Programming with Python 笔记一

Artificial Intelligence Programming with Python 一书,主要对当前火热的AI技术做了简单介绍,适合了解一下当下最流行的AI技术,没有很复杂的数学知识,有一些简单的代码,可以测试。本文主要摘录第一章对AI技术的简介和AI发展的历史。

AI的历史,最早可以追溯到冯诺依曼的计算机。

AI发展的3个阶段:

  1. 1950s–1970s, neural networks (NNs): During this period, neural networks, also called artificial neural networks (ANNs), were developed based on human brains that mimic the human biological neural networks. An NN usually has three layers: an input layer, a hidden layer, and an output layer. To use an NN, you need to train the NN with a large amount of given data. After training, the NN can then be used to predict results for unseen data. NNs attracted a lot of attention during this period. After the 1970s, when NNs failed to live up to their promises, known as AI hype, funding and research activities were dramatically cut. This was called an AI winter.
    20世纪50年代至70年代,神经网络(NNs):在这一时期,神经网络,也称为人工神经网络(ANNs),是基于模仿人类生物神经网络的人脑开发的。神经网络通常有三层:输入层、隐藏层和输出层。要使用神经网络,您需要使用大量给定的数据来训练神经网络。在训练之后,神经网络可以用来预测看不见的数据的结果。NNs在这一时期吸引了很多关注。20世纪70年代之后,当国家神经网络未能兑现他们的承诺,即人工智能炒作时,资金和研究活动被大幅削减。这被称为人工智能的冬天。
  2. 1980s–2010s, machine learning (ML): This is the period when machine learning flourished. ML is a subset of AI and consists of a set of mathematical algorithms that can automatically analyze data. Classic ML can be divided into supervised learning and unsupervised learning. Supervised learning examples include speech recognition and image recognition. Unsupervised learning examples include customer segmentation, defect detection, and fraud detection. Classic ML algorithms are support vector machine (SVM), K-means clustering, decision tree, naïve Bayes, and so on.

20世纪80年代至2010年代,机器学习(ML):这是机器学习蓬勃发展的时期。ML是人工智能的一个子集,由一组可以自动分析数据的数学算法组成。经典ML可以分为有监督学习和无监督学习。监督学习的例子包括语音识别和图像识别。无监督学习示例包括客户细分、缺陷检测和欺诈检测。经典的ML算法有支持向量机(SVM)、K-means聚类、决策树、朴素贝叶斯等。

  1. 2010s–present, deep learning (DL): This is the period when deep learning (DL) was developed. DL is a special type of neural network that has more than one layer of hidden layers. This is possible only with the increase of computing power, especially graphical processing units (GPUs), and improved algorithms. DL is a subset of ML. DL has so far outperformed many other algorithms on a large dataset. But is DL hype or reality? That remains to be seen.

2010年代至今,深度学习(DL):这是深度学习发展的时期。DL是一种特殊类型的神经网络,具有一层以上的隐藏层。这只有在计算能力,特别是图形处理单元(GPU)和改进算法的增加下才有可能实现。DL是ML的一个子集。到目前为止,DL在大型数据集上的表现优于许多其他算法。但DL是炒作还是现实?这还有待观察。

AI的分类:

  1. Narrow AI, also called weak AI or artificial narrow intelligence (ANI), refers to the AI that is used to solve a specific problem. Almost all AI applications we have today are narrow AI. For example, image classification, object detection, speech recognition (such as Amazon’s Alexa, iPhone’s Siri, Microsoft’s Cortana, and Google Assistant), translation, natural language processing, weather forecasting, targeted advertisements, sales predictions, email spam detection, fraud detection, face recognition, and computer vision are all narrow AI.

狭义人工智能,也称为弱人工智能或人工狭义智能(ANI),是指用于解决特定问题的人工智能。我们今天拥有的几乎所有人工智能应用都是狭义的人工智能。例如,图像分类、物体检测、语音识别(如亚马逊的Alexa、iPhone的Siri、微软的Cortana和谷歌助手)、翻译、自然语言处理、天气预报、定向广告、销售预测、电子邮件垃圾邮件检测、欺诈检测、人脸识别,和计算机视觉都是狭义的人工智能。

  1. General AI, also called strong AI or artificial general intelligence (AGI), refers to the AI that is for solving general problems. It is more like a human being, which is able to learn, think, invent, and solve more complicated problems. The singularity, also called technological singularity, is when AI overtakes human intelligence, as illustrated in Figure 1.8. According to Google’s Ray Kurzweil, an American author, inventor, and futurist, AI will pass the Turing test in 2029 and reach the singularity point in 2045. Narrow AI is what we have achieved so far, and general AI is what we expect in the future.

通用人工智能,也称为强人工智能或人工通用智能(AGI),是指用于解决一般问题的人工智能。它更像一个人
存在,能够学习、思考、发明和解决更复杂的问题问题。
奇点,也称为技术奇点,是指人工智能超越了人类的智慧。
根据谷歌的Ray Kurzweil,美国作家、发明家和人工智能未来学家指出
将于2029年通过图灵测试,并于2045年达到奇点。
狭义人工智能是我们迄今为止所取得的成就,而通用人工智能则是我们期待未来。

  1. Super AI, also called superintelligence, refers to the AI after the singularity
    point. Nobody knows what will happen with super AI. One vision is
    human and machine integration through a brain chip interface. In August
    2020, Elon Musk, the most famous American innovative entrepreneur,
    has already demonstrated a pig with a chip in its brain. While some people
    are more pessimistic about the future of AI, others are more optimistic.
    We cannot predict the future, but we can prepare for it.

超级人工智能,也称超级智能,是指奇点之后的人工智能
指向没有人知道超级人工智能会发生什么。
一个愿景是通过脑芯片接口实现人机集成。2020年八月,美国最著名的创新企业家埃隆·马斯克,已经展示了一只大脑中有芯片的猪。而有些人
对人工智能的未来更加悲观,其他人则更加乐观。
我们无法预测未来,但我们可以为此做好准备。

AI发展的时间线
在这里插入图片描述
AI applications can be run either on the large remote servers, called cloud AI, or on the local machines, called edge AI.

AI应用在多个远程服务器的被称为云AI,本地服务器的叫边缘AI。

关于ChatGPT

2020年6月,OpenAI的GPT-3引起了全世界的关注。OpenAI是
由埃隆·马斯克共同创立的一家研究公司,马斯克还创立了著名的电动汽车公司特斯拉股份有限公司

GPT-3代表Generative Pre-trainedTransformer 3是一种语言预测模型,是深度学习的一种形式神经网络。

GPT-3是根据收集的数十亿条文本信息进行训练的。
通过在互联网上爬取数据,包括维基百科的文本。GPT-3有96层以及高达1750亿个参数;它是最大的语言模型

根据谷歌的数据,训练1000个参数大约需要1美元。
这这意味着训练GPT-3可能需要花费数千万美元。经过训练,GPT-3可以
许多令人惊叹的事情,比如生成新的文本、写文章、写作诗歌、回答问题、翻译语言,甚至创建计算机密码。

这被誉为人工智能研究中最伟大的突破之一。

小结

本章主要介绍了AI的历史与发展,这本书里给了很多的参考链接,非常有用,建议可以找来一本看下链接。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Artificial intelligence is becoming increasingly relevant in the modern world where everything is driven by data and automation. It is used extensively across many fields such as image recognition, robotics, search engines, and self-driving cars. In this book, we will explore various real-world scenarios. We will understand what algorithms to use in a given context and write functional code using this exciting book. We will start by talking about various realms of artificial intelligence. We’ll then move on to discuss more complex algorithms, such as Extremely Random Forests, Hidden Markov Models, Genetic Algorithms, Artificial Neural Networks, and Convolutional Neural Networks, and so on. This book is for Python programmers looking to use artificial intelligence algorithms to create real-world applications. This book is friendly to Python beginners, but familiarity with Python programming would certainly be helpful so you can play around with the code. It is also useful to experienced Python programmers who are looking to implement artificial intelligence techniques. You will learn how to make informed decisions about the type of algorithms you need to use and how to implement those algorithms to get the best possible results. If you want to build versatile applications that can make sense of images, text, speech, or some other form of data, this book on artificial intelligence will definitely come to your rescue! What this book covers Chapter 1, Introduction to Artificial Intelligence, teaches you various introductory concepts in artificial intelligence. It talks about applications, branches, and modeling of Artificial Intelligence. It walks the reader through the installation of necessary Python packages. Chapter 2, Classification and Regression Using Supervised Learning, covers various supervised learning techniques for classification and regression. You will learn how to analyze income data and predict housing prices. Chapter 3, Predictive Analytics with Ensemble Learning, explains predictive modeling techniques using Ensemble Learning, particularly focused on Random Forests. We will learn how to apply these techniques to predict traffic on the roads near sports stadiums. Chapter 4, Detecting Patterns with Unsupervised Learning, covers unsupervised learning algorithms including K-means and Mean Shift Clustering. We will learn how to apply these algorithms to stock market data and customer segmentation. Chapter 5, Building Recommender Systems, illustrates algorithms used to build recommendation engines. You will learn how to apply these algorithms to collaborative filtering and movie recommendations. Chapter 6, Logic Programming, covers the building blocks of logic programming. We will see various applications, including expression matching, parsing family trees, and solving puzzles. Chapter 7, Heuristic Search Techniques, shows heuristic search techniques that are used to search the solution space. We will learn about various applications such as simulated annealing, region coloring, and maze solving. Chapter 8, Genetic Algorithms, covers evolutionary algorithms and genetic programming. We will learn about various concepts such as crossover, mutation, and fitness functions. We will then use these concepts to solve the symbol regression problem and build an intelligent robot controller. Chapter 9, Building Games with Artificial Intelligence, teaches you how to build games with artificial intelligence. We will learn how to build various games including Tic Tac Toe, Connect Four, and Hexapawn. Chapter 10, Natural Language Processing, covers techniques used to analyze text data including tokenization, stemming, bag of words, and so on. We will learn how to use these techniques to do sentiment analysis and topic modeling. Chapter 11, Probabilistic Reasoning for Sequential Data, shows you techniques used to analyze time series and sequential data including Hidden Markov models and Conditional Random Fields. We will learn how to apply these techniques to text sequence analysis and stock market predictions. Chapter 12, Building A Speech Recognizer, demonstrates algorithms used to analyze speech data. We will learn how to build speech recognition systems. Chapter 13, Object Detection and Tracking, It covers algorithms related to object detection and tracking in live video. We will learn about various techniques including optical flow, face tracking, and eye tracking. Chapter 14, Artificial Neural Networks, covers algorithms used to build neural networks. We will learn how to build an Optical Character Recognition system using neural networks. Chapter 15, Reinforcement Learning, teaches the techniques used to build reinforcement learning systems. We will learn how to build learning agents that can learn from interacting with the environment. Chapter 16, Deep Learning with Convolutional Neural Networks, covers algorithms used to build deep learning systems using Convolutional Neural Networks. We will learn how to use TensorFlow to build neural networks. We will then use it to build an image classifier using convolutional neural networks.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值