当我运行scikit的dbscan算法时,我得到了内存错误.我的数据大约是20000*10000,它是一个二进制矩阵.
(也许它不适合使用带有这种矩阵的DBSCAN.我是机器学习的初学者.我只是想找到一个不需要初始簇号的簇方法)
无论如何,我发现scikit的稀疏矩阵和特征提取.
http://scikit-learn.org/dev/modules/feature_extraction.html http://docs.scipy.org/doc/scipy/reference/sparse.html
但我仍然不知道如何使用它.在DBSCAN的规范中,没有关于使用稀疏矩阵的指示.不允许吗?
如果有人知道如何在DBSCAN中使用稀疏矩阵,请告诉我.或者你可以告诉我一个更合适的集群方法.
cluster-analysis machine-learning data-mining dbscan scikit-learn
嗨〜我在CentOS 6.5中部署了一个网站.该框架是django1.7.我使用nginx和uwsgi.
该网站现在可用,除了403 Forbidden所有静态文件.
我用google搜索了几个小时,并将整个站点文件夹更改为chmod 777.文件夹的所有者是kltc,nginx.conf中的用户也是kltc.
我不知道为什么问题仍然是权限被拒绝.
nginx.conf
user kltc;
worker_processes 1;
Run Code Online (Sandbox Code Playgroud)
kuaileticao.miyayx.me
server {
# the port your site will be served on
listen 80;
# the domain name it will serve for
server_name kuaileticao.miyayx.me; # substitute your machine's IP address or FQDN
charset utf-8;
access_log /srv/www/nginx/kuaileticao.miyayx.me/access.log;
error_log /srv/www/nginx/kuaileticao.miyayx.me/error.log;
location /static {
autoindex on;
alias /home/kltc/Project/sunny_sports/sunny_sports/static;
}
# Finally, send all non-media requests to the Django server.
location / {
uwsgi_pass 127.0.0.1:8001;
include uwsgi_params; # the uwsgi_params file you …Run Code Online (Sandbox Code Playgroud)