1.k-means: https://www.naftaliharris.com/blog/visualizing-k-means-clustering/ 2.dbscan: https://www.naftaliharris.com/blog/visualizing-dbscan-clusteri ...
                            
                            
                                分类:
其他好文   时间:
2020-03-01 10:55:06   
                                阅读次数:
79
                             
                    
                        
                            
                            
                                1 """ 2 Evaluate the value of an arithmetic expression in Reverse Polish Notation. 3 Valid operators are +, -, *, /. Each operand may be an integer or ...
                            
                            
                                分类:
其他好文   时间:
2020-03-01 09:15:40   
                                阅读次数:
51
                             
                    
                        
                            
                            
                                    """ 构造召回的模型 """ from sklearn.feature_extraction.text import TfidfVectorizer import pysparnn.cluster_index as ci from cut_sentence import cut import js ...
                            
                            
                                分类:
其他好文   时间:
2020-02-29 22:50:15   
                                阅读次数:
127
                             
                    
                        
                            
                            
                                    import pysparnn.cluster_index as ci from sklearn.feature_extraction.text import TfidfVectorizer data = [ "hello world", "oh hello there", "Play it", " ...
                            
                            
                                分类:
其他好文   时间:
2020-02-29 22:32:24   
                                阅读次数:
129
                             
                    
                        
                            
                            
                                    本文主要讲解的聚类算法有:k均值算法、均值漂移算法、凝聚层次算法、DBSCAN密度聚类算法,还介绍了聚类算法性能指标——轮廓系数。 聚类(cluster)与分类(class)不同,分类是有监督学习模型,聚类属于无监督学习模型。聚类讲究使用一些算法把样本划分为n个群落。一般情况下,这种算法都需要计算欧 ...
                            
                            
                                分类:
编程语言   时间:
2020-02-29 17:29:23   
                                阅读次数:
112
                             
                    
                        
                            
                            
                                    1、redis cluster介绍 redis cluster (1)自动将数据进行分片,每个master上放一部分数据 (2)提供内置的高可用支持,部分master不可用时,还是可以继续工作的 在redis cluster架构下,每个redis要放开两个端口号,比如一个是6379,另外一个就是加1 ...
                            
                            
                                分类:
编程语言   时间:
2020-02-28 22:55:20   
                                阅读次数:
68
                             
                    
                        
                            
                            
                                    mysql服务总是在重启状态 查看mysql容器日志 # docker logs 镜像名称 InnoDB: If this error appears when you are creating an InnoDB database, InnoDB: the problem may be that  ...
                            
                            
                                分类:
数据库   时间:
2020-02-28 14:10:29   
                                阅读次数:
83
                             
                    
                        
                            
                            
                                這篇主要是針對於個人目前學習django rest framework的一些小小心得,在開發django而言,想要撰寫restful api,是有幾個套件可以選擇的rest frameworktastypie主要而言是這兩個,個人是學django rest framework,tastypie個人沒... ...
                            
                            
                                分类:
其他好文   时间:
2020-02-28 11:40:41   
                                阅读次数:
41
                             
                    
                        
                            
                            
                                CacheCloud+Redis Cluster 3部署 CacheCloud环境需求 Java 7 Maven 3 MySQL Redis 3 具体用法可参考:https://cachecloud.github.io 1.下载CacheCloud 官网https://github.com/sohu ...
                            
                            
                                分类:
系统相关   时间:
2020-02-27 18:55:01   
                                阅读次数:
84