资源简介
基于社交网络的推荐系统需要的用户相似度物品相似度计算程序代码和测试代码,编程语言为python
代码片段和文件信息
#!/usr/bin/env python
import os
descr = “““Crab is a flexible fast recommender engine for Python. The engine
aims to provide a rich set of components from which you can construct a
customized recommender system from a set of algorithms.“““
DISTNAME = ‘scikits.crab‘
DEscriptION = ‘A recommender engine for Python.‘
LONG_DEscriptION = open(‘README.md‘).read()
MAINTAINER = ‘Marcel Caraciolo‘
MAINTAINER_EMAIL = ‘marcel@muricoca.com‘
URL = ‘http://muricoca.github.com/crab/‘
LICENSE = ‘new BSD‘
DOWNLOAD_URL = “http://pypi.python.org/pypi/crab“
VERSION = ‘0.1‘
from numpy.distutils.core import setup
def configuration(parent_package=‘‘ top_path=None):
if os.path.exists(‘MANIFEST‘):
os.remove(‘MANIFEST‘)
from numpy.distutils.misc_util import Configuration
config = Configuration(None parent_package top_path
namespace_packages=[‘scikits‘])
config.set_options(
ignore_setup_xxx_py=True
assume_default_configuration=True
delegate_options_to_subpackages=True
quiet=True
)
subpackages = [‘.‘.join(i[0].split(‘/‘)) for i in os.walk(‘scikits‘) if ‘__init__.py‘ in i[2]]
[config.add_subpackage(sub_package) for sub_package in subpackages]
config.add_data_files(‘scikits/__init__.py‘)
return config
if __name__ == “__main__“:
setup(configuration=configuration
name=DISTNAME
version=VERSION
include_package_data=True
package_data={
‘scikits‘: [
‘crab/datasets/data/*.*‘
‘crab/datasets/descr/*.*‘
]
}
install_requires=‘numpy‘
maintainer=MAINTAINER
maintainer_email=MAINTAINER_EMAIL
description=DEscriptION
license=LICENSE
url=URL
download_url=DOWNLOAD_URL
long_description=LONG_DEscriptION
zip_safe=False # the package can run out of an .egg file
classifiers=[
‘Intended Audience :: Science/Research‘
‘Intended Audience :: Developers‘
‘License :: OSI Approved‘
‘Programming Language :: C‘
‘Programming Language :: Python‘
‘Topic :: Software Development‘
‘Topic :: Scientific/Engineering‘
‘Operating System :: Microsoft :: Windows‘
‘Operating System :: POSIX‘
‘Operating System :: Unix‘
‘Operating System :: MacOS‘
])
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-08-24 09:23 crab-master\
文件 90 2016-08-24 09:23 crab-master\.gitignore
文件 767 2016-08-24 09:23 crab-master\AUTHORS.rst
文件 1558 2016-08-24 09:23 crab-master\COPYING
文件 1456 2016-08-24 09:23 crab-master\LICENCE
文件 3208 2016-08-24 09:23 crab-master\README.md
目录 0 2016-08-24 09:23 crab-master\doc\
文件 4582 2016-08-24 09:23 crab-master\doc\Makefile
文件 7076 2016-08-24 09:23 crab-master\doc\conf.py
文件 415 2016-08-24 09:23 crab-master\doc\index.rst
文件 4507 2016-08-24 09:23 crab-master\doc\make.bat
目录 0 2016-08-24 09:23 crab-master\examples\
文件 0 2016-08-24 09:23 crab-master\examples\README.txt
目录 0 2016-08-24 09:23 crab-master\scikits\
文件 0 2016-08-24 09:23 crab-master\scikits\__init__.py
目录 0 2016-08-24 09:23 crab-master\scikits\crab\
文件 1535 2016-08-24 09:23 crab-master\scikits\crab\__init__.py
文件 3498 2016-08-24 09:23 crab-master\scikits\crab\ba
目录 0 2016-08-24 09:23 crab-master\scikits\crab\datasets\
文件 157 2016-08-24 09:23 crab-master\scikits\crab\datasets\__init__.py
文件 6703 2016-08-24 09:23 crab-master\scikits\crab\datasets\ba
文件 5317 2016-08-24 09:23 crab-master\scikits\crab\datasets\book_crossing.py
目录 0 2016-08-24 09:23 crab-master\scikits\crab\datasets\data\
文件 1979173 2016-08-24 09:23 crab-master\scikits\crab\datasets\data\movielens100k.data
文件 236344 2016-08-24 09:23 crab-master\scikits\crab\datasets\data\movielens100k.item
文件 1195 2016-08-24 09:23 crab-master\scikits\crab\datasets\data\sample_movies.csv
文件 1049 2016-08-24 09:23 crab-master\scikits\crab\datasets\data\sample_songs.csv
目录 0 2016-08-24 09:23 crab-master\scikits\crab\datasets\descr\
文件 1988 2016-08-24 09:23 crab-master\scikits\crab\datasets\descr\book-crossing.rst
文件 6401 2016-08-24 09:23 crab-master\scikits\crab\datasets\descr\movielens100k.rst
文件 202 2016-08-24 09:23 crab-master\scikits\crab\datasets\descr\sample_movies.rst
............此处省略66个文件信息
- 上一篇:运动物体的检测和识别
- 下一篇:python基础代码大全
相关资源
- python实现SGBM图像匹配算法
- python实现灰度直方图均衡化
- scrapy_qunar_one
- Python学习全系列教程永久可用
- python简明教程.chm
- 抽奖大转盘python的图形化界面
- 双边滤波器实验报告及代码python
- python +MYSQL+HTML实现21蛋糕网上商城
- Python-直播答题助手自动检测出题搜索
- OpenCV入门教程+OpenCV官方教程中文版
- Python 串口工具源码+.exe文件
- Python开发的全栈股票系统.zip
- Python操作Excel表格并将其中部分数据写
- python书籍 PDF
- 利用python绘制散点图
- python+labview+No1.vi
- 老男孩python项目实战
- python源码制作whl文件.rar
- python3.5可用的scipy
- PYTHON3 经典50案例.pptx
- 计算机科学导论-python.pdf
- python模拟鼠标点击屏幕
- windows鼠标自动点击py脚本
- 鱼c小甲鱼零基础学python全套课后题和
- Python 练习题100道
- Practical Programming 2nd Edition
- wxPython Application Development Cookbook
- python 3.6
- Python 3.5.2 中文文档 互联网唯一CHM版本
- python3.5.2.chm官方文档
评论
共有 条评论