大特征数据的高效存储
h5features的Python项目详细描述
h5功能
h5featurespython包提供了易于使用和高效的 以hdf5二进制文件格式存储large features数据。
安装
依赖关系
包依赖于numpy、scipy和h5py。他们可以是 由安装脚本自动安装,但需要很长时间 (完全编译)。您可能希望通过 您的系统包管理器。
在debian/ubuntu上:
sudo apt-get install python3-numpy python3-scipy python3-h5py
使用Python:
conda install numpy scipy h5py
h5功能
从以下源安装:
python setup.py build && python setup.py install
或者您可以使用pip安装它:
pip install h5features
文件
请参阅完整的文档online
或者使用:
pip install Sphinx cd docs && make html
已编译文档的主页是 docs/_build/html/index.html。
测试
这个软件包附带了一套单元测试套装。要运行它,首先在python环境中安装pytest:
pip install pytest
然后使用以下命令运行测试:
pytest -v ./test