In [5]: import pandas as pd In [6]: df=pd.read_csv('https://raw.githubusercontent.com/alstat/Analysis-with-Programming/master/2014/Python/Numerical-De ...
分类:
其他好文 时间:
2016-04-25 13:17:30
阅读次数:
167
atitit.词法分析原理 词法分析器
(Lexer)
1.
词法分析(英语:lexical analysis)1
2.
;实现词法分析程序的常用途径:自动生成,手工生成.[1] 2
2.1.
词法分析程序的功能2
2.2.
如何描述词素3
2.3.
单词token3
2.4.
Token的类型,根据程序设计语言的特点,单词可以分为五类:关键字、标识符、常量、运算符...
分类:
其他好文 时间:
2016-04-23 07:35:43
阅读次数:
205
atitit.词法分析原理 词法分析器 (Lexer) 1. 词法分析(英语:lexical analysis)1 2. ;实现词法分析程序的常用途径:自动生成,手工生成.[1] 2 2.1. 词法分析程序的功能2 2.2. 如何描述词素3 2.3. 单词token3 2.4. Token的类型,根 ...
分类:
其他好文 时间:
2016-04-23 06:59:37
阅读次数:
239
1. 奇异值分解 SVD(singular value decomposition)
1.1 SVD评价
优点: 简化数据, 去除噪声和冗余信息, 提高算法的结果
缺点: 数据的转换可能难以理解
1.2 SVD应用
(1) 隐性语义索引(latent semantic indexing, LSI)/隐性语义分析(latent semantic analysis, LSA)...
分类:
其他好文 时间:
2016-04-22 20:49:13
阅读次数:
324
PCA(Principal Component Analysis)是一种常用的数据分析方法。PCA通过线性变换将原始数据变换为一组各维度线性无关的表示,可用于提取数据的主要特征分量,常用于高维数据的降维。网上关于PCA的文章有很多,但是大多数只描述了PCA的分析过程,而没有讲述其中的原理。这篇文章的目的是介绍PCA的基本数学原理,帮助读者了解PCA的工作机制是什么。
当然我并不打算把文章写成...
分类:
其他好文 时间:
2016-04-22 19:50:00
阅读次数:
241
Given an array a[] of N real numbers, design a linear-time algorithm to find the maximum value of a[j] - a[i] where j ≥ i. ...
分类:
编程语言 时间:
2016-04-21 13:24:20
阅读次数:
156
1.简介 中国科学院计算技术研究所在多年研究基础上,耗时一年研制出了基于多层隐码模型的汉语词法分析系统 ICTCLAS(Institute of Computing Technology, Chinese Lexical Analysis System),该系统的功能有:中文分词;词性标注;未登录词 ...
分类:
其他好文 时间:
2016-04-18 20:50:03
阅读次数:
241