【发布时间】:2022-01-17 03:04:22
【问题描述】:
我想安装官方网站为https://www.cs.utexas.edu/~rofuyu/libpmf/的软件包LIBPMF。这个包的完整文件可以从here下载。解压后,我们有
在文件夹python,我们有
在README,我们有
Requirement
===========
- numpy
- scipy.sparse
Build
=====
type `make' in this directory
A Simple Example
================
Within the directoy python/, open a python shell.
>>> import libpmf
>>> import scipy.sparse as sparse
>>> A = sparse.rand(100,100,0.3)
>>> model = libpmf.train(A, '-k 10 -l 0.1')
starts!
m 100 n 100 k 10 nnz 3000
Wall-time: 0.0212269 secs
>>> model.keys() # model is a dictionary
['H', 'W']
我的操作系统是 Windows 10 Pro version 21H2 build 19044.1348,我的 Anaconda 是 Anaconda3-2021.11-Windows-x86_64。
我无法理解指令type "make" in this directory。您能否详细说明在这种情况下如何安装该软件包?
【问题讨论】: