- Hands-On Artificial Intelligence for Beginners
- Patrick D. Smith
- 60字
- 2021-06-10 19:33:43
Vectors
Vectors are one-dimensional arrays of integers. Geometrically, they store the direction and magnitude of change from a point. We'll see how this works in machine learning algorithms when we discuss principal component analysis (PCA) in the next few pages. Vectors in Python are created as numpy array objects:
my_vector = np.array([5,6])
Vectors can be written in several ways:

推薦閱讀
- 機器學習實戰(zhàn):基于Sophon平臺的機器學習理論與實踐
- 高效能辦公必修課:Word圖文處理
- Java實用組件集
- Mobile DevOps
- Visual C# 2008開發(fā)技術實例詳解
- 傳感器技術應用
- Docker High Performance(Second Edition)
- 西門子變頻器技術入門及實踐
- 嵌入式GUI開發(fā)設計
- ASP.NET 2.0 Web開發(fā)入門指南
- INSTANT Adobe Story Starter
- Building Google Cloud Platform Solutions
- 手把手教你學Flash CS3
- 手把手教你學Photoshop CS3
- EJB JPA數(shù)據(jù)庫持久層開發(fā)實踐詳解