本文共 1210 字,大约阅读时间需要 4 分钟。
SciPy主要用于科学计算(数学,科学和工程)
SciPy (pronounced “Sigh Pie”) is open-source software for mathematics, science, and engineering.
Reference
Clustering algorithms are useful in information theory, target detection, communications, compression, and other areas. The module only supports vector quantization and the k-means algorithms.
The module provides functions for hierarchical and agglomerative clustering. Its features include generating hierarchical clusters from distance matrices, calculating statistics on clusters, cutting linkages to generate flat clusters, and visualizing clusters with dendrograms.
- # 科学计算中的一些常量
前两天用到了它的io去读取matlab的矩阵,让我们看看io里面包含的内容
(file_name[, mdict, appendmat]) | Load MATLAB file :Parameters: file_name : str Name of the mat file (do not need .mat extension if appendmat==True) Can also pass open file-like object. |
(file_name, mdict[, appendmat, ...]) | Save a dictionary of names and arrays into a MATLAB-style .mat file. |
(file_name[, appendmat]) | List variables inside a MATLAB file :Parameters: file_name : str Name of the mat file (do not need .mat extension if appendmat==True) Can also pass open file-like object. |
主要就是这三个函数,前面两个函数不用多说,主要是whosmat这个函数非常重要,它能够读得mat得一些参数
在这个地址里面提供了很多官网得例程
转载地址:https://blog.csdn.net/zhouzhouasishuijiao/article/details/85128027 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!