官术网_书友最值得收藏!

NumPy

The numerical Python library is one of the most used libraries in mathematics and logical operations on arrays. It is loaded with many linear algebra functionalities, which are very useful in machine learning. And, of course, it is open source, and is supported by many operating systems.

To install NumPy, use the pip utility by typing the following command:

#pip install numpy

Now, you can start using it by importing it. The following script is a simple array printing example:

In addition, you can use a lot of mathematical functions, like cosine, sine, and so on.

主站蜘蛛池模板: 宁德市| 美姑县| 铜陵市| 成都市| 宣武区| 长葛市| 张家港市| 定南县| 陇西县| 新丰县| 青海省| 定南县| 汝阳县| 宜丰县| 化州市| 安化县| 商丘市| 上蔡县| 东乡县| 东兴市| 长宁县| 宿迁市| 斗六市| 巧家县| 濮阳县| 库车县| 隆昌县| 大冶市| 七台河市| 阳曲县| 金平| 嘉义市| 丰宁| 施甸县| 肇庆市| 金门县| 巴里| 普兰店市| 海南省| 固原市| 天峻县|