<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="3.7.4">Jekyll</generator><link href="http://sunnieeee.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="http://sunnieeee.github.io/" rel="alternate" type="text/html" hreflang="en" /><updated>2018-10-11T15:59:15+00:00</updated><id>http://sunnieeee.github.io/</id><title type="html">Sunny Cao's Blog</title><subtitle>A gem-based responsive simple texture styled Jekyll theme.</subtitle><author><name>Sunny Cao</name><email>sunniecyq@163.com</email></author><entry><title type="html">Machine Learning</title><link href="http://sunnieeee.github.io/blog/2018/08/29/ml-note/" rel="alternate" type="text/html" title="Machine Learning" /><published>2018-08-29T00:00:00+00:00</published><updated>2018-08-29T00:00:00+00:00</updated><id>http://sunnieeee.github.io/blog/2018/08/29/ml-note</id><content type="html" xml:base="http://sunnieeee.github.io/blog/2018/08/29/ml-note/">&lt;blockquote&gt;
  &lt;p&gt;机器学习笔记&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul class=&quot;toc&quot; id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#heading-机器学习实践应用学习笔记&quot; id=&quot;markdown-toc-heading-机器学习实践应用学习笔记&quot;&gt;机器学习实践应用学习笔记&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-chapter1-机器学习概述&quot; id=&quot;markdown-toc-heading-chapter1-机器学习概述&quot;&gt;Chapter1—-机器学习概述&lt;/a&gt;        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-一机器学习流程&quot; id=&quot;markdown-toc-heading-一机器学习流程&quot;&gt;一、机器学习流程&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-二数据&quot; id=&quot;markdown-toc-heading-二数据&quot;&gt;二、数据&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-三算法分类&quot; id=&quot;markdown-toc-heading-三算法分类&quot;&gt;三、算法分类&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-四过拟合问题&quot; id=&quot;markdown-toc-heading-四过拟合问题&quot;&gt;四、过拟合问题&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-五结果评估&quot; id=&quot;markdown-toc-heading-五结果评估&quot;&gt;五、结果评估&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-chapter2-场景解析&quot; id=&quot;markdown-toc-heading-chapter2-场景解析&quot;&gt;Chapter2—-场景解析&lt;/a&gt;        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-一数据探查&quot; id=&quot;markdown-toc-heading-一数据探查&quot;&gt;一、数据探查&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-二场景抽象&quot; id=&quot;markdown-toc-heading-二场景抽象&quot;&gt;二、场景抽象&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-三算法选择&quot; id=&quot;markdown-toc-heading-三算法选择&quot;&gt;三、算法选择&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-chapter3-数据预处理&quot; id=&quot;markdown-toc-heading-chapter3-数据预处理&quot;&gt;Chapter3—-数据预处理&lt;/a&gt;        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-一采样&quot; id=&quot;markdown-toc-heading-一采样&quot;&gt;一、采样&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-二归一化&quot; id=&quot;markdown-toc-heading-二归一化&quot;&gt;二、归一化&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-三去噪&quot; id=&quot;markdown-toc-heading-三去噪&quot;&gt;三、去噪&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-四数据过滤&quot; id=&quot;markdown-toc-heading-四数据过滤&quot;&gt;四、数据过滤&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-chapter4-特征工程&quot; id=&quot;markdown-toc-heading-chapter4-特征工程&quot;&gt;Chapter4—-特征工程&lt;/a&gt;        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-一特征抽象&quot; id=&quot;markdown-toc-heading-一特征抽象&quot;&gt;一、特征抽象&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-二特征重要性评估&quot; id=&quot;markdown-toc-heading-二特征重要性评估&quot;&gt;二、特征重要性评估&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-三特征衍生&quot; id=&quot;markdown-toc-heading-三特征衍生&quot;&gt;三、特征衍生&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-四特征降维&quot; id=&quot;markdown-toc-heading-四特征降维&quot;&gt;四、特征降维&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-chapter5-机器学习算法常规算法&quot; id=&quot;markdown-toc-heading-chapter5-机器学习算法常规算法&quot;&gt;Chapter5—-机器学习算法—常规算法&lt;/a&gt;        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-一分类算法&quot; id=&quot;markdown-toc-heading-一分类算法&quot;&gt;一、分类算法&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-二聚类算法&quot; id=&quot;markdown-toc-heading-二聚类算法&quot;&gt;二、聚类算法&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-三回归算法&quot; id=&quot;markdown-toc-heading-三回归算法&quot;&gt;三、回归算法&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-四文本分析算法&quot; id=&quot;markdown-toc-heading-四文本分析算法&quot;&gt;四、文本分析算法&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-五推荐类算法淘宝的个性化推荐系统&quot; id=&quot;markdown-toc-heading-五推荐类算法淘宝的个性化推荐系统&quot;&gt;五、推荐类算法（淘宝的个性化推荐系统）&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-六关系图算法&quot; id=&quot;markdown-toc-heading-六关系图算法&quot;&gt;六、关系图算法&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-chapter6-机器学习算法深度学习&quot; id=&quot;markdown-toc-heading-chapter6-机器学习算法深度学习&quot;&gt;Chapter6—-机器学习算法—深度学习&lt;/a&gt;        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-一深度学习概述&quot; id=&quot;markdown-toc-heading-一深度学习概述&quot;&gt;一、深度学习概述&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-二深度学习常见结构dnncnnrnn&quot; id=&quot;markdown-toc-heading-二深度学习常见结构dnncnnrnn&quot;&gt;二、深度学习常见结构（DNN，CNN，RNN）&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-chapter7-常用机器学习工具&quot; id=&quot;markdown-toc-heading-chapter7-常用机器学习工具&quot;&gt;Chapter7—-常用机器学习工具&lt;/a&gt;        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-一工具介绍&quot; id=&quot;markdown-toc-heading-一工具介绍&quot;&gt;一、工具介绍&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-chapter8-场景应用实战&quot; id=&quot;markdown-toc-heading-chapter8-场景应用实战&quot;&gt;Chapter8—-场景应用实战&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-chapter9-知识图谱&quot; id=&quot;markdown-toc-heading-chapter9-知识图谱&quot;&gt;Chapter9—-知识图谱&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-further-reading&quot; id=&quot;markdown-toc-heading-further-reading&quot;&gt;Further reading&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-license&quot; id=&quot;markdown-toc-heading-license&quot;&gt;License&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h1 id=&quot;heading-机器学习实践应用学习笔记&quot;&gt;机器学习实践应用学习笔记&lt;/h1&gt;

&lt;p&gt;Created 2018.08.29 by Sunnie; Last modified: 2018.08.29-V1.0.6&lt;/p&gt;

&lt;p&gt;Contact :&lt;a href=&quot;mailto:1249053233@qq.com&quot;&gt;1249053233@qq.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Copyleft! 2018 Yuqing Cao. Some rights reserved.&lt;/p&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;heading-chapter1-机器学习概述&quot;&gt;Chapter1—-机器学习概述&lt;/h2&gt;

&lt;h3 id=&quot;heading-一机器学习流程&quot;&gt;一、机器学习流程&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;场景解析：把应用场景抽象成逻辑问题，对应上机器学习中的常用场景，把业务逻辑和算法进行匹配&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;数据预处理：减少量纲，减少噪声数据对训练数据集的影响&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;特征工程：对应用场景选取正确好用的特征来评判一个结果的好坏&lt;/p&gt;

    &lt;p&gt;参考https://www.cnblogs.com/wkslearner/p/8933685.html&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;模型训练：经过预处理和特征工程后的训练数据进入算法中，生成模型，模型用于处理预测集数据来生产预测结果&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;模型评估：机器学习算法得到的一般是一个模型，对该模型成熟度评估&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;离线/在线服务：离线服务训练新的数据，得到新的离线模型，通过在线服务提供实时预测查询服务&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;heading-二数据&quot;&gt;二、数据&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;结构化数据：日志类数据结构，可用二维表结构（excel）来显示。机器学习算法通常只支持结构化数据。&lt;/p&gt;

    &lt;p&gt;包含特征和目标列两个重要概念：&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;特称（feature）：数据所描述对象的属性&lt;/li&gt;
      &lt;li&gt;目标列（label）：每一份数据的打标结果&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;半结构化数据：按一定结构储存却不是二维的数据库行存储形态的数据，或者二维结构表中部分数值型部分文本型数据混用。&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;非结构化数据：图像语音文本等不能以矩阵的结构储存的数据。&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;小注：机器学习算法对结构化数据处理较好，另外两类要转化成结构化数据处理。&lt;/p&gt;

&lt;h3 id=&quot;heading-三算法分类&quot;&gt;三、算法分类&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;监督学习&lt;/strong&gt;：每个进入算法的训练数据样本都有对应的期望目标值，机器学习的过程是特征值和目标队列映射的过程，由于目标列大部分需要人工打标，所以获得目标值成本较高。&lt;/p&gt;

    &lt;p&gt;常用于回归及分类场景，算法：&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th style=&quot;text-align: left&quot;&gt;场景&lt;/th&gt;
      &lt;th style=&quot;text-align: left&quot;&gt;算法&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;分类算法&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;K近邻、朴素贝叶斯、决策树、随机森林、GBDT、支持向量机&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;回归算法&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;逻辑回归、线性回归&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;无监督学习&lt;/strong&gt;：不依赖打标数据的机器学习算法，没有目标队列，常用于聚类场景问题，比对不同样本之间的距离关系。&lt;/li&gt;
&lt;/ol&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th style=&quot;text-align: left&quot;&gt;聚类算法&lt;/th&gt;
      &lt;th style=&quot;text-align: left&quot;&gt;推荐算法&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;K-Means、 DBSCAN&lt;/td&gt;
      &lt;td style=&quot;text-align: left&quot;&gt;协同过滤等&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;ol&gt;
  &lt;li&gt;半监督学习：用部分样本打标的样本训练模型——标签传播算法&lt;/li&gt;
  &lt;li&gt;强化学习：系统与外界不断的交互，获得外界的反馈，然后决定自身的行为，用于需要不断推理的场景——隐马尔可夫算法&lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;heading-四过拟合问题&quot;&gt;四、过拟合问题&lt;/h3&gt;

&lt;p&gt;机器学习算法过度学习了训练集数据，导致这套模型在训练的时候过度接近于训练集的特征，缺乏鲁棒性，对其他需要预测的数据集不适用。&lt;/p&gt;

&lt;p&gt;1.过拟合出现的原因：&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;训练数据样本单一：训练样本要尽可能全面覆盖所有数据类型&lt;/li&gt;
  &lt;li&gt;训练样本噪声数据干扰过大：模型忽略输入输出之间的关系&lt;/li&gt;
  &lt;li&gt;模型太过于复杂：模型参数过多&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;2.预防和解决方法：&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;训练和建立模型时从相对简单的模型开始&lt;/li&gt;
  &lt;li&gt;数据的采样要尽可能覆盖全部数据种类，数据要经过清洗后再进行算法训练&lt;/li&gt;
  &lt;li&gt;利用数学手段预防过拟合，在算法中添加惩罚函数来预防过拟合，参考正则化L1、L2规范&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;heading-五结果评估&quot;&gt;五、结果评估&lt;/h3&gt;

&lt;p&gt;模型好坏的评估指标：&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;精确率/召回率/F1值&lt;/li&gt;
  &lt;li&gt;ROC曲线/AUC&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;heading-chapter2-场景解析&quot;&gt;Chapter2—-场景解析&lt;/h2&gt;

&lt;p&gt;数据挖掘的第一阶段，对应用场景和数据集分析，搭建合适的机器学习算法&lt;/p&gt;

&lt;h3 id=&quot;heading-一数据探查&quot;&gt;一、数据探查&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;数据量的大小是否足够，数据量越大效果越好，我们要保证数据量可以实现算法收敛或者模型最优。维度越多需要的数据了也越大。&lt;/li&gt;
  &lt;li&gt;数据是否有缺失值或者乱码，若有需要进行ETL（数据清洗）操作。&lt;/li&gt;
  &lt;li&gt;字段类型是否符合算法支持要求，例如文本分析要求字符型，逻辑回归需要数值型的等。&lt;/li&gt;
  &lt;li&gt;是否含有目标队列，来选择有监督学习还是无监督学习。&lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;heading-二场景抽象&quot;&gt;二、场景抽象&lt;/h3&gt;

&lt;p&gt;通过已有的数据挖掘出可以应用的业务场景，如商品推荐，疾病预测，人物关系挖掘。&lt;/p&gt;

&lt;h3 id=&quot;heading-三算法选择&quot;&gt;三、算法选择&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;确定算法范围流程：数据种类➡是否存在目标队列➡根据实际业务场景选择&lt;/li&gt;
  &lt;li&gt;多算法尝试：根据第一步确定的范围尝试符合要求的算法，选择最好的&lt;/li&gt;
  &lt;li&gt;多视角分析：从其他角度分析，如鲁棒性、复杂度、调参及优化成本&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;heading-chapter3-数据预处理&quot;&gt;Chapter3—-数据预处理&lt;/h2&gt;

&lt;p&gt;数据挖掘的第二阶段，采样、去噪、归一化、数据过滤&lt;/p&gt;

&lt;h3 id=&quot;heading-一采样&quot;&gt;一、采样&lt;/h3&gt;

&lt;p&gt;从数据集中挑选样本数据&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;随机采样：分为有放回采样和无放回采样&lt;/li&gt;
  &lt;li&gt;系统采样：又称为等距采样，是无放回抽样&lt;/li&gt;
  &lt;li&gt;分层采样：先将数据分成若干个类别，再从每一层内随机抽取一定数量样本&lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;heading-二归一化&quot;&gt;二、归一化&lt;/h3&gt;

&lt;p&gt;一种简化计算的方式，可以加快算法的收敛速度。&lt;/p&gt;

&lt;h3 id=&quot;heading-三去噪&quot;&gt;三、去噪&lt;/h3&gt;

&lt;p&gt;例如3σ原则。&lt;/p&gt;

&lt;h3 id=&quot;heading-四数据过滤&quot;&gt;四、数据过滤&lt;/h3&gt;

&lt;p&gt;去掉一组数据里对结果没有意义的字段。&lt;/p&gt;

&lt;h2 id=&quot;heading-chapter4-特征工程&quot;&gt;Chapter4—-特征工程&lt;/h2&gt;

&lt;p&gt;特征工程是数据挖掘流程中的核心部分&lt;/p&gt;

&lt;h3 id=&quot;heading-一特征抽象&quot;&gt;一、特征抽象&lt;/h3&gt;

&lt;p&gt;将源数据抽象成算法可以理解的数据，源数据可能是数字，或者是模糊的文字信息。&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;时间戳：来自于系统日志的时间戳通常为年-月-日的格式，不便于计算，往往选定一天作为基准做差分，将日期变为相对时间。&lt;/li&gt;
  &lt;li&gt;二值类问题：譬如男女表示成0、1。&lt;/li&gt;
  &lt;li&gt;多值有序问题： 譬如根据轻重程度不同如轻度疼痛、中度疼痛、重度疼痛表示成0、1、2、3。&lt;/li&gt;
  &lt;li&gt;多值无序问题（信息阉割）：对于无法排序的多值信息，根据应用场景选择与应用场景最有关的特性表达，忽略其他信息。&lt;/li&gt;
  &lt;li&gt;多值无序问题（One-hot编码）：根据预先设定好的规则把每个信息编码然后组合在一起，变成长度一定的一串数列计算。&lt;/li&gt;
  &lt;li&gt;文本类型：根据词长，词性，TF-IDF值等提取特征。&lt;/li&gt;
  &lt;li&gt;图像或语音处理：转化为矩阵结构。&lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;heading-二特征重要性评估&quot;&gt;二、特征重要性评估&lt;/h3&gt;

&lt;p&gt;对每个特征的重要性（权重）进行评估并排序。&lt;/p&gt;

&lt;p&gt;方法：&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;回归模型系数判断法：回归模型通过中每个特征（变量）前面的系数可以推出每个特征的重要性。&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;信息熵判断法：信息熵是一个信息量抽象的概念，对信息量的研究专门有一门学科叫做信息论。在1948年，信息论的鼻祖香农提出了“信息熵”的概念，真正地把信息这样一个抽象的东西量化。&lt;/p&gt;

    &lt;p&gt;信息熵的具体计算方法：在信源中考虑的不是某一单个符号发生的不确定性，而是要考虑这个信源所有可能发生情况的平均不确定性。若信源符号有n种可能 $U_1,U_2,U_3,U_4 …$ ，每种可能对应的概率分别为 $P_1,P_2,P_3,P_4…$，且各种符号的出现彼此独立。信源的平均不确定性应当为单个符号不确定性$-logP_i$ 的统计平均值 $E$，即 $H(U)=E[-logP_i]=-\sum_{i=1}^{n}P_i logP_i$ 。&lt;/p&gt;

    &lt;p&gt;通过计算信息增益（目标列的熵减去特征列的熵）表示某个特征的重要性&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;heading-三特征衍生&quot;&gt;三、特征衍生&lt;/h3&gt;

&lt;p&gt;利用现有特征进行某种组合，生成新的具有含义的特征。&lt;/p&gt;

&lt;p&gt;例如淘宝购物的系统日志，通过用户点击和购买记录可以推断出用户的购物频率和点击购买率以及和时间序列的关系。对商品的特性可以从热度、购买次数、消耗频率、季节特性、二次购买率等描述。&lt;/p&gt;

&lt;h3 id=&quot;heading-四特征降维&quot;&gt;四、特征降维&lt;/h3&gt;

&lt;p&gt;减少输入矩阵的维度。&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;降维目的：&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;确保变量间的相互独立性，去除加在不同字段上的相同冗余信息&lt;/li&gt;
      &lt;li&gt;减少计算量，工业中采集的矩阵维度很大，带来巨大的运算压力&lt;/li&gt;
      &lt;li&gt;去噪：把对结果没有意义或者意义非常小的字段去掉，较少特征评估阶段的工作量&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;降维方法：&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;主成分分析（PCA）：通过线性映射把高维数据映射到低维空间中，尽可能保证投影维度上数据方差最大&lt;/li&gt;
      &lt;li&gt;线性判别式分析（LDA）：使模式样本在子空间里有最大的类间距离和最小类内距离&lt;/li&gt;
      &lt;li&gt;局部线性嵌入（LLE）：非线性降维算法，特点是降维之后能保持数据的流形结构&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;主成分分析（PCA）：&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;
        &lt;p&gt;基本思路：&lt;/p&gt;

        &lt;p&gt;把坐标轴旋转到数据方差最大方向（即找到数据主轴方向），把源数据的最大方差方向变为新坐标系的一个坐标轴，一直重复这个操作来降低维度。&lt;/p&gt;

        &lt;p&gt;对于一个特征，它的方差表示了它数据的集中程度；对于两个特征（子集），他们之间的协方差表示了他们之间的正负相关程度；对于多个特征，求他们之间的协方差矩阵，矩阵之中的每个值是两两特征之间的协方差，表达了这两个特征的相关程度。&lt;/p&gt;

        &lt;p&gt;复习特征向量和特征值的概念：特征向量乘某个向量（协方差矩阵），方向不变，长度变化，变化多少由特征值决定。所以特征值可以表示某个特征（某一维度）对整体的影响程度，或者说是方差，信息量越大。&lt;/p&gt;

        &lt;p&gt;所以PCA的过程就是求出协方差矩阵的所有特征向量和特征值，把特征值按大小排序，保留前N维的特征向量，就是将矩阵降到N维。该方法（PCA降维）也广泛用于图像处理中（人脸识别）。&lt;/p&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;heading-chapter5-机器学习算法常规算法&quot;&gt;Chapter5—-机器学习算法—常规算法&lt;/h2&gt;

&lt;h3 id=&quot;heading-一分类算法&quot;&gt;一、分类算法&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;K近邻（KNN）：&lt;/p&gt;

    &lt;p&gt;KNN是监督学习分类算法，主要用来解决分类问题，需要有打标数据，KNN通过考虑与目标距离最近的K个点所属的集合（已打标数据）中那个类别的点数量最占优势来判断目标属于哪一类。&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;朴素贝叶斯（NBM）：&lt;/p&gt;

    &lt;table&gt;
      &lt;tbody&gt;
        &lt;tr&gt;
          &lt;td&gt;以条件概率为基础的监督学习算法，在假设条件-所有特征的条件之间相互独立。通过计算概率公式来判断某件事情发生的概率或者分类归属情况。公式为$P(A&lt;/td&gt;
          &lt;td&gt;B)=\frac{P(B&lt;/td&gt;
          &lt;td&gt;A)P(A)}{P(B)}$&lt;/td&gt;
        &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;逻辑回归（LR）：&lt;/p&gt;

    &lt;p&gt;一种广义线性回归分析模型，监督学习算法，逻辑回归最终得到一组特征的系数，每个特征有一个系数相乘。用sigmoid函数将结果控制在[0,1]实现二分类，通过最优化算法找到这个函数（分类的界限）。&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;支持向量机（SVM，Support Vector Machine）：&lt;/p&gt;

    &lt;p&gt;有监督的分类算法，找到能区分特征空间最大间隔的分类器，把问题转化为一个凸二次规划问题的求解。对于线性可分问题，与之前的逻辑回归实现一样；非线性可分问题的数据难以用一条曲线把数据分类（数据交织在一起），可以利用核函数的方法将数据映射到高纬度空间中去，在高维空间中把数据分类。特点：是一种基于小样本学习的算法，引入了最大边界思想，提供了一种处理非线性可分场景的思路，鲁棒性好。&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;随机森林：&lt;/p&gt;

    &lt;p&gt;由多个决策树组成的分类器，监督学习。每个决策树是一个弱分类器，最终的结果由这些弱分类器投票决定。每个决策树的特征是通过抽样生成的每棵树的训练数据也是抽样生成的，随机森林通过对特征和训练样本的随机采样训练，生成多个决策树（森林）从而实现预测。&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;heading-二聚类算法&quot;&gt;二、聚类算法&lt;/h3&gt;

&lt;p&gt;聚类是把一堆数据中有相似属性的一组数据归为一类，与分类问题不同，分类问题一般解决有监督学习场景，数据已经打标，而聚类解决的是无监督学习的场景，只将数据分开而不做定义和判断。&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;K-means算法（根据距离聚类）：&lt;/p&gt;

    &lt;p&gt;是一种无监督的，基于距离聚类的机器学习算法，要在计算之前确定聚类簇心的数量即K值，表示最终需要生成K个簇；然后通过代码随机生成初始数据簇中心点，对第一次质心做第一次遍历，将所有数据做第一次分类，显然随机生成的中心效果并不理想，K-means是通过不断迭代来调优效果的。第二次遍历会利用第一次聚类结果每个类别的中心的点，以此类推，每次聚类利用上一次聚类的两个质心。&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;DBScan算法（根据密度聚类）：&lt;/p&gt;

    &lt;p&gt;需要给两个参数，半径和中心邻域内最少点的数量（表示密度）。不需要预设聚类的K值，还可以过滤噪音，DBScan的距离用欧式距离来计算。首先取一个没有被访问过的点，判断这个点是否是核心点（参见核心点的定义），如果是核心点，那么这个点就跟附近Eps范围内的所有点形成一个簇，递归处理该簇中其他没有被标记的点，扩大这个簇的范围，找到更多彼此密度相连的点，从而对目前的簇进行扩展；如果这个点不是核心点，就把这个点标记成噪音。&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;heading-三回归算法&quot;&gt;三、回归算法&lt;/h3&gt;

&lt;p&gt;回归和分类的区别：如果预测的变量是离散的，我们称其为分类，如果预测变量是连续的，我们称其为回归。从数学角度看，回归就是拟合出贴近实际数据点的曲线，通常被用来预测 未来数据的走向。&lt;/p&gt;

&lt;p&gt;回归方程为多元变量函数，然后通过最优化算法优化函数中每个变量（特征）的系数，如梯度下降算法或者最小二乘法。&lt;/p&gt;

&lt;h3 id=&quot;heading-四文本分析算法&quot;&gt;四、文本分析算法&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;分词算法-Hmm&lt;/p&gt;

    &lt;p&gt;将句子按照每个词的意义进行分割，对英文文本而言英文本身就是用空格来分隔词的，不需要再次分词，但是中文词语之间不具备天然分隔符，故需要对语意分析。&lt;/p&gt;

    &lt;p&gt;分词可分为三种方法：&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;机械分词：查询词库（涵盖所有中文词语），将文章中与词库匹配的词语挑出来，这样效率低下，而且存在语义歧义的问题。可通过其他方法优化。&lt;/li&gt;
      &lt;li&gt;统计分词：一种简单的基于概率的分词算法，从海量文本中找出同时出现频率很高的几个字，这几个字可能就会组成一个词语，对新词语的感知能力强（网络新词）。&lt;/li&gt;
      &lt;li&gt;机器学习分词：对结果的预测过程，通过计算每种分词可能性大概率大小来进行分词并得到最终结果。如隐马尔可夫模型（HMM）和条件随机场（CRF）算法。&lt;/li&gt;
    &lt;/ul&gt;

    &lt;p&gt;HMM作为统计模型，被广泛应用于语音识别，行为识别，文字识别以及故障诊断等领域，（参见&lt;a href=&quot;https://www.cnblogs.com/mdumpling/p/7747000.html&quot;&gt;https://www.cnblogs.com/mdumpling/p/7747000.html&lt;/a&gt;）&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;TF-IDF（自动对文章打标算法）&lt;/p&gt;

    &lt;p&gt;词频-逆向文件频率（TF-IDF），是一种用于信息检索和数据挖掘的加权技术，一方面出现频率高的词最能代表文章意义，另一方面要把多篇文章放一起比较，找出每篇文章中的独特词语，在这篇文章中出现多而在其他文章出现少（排除介词代词等）。满足这两个条件的词才有代表性才能作为标签来代表文章。&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;LDA（主题模型算法）&lt;/p&gt;

    &lt;p&gt;隐含狄利克雷分布（LDA）计算的是每个文章的主题，可以将文章的主题作为标签做相关性推荐，也可以用于文章基于主题的分类。&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;h3 id=&quot;heading-五推荐类算法淘宝的个性化推荐系统&quot;&gt;五、推荐类算法（淘宝的个性化推荐系统）&lt;/h3&gt;

&lt;p&gt;协同过滤（CF）算法，是一种基于类别的推荐算法，核心理念就是找出爱好相同的人或者属性相似的物。&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;基于人的推荐（UCF）：从全量数据集中找出哪些人是有共同偏好的针对人群之间的相似偏好进行推荐。&lt;/li&gt;
  &lt;li&gt;基于物品的推荐（ICF）：从物品的角度找到相似度高的商品进行推荐。&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;heading-六关系图算法&quot;&gt;六、关系图算法&lt;/h3&gt;

&lt;p&gt;针对输入数据源呈图状（网状、关系网）结构的算法，算法的核心是community，可以通过算法挖掘关系网络中的主要成分，预测行车轨迹的最短路径，判断社交网络中彼此的亲密程度，金融行业中的风险管控等。&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;标签传播算法（LPA）&lt;/p&gt;

    &lt;p&gt;基于图数据的半监督算法，LPA的基本原理是在一个庞大的数据集合中，已知其中一部分的标记数据，然后通过数据间彼此的联系最后得到全部数据的标记结果。&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;迪杰斯特拉（Dijkstra）最短路径算法&lt;/p&gt;

    &lt;p&gt;两端点间可能有多条连接线路可以选择时，找出两点间的最短链路。&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;heading-chapter6-机器学习算法深度学习&quot;&gt;Chapter6—-机器学习算法—深度学习&lt;/h2&gt;

&lt;h3 id=&quot;heading-一深度学习概述&quot;&gt;一、深度学习概述&lt;/h3&gt;

&lt;p&gt;从算法网络深度的角度来看可以把机器学习算法分成浅层学习算法和深度学习算法。&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;浅层学习：就是隐藏层（输入数据在隐藏层被抽象成特征信息）较少的神经网络，如支持向量机和逻辑回归，浅层学习都是监督学习，通过求解梯度找到函数最优化搜索的方向，但是深度学习中隐藏层较多，不能再用浅层学习的思想。&lt;/p&gt;

    &lt;p&gt;在推荐系统或者一些分类场景下的应用（特征不复杂）浅层学习往往能达到很好的效果，但是对于图片、语音、文本这种特征复杂的数据就需要深度学习算法。&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;深度学习：是由输入层、隐藏层和输出层三部分组成，隐藏层可以包含很多层，单纯使用浅层算法的模型优化思想来优化每一层的参数会对模型的精度有不利影响，所以在模型训练方面深度学习采用反向传播算法（又称BP算法），是一种监督学习算法，BP算法的核心思想是求导的链式法则，常被用来求解神经网络中的最优化问题，用链式法则对每一层迭代计算梯度，但是BP算法对前方隐藏层的影响是逐渐衰减的，所以需要用其他手段优化BP算法。&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;注：在浅层学习中特征是由手工提取生成的，但是深度学习可以通过算法自动构建特征，将特征映射到不同维度的空间中，如自动编码算法可以逐层抽象并且构建特征。&lt;/p&gt;

&lt;h3 id=&quot;heading-二深度学习常见结构dnncnnrnn&quot;&gt;二、深度学习常见结构（DNN，CNN，RNN）&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;深度神经网络（DNN）：特指层次比较多的神经网络。（上一章的那些算法也是神经网络，只是层次浅）&lt;/li&gt;
  &lt;li&gt;卷积神经网络（CNN）：是一种特殊的深度学习结构，通过卷积来解决空间上一些复杂特征的问题，例如图像识别中，如果对像素上每一个的RGB都做特征训练（每个隐藏层都做），计算量会非常大，而CNN利用卷积核作为权重向下传导中介，降低了每一层计算复杂度。
    &lt;ul&gt;
      &lt;li&gt;卷积：通过对图片矩阵用卷积核进行一次卷积后，输入矩阵维数降低了，做到的参数的压缩，可以把训练流程简化，通过卷积核也能学习出对输入数据的特征描述，整个CNN学习的过程就是在确定卷积核的具体数值。&lt;/li&gt;
      &lt;li&gt;下采样：对图像进行自抽样，减少数据的处理量，是有效的信息尽可能保留。&lt;/li&gt;
      &lt;li&gt;全连接：将之前两步生成的各种特征图谱信息汇总并综合判断，返回希望得到的结果。&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;循环神经网络（RNN）：环状的深度神经网络，常用来解决时序行为的问题。RNN在隐藏层的输出可以作为自身的输入，参数可以环状传导。对文本分析和语音识别来说，下一个时间产生的文本会受前一时刻文本的影响，时间维度上是彼此关联的，所以RNN的环状特点适用于这种时序空间的联系。RNN的结构中每一个隐藏层计算时都会考虑前一个隐藏层的参数以及当前的输入。目前RNN广泛应用于自然语言处理和股票预测等时间相关的场景下。&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;heading-chapter7-常用机器学习工具&quot;&gt;Chapter7—-常用机器学习工具&lt;/h2&gt;

&lt;h3 id=&quot;heading-一工具介绍&quot;&gt;一、工具介绍&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;单机版：两款软件 SPSS 和 RStudio（R语言）&lt;/li&gt;
  &lt;li&gt;开源分布式：Spark MLib 和 &lt;strong&gt;Tensorflow&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;企业级云机器学习工具：亚马逊AWS ML 阿里云机器学习PAI&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;heading-chapter8-场景应用实战&quot;&gt;Chapter8—-场景应用实战&lt;/h2&gt;

&lt;p&gt;由于比较无聊，就没写笔记&lt;/p&gt;

&lt;h2 id=&quot;heading-chapter9-知识图谱&quot;&gt;Chapter9—-知识图谱&lt;/h2&gt;

&lt;p&gt;工具推荐protege&lt;/p&gt;

&lt;h2 id=&quot;heading-further-reading&quot;&gt;Further reading&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;http://yann.lecun.com/exdb/mnist/&quot;&gt;THE MNIST DATABASEof handwritten digits&lt;/a&gt; 手写字图片数据集&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.cs.toronto.edu/~kriz/cifar.html&quot;&gt;The CIFAR-10 dataset&lt;/a&gt; 场景解析图片数据集&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/jimenbian/GarvinBook&quot;&gt;书中源码《机器学习实践应用》/ 李博 著. 人民邮电出版社&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;作者CSDN博客：&lt;a href=&quot;https://blog.csdn.net/buptgshengod&quot;&gt;李博Garvin的专栏&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;heading-license&quot;&gt;License&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;http://creativecommons.org/publicdomain/zero/1.0/&quot;&gt;&lt;img src=&quot;http://i.creativecommons.org/p/zero/1.0/88x31.png&quot; alt=&quot;CC0&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content><author><name>Sunny Cao</name><email>sunniecyq@163.com</email></author><category term="code" /><category term="Machine Learning" /><summary type="html">机器学习笔记</summary></entry><entry><title type="html">Data Fusion</title><link href="http://sunnieeee.github.io/blog/2018/08/07/data-fusion/" rel="alternate" type="text/html" title="Data Fusion" /><published>2018-08-07T00:00:00+00:00</published><updated>2018-08-07T00:00:00+00:00</updated><id>http://sunnieeee.github.io/blog/2018/08/07/data-fusion</id><content type="html" xml:base="http://sunnieeee.github.io/blog/2018/08/07/data-fusion/">&lt;blockquote&gt;
  &lt;p&gt;导航定位中的数据融合算法&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul class=&quot;toc&quot; id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#heading-imu与里程计融合&quot; id=&quot;markdown-toc-heading-imu与里程计融合&quot;&gt;IMU与里程计融合&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-扩展卡尔曼滤波extended-kalman-filter&quot; id=&quot;markdown-toc-heading-扩展卡尔曼滤波extended-kalman-filter&quot;&gt;扩展卡尔曼滤波（Extended Kalman Filter）&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#heading-imu内部数据融合&quot; id=&quot;markdown-toc-heading-imu内部数据融合&quot;&gt;IMU内部数据融合&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-ros-filter&quot; id=&quot;markdown-toc-heading-ros-filter&quot;&gt;ROS filter&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-互补滤波&quot; id=&quot;markdown-toc-heading-互补滤波&quot;&gt;互补滤波&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-卡尔曼滤波&quot; id=&quot;markdown-toc-heading-卡尔曼滤波&quot;&gt;卡尔曼滤波&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#heading-多传感器融合&quot; id=&quot;markdown-toc-heading-多传感器融合&quot;&gt;多传感器融合&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-license&quot; id=&quot;markdown-toc-heading-license&quot;&gt;License&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h1 id=&quot;heading-imu与里程计融合&quot;&gt;IMU与里程计融合&lt;/h1&gt;

&lt;p&gt;Created 2018.08.07 by Sunnie; Last modified: 2018.08.07-V1.0&lt;/p&gt;

&lt;p&gt;Contact :&lt;a href=&quot;mailto:1249053233@qq.com&quot;&gt;1249053233@qq.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Copyleft! 2018 Yuqing Cao. Some rights reserved.&lt;/p&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;heading-扩展卡尔曼滤波extended-kalman-filter&quot;&gt;扩展卡尔曼滤波（Extended Kalman Filter）&lt;/h2&gt;

&lt;h4 id=&quot;heading-理论介绍&quot;&gt;理论介绍&lt;/h4&gt;

&lt;p&gt;&lt;a href=&quot;https://blog.csdn.net/young_gy/article/details/78177291&quot;&gt;卡尔曼滤波简介&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://blog.csdn.net/u012936940/article/details/76805526&quot;&gt;卡尔曼滤波（一）csdn&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://blog.csdn.net/u012936940/article/details/77249245&quot;&gt;卡尔曼滤波原理二：扩展卡尔曼&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.360doc.com/content/17/0113/15/19235756_622220370.shtml&quot;&gt;初学者的卡尔曼滤波&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://blog.csdn.net/young_gy/article/details/78468153&quot;&gt;扩展卡尔曼滤波EKF与多传感器融合&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://blog.csdn.net/u013453604/article/details/50301477&quot;&gt;卡尔曼滤波的理解以及参数调整&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://blog.csdn.net/lizilpl/article/details/45268471&quot;&gt;卡尔曼滤波器学习笔记（一）&lt;/a&gt;&lt;/p&gt;

&lt;h4 id=&quot;heading-代码示例&quot;&gt;代码示例&lt;/h4&gt;

&lt;p&gt;&lt;a href=&quot;https://www.cnblogs.com/TIANHUAHUA/p/8473029.html&quot;&gt;KF&amp;amp;EKF及matlab代码地址&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://blog.sina.com.cn/s/blog_ea828d2a0102wgun.html&quot;&gt;扩展卡尔曼滤波EKF及其MATLAB实现&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://blog.csdn.net/qiguizhe/article/details/78979715&quot;&gt;C++下扩展卡尔曼类（EKF）的实现&lt;/a&gt;&lt;/p&gt;

&lt;h4 id=&quot;heading-结合ros&quot;&gt;结合ROS&lt;/h4&gt;

&lt;p&gt;&lt;a href=&quot;https://www.ncnynl.com/archives/201708/1909.html&quot;&gt;ROS与navigation教程-robot_pose_ekf&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.jianshu.com/p/d19c249052e5&quot;&gt;03-数据融合-ROS轮式机器人数据融合-odom&amp;amp;IMU&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.liuxiao.org/2016/07/ros-%e5%a4%9a%e4%bc%a0%e6%84%9f%e5%99%a8%e5%8d%a1%e5%b0%94%e6%9b%bc%e8%9e%8d%e5%90%88%e6%a1%86%e6%9e%b6-ethzasl-msf-framework-%e7%bc%96%e8%af%91%e4%b8%8e%e4%bd%bf%e7%94%a8/&quot;&gt;[ROS] 多传感器卡尔曼融合框架 Ethzasl MSF Framework 编译与使用&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.dongcoder.com/detail-799955.html&quot;&gt;使用robot_pose_ekf对传感器信息融合&lt;/a&gt;&lt;/p&gt;

&lt;h4 id=&quot;heading-论文实例&quot;&gt;论文实例&lt;/h4&gt;

&lt;p&gt;&lt;a href=&quot;https://wenku.baidu.com/view/ed337b8c856a561252d36f7f.html&quot;&gt;陀螺仪+加速度+卡尔曼数据融合&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://wenku.baidu.com/view/c1ded71f7fd5360cba1adbeb.html&quot;&gt;基于惯性传感器和视觉里程计的机器人定位&lt;/a&gt;&lt;/p&gt;

&lt;h1 id=&quot;heading-imu内部数据融合&quot;&gt;IMU内部数据融合&lt;/h1&gt;

&lt;h2 id=&quot;heading-ros-filter&quot;&gt;ROS filter&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/ccny-ros-pkg/imu_tools/tree/indigo/imu_complementary_filter&quot;&gt;imu_complementary_filter&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;heading-互补滤波&quot;&gt;互补滤波&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://blog.csdn.net/superrunner_wujin/article/details/77746582&quot;&gt;算法原理推导&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://blog.csdn.net/zhaojun1204/article/details/52790697&quot;&gt;浅谈陀螺仪和加速度计的互补滤波&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://blog.csdn.net/MOU_IT/article/details/80391216&quot;&gt;姿态解算进阶：互补滤波（陀螺仪、加速度计、地磁计数据融合）&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;heading-卡尔曼滤波&quot;&gt;卡尔曼滤波&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://blog.csdn.net/m0_37575064/article/details/76098588&quot;&gt;MPU6050 + 一阶互补滤波+二阶互补滤波+卡尔曼滤波  +波形比较&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.doc88.com/p-2572805655284.html&quot;&gt;互补滤波和卡尔曼滤波的融合姿态解算方法&lt;/a&gt;&lt;/p&gt;

&lt;h1 id=&quot;heading-多传感器融合&quot;&gt;多传感器融合&lt;/h1&gt;

&lt;p&gt;&lt;a href=&quot;http://f.wanfangdata.com.cn/www/%E5%9F%BA%E4%BA%8E%E5%A4%9A%E4%BC%A0%E6%84%9F%E5%99%A8%E8%9E%8D%E5%90%88%E7%9A%84%E5%AE%A4%E5%86%85%E6%9C%BA%E5%99%A8%E4%BA%BA%E8%87%AA%E4%B8%BB%E5%AF%BC%E8%88%AA%E6%96%B9%E6%B3%95%E7%A0%94%E7%A9%B6.ashx?isread=true&amp;amp;type=degree&amp;amp;resourceId=Y3226485&amp;amp;transaction=%7B%22id%22%3Anull%2C%22transferOutAccountsStatus%22%3Anull%2C%22transaction%22%3A%7B%22id%22%3A%221018844053740998656%22%2C%22status%22%3A1%2C%22createDateTime%22%3Anull%2C%22payDateTime%22%3A1531746326276%2C%22authToken%22%3A%22TGT-8997191-CPK9DxNmeM2qaovwaALIt4PRyWtfbNzXWD2DrIbKGfbRNLhceb-my.wanfangdata.com.cn%22%2C%22user%22%3A%7B%22accountType%22%3A%22Group%22%2C%22key%22%3A%22hzkjdx%22%7D%2C%22transferIn%22%3A%7B%22accountType%22%3A%22Income%22%2C%22key%22%3A%22ThesisFulltext%22%7D%2C%22transferOut%22%3A%7B%22GTimeLimit.hzkjdx%22%3A30.0%7D%2C%22turnover%22%3A30.0%2C%22productDetail%22%3A%22degree_Y3226485%22%2C%22productTitle%22%3Anull%2C%22userIP%22%3A%22115.156.143.62%22%2C%22organName%22%3Anull%2C%22memo%22%3Anull%2C%22webTransactionRequest%22%3Anull%2C%22signature%22%3A%22GtvO5lpo57sLeaKsI%2Fn5ykDgVD8FtLVwDKU0WXAqYzRO9SBFO4KIKl%2FCGeGk5JibCBCJrIjepaJ7%5Cnles0AF234k2k3Vzon%2FQSLWuaSGYLRsL0%2Fh1oMesYADHg1JSIShDZV80wXmnEbs2Lra2jzC%2F%2B51cH%5CnB57jqr0mF1AymgaXO00%3D%22%2C%22delete%22%3Afalse%7D%2C%22isCache%22%3Afalse%7D&quot;&gt;基于多传感器融合的室内机器人自主导航方法研究&lt;/a&gt;（蒙特卡洛定位技术）&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://robot.sia.cn/CN/abstract/abstract12478.shtml&quot;&gt;机器人IMU与激光扫描测距传感器数据融合&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://kns.cnki.net/KCMS/detail/detail.aspx?dbcode=CJFQ&amp;amp;dbname=CJFD2012&amp;amp;filename=CGJS201201013&amp;amp;uid=WEEvREcwSlJHSldRa1FhdkJkVWI3Nkp5eEFCSmdBY01GZnVFdFgrczZwVT0=$9A4hF_YAuvQ5obgVAqNKPCYcEjKensW4ggI8Fm4gTkoUKaID8j8gFw!!&amp;amp;v=MDAwNDFyQ1VSTEtmWU9kcEZDbmhXci9OSmlyQmZiRzRIOVBNcm85RVo0UjhlWDFMdXhZUzdEaDFUM3FUcldNMUY=&quot;&gt;基于多传感器数据融合的机器人里程计设计与实现&lt;/a&gt;（归一化特征值加权）&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://robolab.sjtu.edu.cn/kindeditor/Upload/file/20170830/20170830163343_0805.pdf&quot;&gt;基于全景视觉与里程计的移动机器人自定位方法研究&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.zjujournals.com/eng/CN/abstract/abstract11697.shtml&quot;&gt;基于不确定性分析的视觉里程计优化&lt;/a&gt;&lt;/p&gt;

&lt;hr /&gt;
&lt;h2 id=&quot;heading-license&quot;&gt;License&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;http://creativecommons.org/publicdomain/zero/1.0/&quot;&gt;&lt;img src=&quot;http://i.creativecommons.org/p/zero/1.0/88x31.png&quot; alt=&quot;CC0&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content><author><name>Sunny Cao</name><email>sunniecyq@163.com</email></author><category term="code" /><category term="Data" /><summary type="html">导航定位中的数据融合算法</summary></entry><entry><title type="html">A quick demo of Simple Texture theme's code highlighting features</title><link href="http://sunnieeee.github.io/blog/2017/05/27/code-highlighting/" rel="alternate" type="text/html" title="A quick demo of Simple Texture theme's code highlighting features" /><published>2017-05-27T00:00:00+00:00</published><updated>2017-05-27T00:00:00+00:00</updated><id>http://sunnieeee.github.io/blog/2017/05/27/code-highlighting</id><content type="html" xml:base="http://sunnieeee.github.io/blog/2017/05/27/code-highlighting/">&lt;blockquote&gt;
  &lt;p&gt;This is code blocks and highlighting test page for &lt;a href=&quot;https://github.com/yizeng/jekyll-theme-simple-texture&quot;&gt;Simple Texture&lt;/a&gt; theme.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul class=&quot;toc&quot; id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#heading-code-spans&quot; id=&quot;markdown-toc-heading-code-spans&quot;&gt;Code Spans&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#heading-fenced-code-blocks&quot; id=&quot;markdown-toc-heading-fenced-code-blocks&quot;&gt;Fenced Code Blocks&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#heading-simple-codeblock-with-long-lines&quot; id=&quot;markdown-toc-heading-simple-codeblock-with-long-lines&quot;&gt;Simple codeblock with long lines&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#heading-language-of-code-blocks&quot; id=&quot;markdown-toc-heading-language-of-code-blocks&quot;&gt;Language of Code Blocks&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#heading-highlighted&quot; id=&quot;markdown-toc-heading-highlighted&quot;&gt;Highlighted&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-external-gist&quot; id=&quot;markdown-toc-heading-external-gist&quot;&gt;External Gist&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-simple-highlight&quot; id=&quot;markdown-toc-heading-simple-highlight&quot;&gt;Simple Highlight&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-highlight-with-long-lines&quot; id=&quot;markdown-toc-heading-highlight-with-long-lines&quot;&gt;Highlight with long lines&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-highlight-with-line-numbers-and-long-lines&quot; id=&quot;markdown-toc-heading-highlight-with-line-numbers-and-long-lines&quot;&gt;Highlight with line numbers and long lines&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h1 id=&quot;heading-code-spans&quot;&gt;Code Spans&lt;/h1&gt;

&lt;p&gt;This is a test for inline codeblocks like &lt;code class=&quot;highlighter-rouge&quot;&gt;C:/Ruby23-x64&lt;/code&gt; or &lt;code class=&quot;highlighter-rouge&quot;&gt;SELECT  &quot;offices&quot;.* FROM &quot;offices&quot; &lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Here is a literal &lt;code class=&quot;highlighter-rouge&quot;&gt;`&lt;/code&gt; backtick.
And here is a Ruby code fragment &lt;code class=&quot;language-ruby highlighter-rouge&quot;&gt;&lt;span class=&quot;n&quot;&gt;x&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;no&quot;&gt;Class&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;new&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;

&lt;h1 id=&quot;heading-fenced-code-blocks&quot;&gt;Fenced Code Blocks&lt;/h1&gt;

&lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;~~~~~~~
code with tildes
~~~~~~~~
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h1 id=&quot;heading-simple-codeblock-with-long-lines&quot;&gt;Simple codeblock with long lines&lt;/h1&gt;

&lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;function myFunction() {
    alert(&quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&quot;);
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h1 id=&quot;heading-language-of-code-blocks&quot;&gt;Language of Code Blocks&lt;/h1&gt;

&lt;div class=&quot;language-ruby highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;what?&lt;/span&gt;
  &lt;span class=&quot;mi&quot;&gt;42&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h1 id=&quot;heading-highlighted&quot;&gt;Highlighted&lt;/h1&gt;

&lt;h2 id=&quot;heading-external-gist&quot;&gt;External Gist&lt;/h2&gt;

&lt;script src=&quot;https://gist.github.com/yizeng/9b871ad619e6dcdcc0545cac3101f361.js&quot;&gt;&lt;/script&gt;

&lt;h2 id=&quot;heading-simple-highlight&quot;&gt;Simple Highlight&lt;/h2&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-ruby&quot; data-lang=&quot;ruby&quot;&gt;&lt;span class=&quot;k&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;foo&lt;/span&gt;
  &lt;span class=&quot;nb&quot;&gt;puts&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;'foo'&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;end&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;h2 id=&quot;heading-highlight-with-long-lines&quot;&gt;Highlight with long lines&lt;/h2&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-c#&quot; data-lang=&quot;c#&quot;&gt;&lt;span class=&quot;k&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;nc&quot;&gt;Hello&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;k&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;Main&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
        &lt;span class=&quot;n&quot;&gt;Console&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;WriteLine&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;h2 id=&quot;heading-highlight-with-line-numbers-and-long-lines&quot;&gt;Highlight with line numbers and long lines&lt;/h2&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-javascript&quot; data-lang=&quot;javascript&quot;&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;myFunction&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;nx&quot;&gt;alert&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;</content><author><name>Sunny Cao</name><email>sunniecyq@163.com</email></author><category term="demo" /><category term="jekyll" /><summary type="html">This is code blocks and highlighting test page for Simple Texture theme.</summary></entry><entry><title type="html">Quick kramdown demo</title><link href="http://sunnieeee.github.io/blog/2017/05/25/quick-kramdown-demo/" rel="alternate" type="text/html" title="Quick kramdown demo" /><published>2017-05-25T00:00:00+00:00</published><updated>2017-05-25T00:00:00+00:00</updated><id>http://sunnieeee.github.io/blog/2017/05/25/quick-kramdown-demo</id><content type="html" xml:base="http://sunnieeee.github.io/blog/2017/05/25/quick-kramdown-demo/">&lt;blockquote&gt;
  &lt;p&gt;This is &lt;a href=&quot;https://kramdown.gettalong.org/&quot;&gt;kramdown&lt;/a&gt; formatting test page for &lt;a href=&quot;https://github.com/yizeng/jekyll-theme-simple-texture&quot;&gt;Simple Texture&lt;/a&gt; theme.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul class=&quot;toc&quot; id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#heading-general-usage&quot; id=&quot;markdown-toc-heading-general-usage&quot;&gt;General Usage&lt;/a&gt;    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-blockquotes&quot; id=&quot;markdown-toc-heading-blockquotes&quot;&gt;Blockquotes&lt;/a&gt;        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-nested&quot; id=&quot;markdown-toc-heading-nested&quot;&gt;Nested&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-lists-inside&quot; id=&quot;markdown-toc-heading-lists-inside&quot;&gt;Lists inside&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#heading-long-lines&quot; id=&quot;markdown-toc-heading-long-lines&quot;&gt;Long lines&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-lists&quot; id=&quot;markdown-toc-heading-lists&quot;&gt;Lists&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-tables&quot; id=&quot;markdown-toc-heading-tables&quot;&gt;Tables&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-horizontal-rules&quot; id=&quot;markdown-toc-heading-horizontal-rules&quot;&gt;Horizontal Rules&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#heading-images&quot; id=&quot;markdown-toc-heading-images&quot;&gt;Images&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h1 id=&quot;heading-general-usage&quot;&gt;General Usage&lt;/h1&gt;

&lt;p&gt;This is a normal paragraph.&lt;/p&gt;

&lt;p&gt;This is &lt;a href=&quot;https://yizeng.me&quot;&gt;a link&lt;/a&gt; to my homepage.
A &lt;a href=&quot;https://yizeng.me/blog&quot; title=&quot;Yi Zeng's Blog&quot;&gt;link&lt;/a&gt; can also have a title.&lt;/p&gt;

&lt;p&gt;This is a &lt;strong&gt;&lt;em&gt;text with light and strong emphasis&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This &lt;strong&gt;is &lt;em&gt;emphasized&lt;/em&gt; as well&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This &lt;em&gt;does _not_ work&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;This &lt;strong&gt;does __not__ work either&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This is a footnote&lt;sup id=&quot;fnref:1&quot;&gt;&lt;a href=&quot;#fn:1&quot; class=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;

&lt;p&gt;This scarcely known tag emulates &lt;kbd&gt;keyboard text&lt;/kbd&gt;, which is usually styled like the &lt;code class=&quot;highlighter-rouge&quot;&gt;&amp;lt;code&amp;gt;&lt;/code&gt; tag.&lt;/p&gt;

&lt;p&gt;This tag should denote &lt;ins&gt;inserted&lt;/ins&gt; text.&lt;/p&gt;

&lt;p&gt;The emphasize tag should &lt;em&gt;italicize&lt;/em&gt; text.&lt;/p&gt;

&lt;p&gt;This tag will let you &lt;strike&gt;strikeout text&lt;/strike&gt;.&lt;/p&gt;

&lt;h2 id=&quot;heading-blockquotes&quot;&gt;Blockquotes&lt;/h2&gt;

&lt;blockquote&gt;
  &lt;p&gt;ruby -v&lt;/p&gt;

  &lt;p&gt;tsc -v&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3 id=&quot;heading-nested&quot;&gt;Nested&lt;/h3&gt;

&lt;blockquote&gt;
  &lt;p&gt;This is a paragraph in blockquote.&lt;/p&gt;

  &lt;blockquote&gt;
    &lt;p&gt;A nested blockquote.&lt;/p&gt;
  &lt;/blockquote&gt;

&lt;/blockquote&gt;

&lt;h3 id=&quot;heading-lists-inside&quot;&gt;Lists inside&lt;/h3&gt;

&lt;blockquote&gt;
  &lt;p&gt;Unordered List&lt;/p&gt;
  &lt;ul&gt;
    &lt;li&gt;lists one&lt;/li&gt;
    &lt;li&gt;lists two&lt;/li&gt;
    &lt;li&gt;lists three&lt;/li&gt;
  &lt;/ul&gt;

  &lt;p&gt;Ordered List&lt;/p&gt;
  &lt;ol&gt;
    &lt;li&gt;lists one&lt;/li&gt;
    &lt;li&gt;lists two&lt;/li&gt;
    &lt;li&gt;lists three&lt;/li&gt;
  &lt;/ol&gt;
&lt;/blockquote&gt;

&lt;h3 id=&quot;heading-long-lines&quot;&gt;Long lines&lt;/h3&gt;

&lt;blockquote&gt;
  &lt;p&gt;Jekyll is a simple, blog-aware, static site generator perfect for personal, project, or organization sites. Think of it like a file-based CMS, without all the complexity. Jekyll takes your content, renders Markdown and Liquid templates, and spits out a complete, static website ready to be served by Apache, Nginx or another web server. Jekyll is the engine behind GitHub Pages, which you can use to host sites right from your GitHub repositories.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2 id=&quot;heading-lists&quot;&gt;Lists&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;list 1 item 1
    &lt;ul&gt;
      &lt;li&gt;nested list item 1&lt;/li&gt;
      &lt;li&gt;nested list item 2&lt;/li&gt;
      &lt;li&gt;nested list item 3 with blockquote
        &lt;blockquote&gt;
          &lt;p&gt;ruby -v&lt;/p&gt;

          &lt;p&gt;tsc -v&lt;/p&gt;
        &lt;/blockquote&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;list 1 item 2&lt;/li&gt;
  &lt;li&gt;list 1 item 3&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;heading-tables&quot;&gt;Tables&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Table 1&lt;/p&gt;

    &lt;table&gt;
      &lt;thead&gt;
        &lt;tr&gt;
          &lt;th&gt;Default aligned&lt;/th&gt;
          &lt;th style=&quot;text-align: left&quot;&gt;Left aligned&lt;/th&gt;
          &lt;th style=&quot;text-align: center&quot;&gt;Center aligned&lt;/th&gt;
          &lt;th style=&quot;text-align: right&quot;&gt;Right aligned&lt;/th&gt;
        &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
        &lt;tr&gt;
          &lt;td&gt;First body part&lt;/td&gt;
          &lt;td style=&quot;text-align: left&quot;&gt;Second cell&lt;/td&gt;
          &lt;td style=&quot;text-align: center&quot;&gt;Third cell&lt;/td&gt;
          &lt;td style=&quot;text-align: right&quot;&gt;fourth cell&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;td&gt;Second line&lt;/td&gt;
          &lt;td style=&quot;text-align: left&quot;&gt;foo&lt;/td&gt;
          &lt;td style=&quot;text-align: center&quot;&gt;&lt;strong&gt;strong&lt;/strong&gt;&lt;/td&gt;
          &lt;td style=&quot;text-align: right&quot;&gt;baz&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;td&gt;Third line&lt;/td&gt;
          &lt;td style=&quot;text-align: left&quot;&gt;quux&lt;/td&gt;
          &lt;td style=&quot;text-align: center&quot;&gt;baz&lt;/td&gt;
          &lt;td style=&quot;text-align: right&quot;&gt;bar&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;td&gt;Footer row&lt;/td&gt;
          &lt;td style=&quot;text-align: left&quot;&gt; &lt;/td&gt;
          &lt;td style=&quot;text-align: center&quot;&gt; &lt;/td&gt;
          &lt;td style=&quot;text-align: right&quot;&gt; &lt;/td&gt;
        &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Table 2&lt;/p&gt;

    &lt;table&gt;
      &lt;thead&gt;
        &lt;tr&gt;
          &lt;th&gt;Default aligned&lt;/th&gt;
          &lt;th style=&quot;text-align: left&quot;&gt;Left aligned&lt;/th&gt;
          &lt;th style=&quot;text-align: center&quot;&gt;Center aligned&lt;/th&gt;
          &lt;th style=&quot;text-align: right&quot;&gt;Right aligned&lt;/th&gt;
        &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
        &lt;tr&gt;
          &lt;td&gt;First body part&lt;/td&gt;
          &lt;td style=&quot;text-align: left&quot;&gt;Second cell&lt;/td&gt;
          &lt;td style=&quot;text-align: center&quot;&gt;Third cell&lt;/td&gt;
          &lt;td style=&quot;text-align: right&quot;&gt;fourth cell&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;td&gt;Second line&lt;/td&gt;
          &lt;td style=&quot;text-align: left&quot;&gt;foo&lt;/td&gt;
          &lt;td style=&quot;text-align: center&quot;&gt;&lt;strong&gt;strong&lt;/strong&gt;&lt;/td&gt;
          &lt;td style=&quot;text-align: right&quot;&gt;baz&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;td&gt;Third line&lt;/td&gt;
          &lt;td style=&quot;text-align: left&quot;&gt;quux&lt;/td&gt;
          &lt;td style=&quot;text-align: center&quot;&gt;baz&lt;/td&gt;
          &lt;td style=&quot;text-align: right&quot;&gt;bar&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;td&gt;Footer row&lt;/td&gt;
          &lt;td style=&quot;text-align: left&quot;&gt; &lt;/td&gt;
          &lt;td style=&quot;text-align: center&quot;&gt; &lt;/td&gt;
          &lt;td style=&quot;text-align: right&quot;&gt; &lt;/td&gt;
        &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;heading-horizontal-rules&quot;&gt;Horizontal Rules&lt;/h2&gt;

&lt;hr /&gt;

&lt;hr /&gt;

&lt;hr /&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;heading-images&quot;&gt;Images&lt;/h2&gt;

&lt;p&gt;Here comes an image!&lt;/p&gt;

&lt;p&gt;&lt;a class=&quot;post-image&quot; href=&quot;https://kramdown.gettalong.org/overview.png&quot;&gt;
&lt;img itemprop=&quot;image&quot; data-src=&quot;https://kramdown.gettalong.org/overview.png&quot; src=&quot;/assets/javascripts/unveil/loader.gif&quot; alt=&quot;Kramdown Overview&quot; /&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;div class=&quot;footnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:1&quot;&gt;
      &lt;p&gt;This is a footnote. &lt;a href=&quot;#fnref:1&quot; class=&quot;reversefootnote&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;</content><author><name>Sunny Cao</name><email>sunniecyq@163.com</email></author><category term="demo" /><category term="jekyll" /><summary type="html">This is kramdown formatting test page for Simple Texture theme.</summary></entry><entry><title type="html">Hello World!</title><link href="http://sunnieeee.github.io/blog/1999/12/09/hello-world/" rel="alternate" type="text/html" title="Hello World!" /><published>1999-12-09T00:00:00+00:00</published><updated>1999-12-09T00:00:00+00:00</updated><id>http://sunnieeee.github.io/blog/1999/12/09/hello-world</id><content type="html" xml:base="http://sunnieeee.github.io/blog/1999/12/09/hello-world/">&lt;p&gt;Hello World! This is the beginning of this theme.&lt;/p&gt;</content><author><name>Sunny Cao</name><email>sunniecyq@163.com</email></author><category term="random" /><category term="jekyll" /><summary type="html">Hello World! This is the beginning of this theme.</summary></entry></feed>