<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>文章 on Simplestory</title><link>https://simplestory.github.io/posts/</link><description>Recent content in 文章 on Simplestory</description><generator>Hugo</generator><language>zh-cn</language><copyright>Simplestory</copyright><lastBuildDate>Sat, 17 Aug 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://simplestory.github.io/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>DDIM</title><link>https://simplestory.github.io/posts/20240817_d9d0d187039bec56d5fc1024c51a882c/</link><pubDate>Sat, 17 Aug 2024 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20240817_d9d0d187039bec56d5fc1024c51a882c/</guid><description>Denoising Diffusion Implicit Models</description></item><item><title>DDPM</title><link>https://simplestory.github.io/posts/20240817_60a1868ea6b6f7b05126264f9d212a9c/</link><pubDate>Sat, 17 Aug 2024 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20240817_60a1868ea6b6f7b05126264f9d212a9c/</guid><description>Denoising Diffusion Probabilistic Models</description></item><item><title>LDM</title><link>https://simplestory.github.io/posts/20240817_86b1d339bba4e0c154df43f21e99fe50/</link><pubDate>Sat, 17 Aug 2024 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20240817_86b1d339bba4e0c154df43f21e99fe50/</guid><description>Latent Diffusion Models</description></item><item><title>GAN</title><link>https://simplestory.github.io/posts/20240811_787700a547309b9912534d7c3540b79b/</link><pubDate>Sun, 11 Aug 2024 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20240811_787700a547309b9912534d7c3540b79b/</guid><description>Generative Adversarial Network</description></item><item><title>VAE</title><link>https://simplestory.github.io/posts/20240811_a9423d60164f001a6715546c56c77154/</link><pubDate>Sun, 11 Aug 2024 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20240811_a9423d60164f001a6715546c56c77154/</guid><description>Varitional Autoencoder</description></item><item><title>VQ-GAN</title><link>https://simplestory.github.io/posts/20240811_f09978b03d9ad93516b6003551892ddc/</link><pubDate>Sun, 11 Aug 2024 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20240811_f09978b03d9ad93516b6003551892ddc/</guid><description>Vector Quantized Generative Adversarial Network</description></item><item><title>VQ-VAE</title><link>https://simplestory.github.io/posts/20240811_520db3fb8aba368d31c1f3e5e9fbd8ba/</link><pubDate>Sun, 11 Aug 2024 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20240811_520db3fb8aba368d31c1f3e5e9fbd8ba/</guid><description>Vector Quantised Variational AutoEncoder</description></item><item><title>LSS</title><link>https://simplestory.github.io/posts/20230624_593a3023b826e242be5651751b69d09e/</link><pubDate>Sat, 24 Jun 2023 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20230624_593a3023b826e242be5651751b69d09e/</guid><description>Lift, Splat, Shoot</description></item><item><title>MonoRCNN</title><link>https://simplestory.github.io/posts/20230623_f25271ca7acc8b883a6ebeba1a0b263d/</link><pubDate>Fri, 23 Jun 2023 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20230623_f25271ca7acc8b883a6ebeba1a0b263d/</guid><description>&lt;p&gt;单目3D检测在自动驾驶领域是一个重要且充满挑战的任务，目前的难点是如何准确对目标深度进行预测。MonoRCNN利用几何关系将深度估计问题解耦为目标实际高度和在图像上的投影高度问题。&lt;/p&gt;</description></item><item><title>YOLOStereo3D</title><link>https://simplestory.github.io/posts/20230623_e5106aece831780fe8decad391998e6a/</link><pubDate>Fri, 23 Jun 2023 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20230623_e5106aece831780fe8decad391998e6a/</guid><description>&lt;p&gt;在2D实时目标检测框架yolo上引入一个轻量级立体匹配模块来实现高效的3D物体检测。大致结构如下图：&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" src="https://simplestory-blog-img.oss-cn-guangzhou.aliyuncs.com/in_posts/20230623/yolostereo3d_architecture.png" title="yolostereo3d_architecture"&gt;&lt;/p&gt;
&lt;h2 id="anchors"&gt;Anchors&lt;/h2&gt;
&lt;p&gt;对于3D目标检测，原本yolo针对2D物体的anchors需要重新设计，作者采用了12个参数来表示一个anchor：&lt;/p&gt;</description></item><item><title>VoxelNet和SECOND</title><link>https://simplestory.github.io/posts/20230305_f73b955eec390396d75e03ababcc4909/</link><pubDate>Sun, 05 Mar 2023 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20230305_f73b955eec390396d75e03ababcc4909/</guid><description>&lt;p&gt;点云有着分布上稀疏、结构上不规则、几何上无序的特性，所以直接在点云上使用卷积操作可能会导致生成的特征极度地偏离它原本的表达。&lt;/p&gt;
&lt;h1 id="voxelnet"&gt;VoxelNet&lt;/h1&gt;
&lt;p&gt;该模型是对点云进行体素化，然后利用3D卷积来获取特征。具体是：&lt;/p&gt;</description></item><item><title>Stereo RCNN</title><link>https://simplestory.github.io/posts/20230127_2a9bce23520b48c68e00a87aa00aa611/</link><pubDate>Fri, 27 Jan 2023 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20230127_2a9bce23520b48c68e00a87aa00aa611/</guid><description>&lt;blockquote&gt;
&lt;p&gt;该网络通过双目视觉来实现3D目标检测，属于3D detection中image based的result-lifting方法，这类方法就是将3D检测分解为2D object detection和depth estimation这两部分。&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>OTA</title><link>https://simplestory.github.io/posts/20221006_1087bec7ef12911010976d203f36fd7f/</link><pubDate>Thu, 06 Oct 2022 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20221006_1087bec7ef12911010976d203f36fd7f/</guid><description>目标检测中的标签分配问题</description></item><item><title>PointNet系列</title><link>https://simplestory.github.io/posts/20210807_1c4ff5cd7d69cb58295eab75872ba2fd/</link><pubDate>Sat, 07 Aug 2021 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20210807_1c4ff5cd7d69cb58295eab75872ba2fd/</guid><description>&lt;blockquote&gt;
&lt;p&gt;PointNet、PointNet++和Frustum PointNet。常用的3D点云目标检测。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="pointnet"&gt;PointNet&lt;/h2&gt;
&lt;p&gt;PointNet将深度学习直接应用于点云数据。点云数据是欧式空间下的点的一个子集，有无序性、点与点的空间关系以及不变性这三个性质。&lt;/p&gt;</description></item><item><title>Multi-View 3D Object Detection Network</title><link>https://simplestory.github.io/posts/20210806_8e5f2ccbcaba22801139e42b929ed820/</link><pubDate>Fri, 06 Aug 2021 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20210806_8e5f2ccbcaba22801139e42b929ed820/</guid><description>MV3D</description></item><item><title>SORT和DeepSORT</title><link>https://simplestory.github.io/posts/20210805_59094eb979620e0e11f92ffaa71cf228/</link><pubDate>Thu, 05 Aug 2021 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20210805_59094eb979620e0e11f92ffaa71cf228/</guid><description>&lt;blockquote&gt;
&lt;p&gt;当前工业界常用的多目标跟踪框架。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="sort"&gt;SORT&lt;/h2&gt;
&lt;p&gt;该算法基于目标检测网络（Faster Rcnn），并利用卡尔曼滤波和匈牙利算法（或KM算法），极大地提高了多目标跟踪的速度。大致流程如下：&lt;/p&gt;</description></item><item><title>Dynamic Head</title><link>https://simplestory.github.io/posts/20210804_697dd2d087a31ba4aab4ff575bde80be/</link><pubDate>Wed, 04 Aug 2021 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20210804_697dd2d087a31ba4aab4ff575bde80be/</guid><description>动态网络头</description></item><item><title>动态卷积与动态ReLU</title><link>https://simplestory.github.io/posts/20210803_2d8c6e5a2f995c3808422afc8967c85e/</link><pubDate>Tue, 03 Aug 2021 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20210803_2d8c6e5a2f995c3808422afc8967c85e/</guid><description>&lt;blockquote&gt;
&lt;p&gt;让它动起来。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="dynamic-convolution"&gt;Dynamic Convolution&lt;/h2&gt;
&lt;p&gt;一般的静态卷积用同一个卷积核对所有输入图像做相同的操作，而动态卷积会对不同的图像做调整，用更适合的卷积参数进行处理，这样可以在不增加网络深度或宽度的情况下增加模型的表达能力。&lt;/p&gt;</description></item><item><title>CRF及其在分割领域上的应用</title><link>https://simplestory.github.io/posts/20210516_5df2f4dc23f490c5d68321fa51cabc59/</link><pubDate>Sun, 16 May 2021 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20210516_5df2f4dc23f490c5d68321fa51cabc59/</guid><description>条件随机场</description></item><item><title>图像分割基础网络</title><link>https://simplestory.github.io/posts/20210430_b30ab79aff271e301dde9ca18c2e8085/</link><pubDate>Fri, 30 Apr 2021 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20210430_b30ab79aff271e301dde9ca18c2e8085/</guid><description>&lt;blockquote&gt;
&lt;p&gt;图像分割是对图像进行像素级的分类，主要有语义分割(Semantic Segmentation)和实例分割(Instance Segmentation)。语义分割只要求做到像素层面的分割，而实例分割要求在语义分割的基础上实现对不同个体的分割。这篇文章主要简单介绍几种基础的语义分割网络。&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Object Detection</title><link>https://simplestory.github.io/posts/20201120_0595a0de31914bca4c526fb50d30b2dd/</link><pubDate>Fri, 20 Nov 2020 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20201120_0595a0de31914bca4c526fb50d30b2dd/</guid><description>Object Detection in 20 Years</description></item><item><title>Anchor free--Centernet</title><link>https://simplestory.github.io/posts/20201025_93f382c06f3476ad1f59351e0d99f842/</link><pubDate>Sun, 25 Oct 2020 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20201025_93f382c06f3476ad1f59351e0d99f842/</guid><description>Objects as Points</description></item><item><title>一些常见的损失函数</title><link>https://simplestory.github.io/posts/20201018_25c3043509dadf35f8ecc40adf5a369c/</link><pubDate>Sun, 18 Oct 2020 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20201018_25c3043509dadf35f8ecc40adf5a369c/</guid><description>some loss function</description></item><item><title>Efficient模型家族</title><link>https://simplestory.github.io/posts/20201003_fc3691951ecd38cc130a442bcc0566ed/</link><pubDate>Sat, 03 Oct 2020 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20201003_fc3691951ecd38cc130a442bcc0566ed/</guid><description>EfficientX basic family</description></item><item><title>几种IOU损失</title><link>https://simplestory.github.io/posts/20200926_ffb198e96e96a613e471e2f2eb1ae86c/</link><pubDate>Sat, 26 Sep 2020 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20200926_ffb198e96e96a613e471e2f2eb1ae86c/</guid><description>&lt;blockquote&gt;
&lt;p&gt;IoU是目标检测里的一个重要指标，它是通过计算预测框与真实框的交集和并集的比值来衡量预测框的优劣。但通常的预测框调整函数一般采用的是L2范数，即以MSE的方式来计算损失，而目前来看，一些研究表明这并非最优的优化函数，所以就有了IOU损失函数。&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>MobileNetV2</title><link>https://simplestory.github.io/posts/20200426_02a6a4457d33491491495f7fe2b383d1/</link><pubDate>Sun, 26 Apr 2020 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20200426_02a6a4457d33491491495f7fe2b383d1/</guid><description>Inverted Residuals and Linear Bottlenecks</description></item><item><title>Mask RCNN</title><link>https://simplestory.github.io/posts/20200210_ba14ebd4efe67efd08cdc6410e758633/</link><pubDate>Mon, 10 Feb 2020 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20200210_ba14ebd4efe67efd08cdc6410e758633/</guid><description>without bells and whistles</description></item><item><title>YOLO_v3</title><link>https://simplestory.github.io/posts/20200115_1789a504337212c61f0b46c458695b7c/</link><pubDate>Fri, 17 Jan 2020 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20200115_1789a504337212c61f0b46c458695b7c/</guid><description>An Incremental Improvement</description></item><item><title>YOLO_v2 and YOLO9000</title><link>https://simplestory.github.io/posts/20200110_aa4020065e766e48007d2b3ae229757d/</link><pubDate>Fri, 10 Jan 2020 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20200110_aa4020065e766e48007d2b3ae229757d/</guid><description>Better, Faster, Stronger</description></item><item><title>YOLO_v1</title><link>https://simplestory.github.io/posts/20200101_83ba412c3f5a7a54968bf73cc917cd13/</link><pubDate>Wed, 01 Jan 2020 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20200101_83ba412c3f5a7a54968bf73cc917cd13/</guid><description>You Only Look Once</description></item><item><title>SSD</title><link>https://simplestory.github.io/posts/20191003_34df20bab5e85dc75bfc94ef569cced9/</link><pubDate>Thu, 03 Oct 2019 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20191003_34df20bab5e85dc75bfc94ef569cced9/</guid><description>Single Shot MultiBox Detector</description></item><item><title>Faster RCNN</title><link>https://simplestory.github.io/posts/20190922_5e8040095d43e97ccedd09771f9eab38/</link><pubDate>Sun, 22 Sep 2019 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20190922_5e8040095d43e97ccedd09771f9eab38/</guid><description>目标检测识别算法</description></item><item><title>Fast RCNN</title><link>https://simplestory.github.io/posts/20190921_817fe11366b1149fdc44a5a4c92685c4/</link><pubDate>Sat, 21 Sep 2019 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20190921_817fe11366b1149fdc44a5a4c92685c4/</guid><description>经典目标检测识别算法</description></item><item><title>RCNN</title><link>https://simplestory.github.io/posts/20190919_13243638926ee79bc7810c80a460408c/</link><pubDate>Thu, 19 Sep 2019 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20190919_13243638926ee79bc7810c80a460408c/</guid><description>经典目标检测识别算法</description></item><item><title>ResNet</title><link>https://simplestory.github.io/posts/20190910_cefb8aa8290a0b4cfddf3f88bf5a2a3c/</link><pubDate>Tue, 10 Sep 2019 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20190910_cefb8aa8290a0b4cfddf3f88bf5a2a3c/</guid><description>&lt;blockquote&gt;
&lt;p&gt;首先祝所有教师节日快乐，感谢你们赠人玫瑰手留余香的奉献精神。然后时隔将近一个月，我又滚回来更新博客了，之前一直在忙着入职这件事，希望能尽快融入公司开发业务中而”忙碌“了一个月。接下来继续经典图像识别网络模型的介绍。上文我们已经介绍了AlexNet和VGG网络，这两个网络都将当时的神经网络的深度发挥到了极致，后续的神经网络模型性能基本上好不了多少。这是由于随着网络的加深，在误差后向传播时，靠前的网络层权重基本得不到更新，一直维持在某一个值附近。在2015年，何凯明大神提出了一种快捷连接方式将误差传播到了前面的网络层，很大程度上提高了网络的性能。下面简单解析一下ResNet网络。&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>区分几种归一化算法</title><link>https://simplestory.github.io/posts/20190811_58bd041ca5bf7b009cdc8d07392dc061/</link><pubDate>Sun, 11 Aug 2019 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20190811_58bd041ca5bf7b009cdc8d07392dc061/</guid><description>&lt;blockquote&gt;
&lt;p&gt;神经网络已经有几个归一化算法了，它们长得都很相似，基本上都有统一的形式。本文参考了知乎专栏SIGAI关于归一化算法的文章，具体链接在文章底部。&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>VGG</title><link>https://simplestory.github.io/posts/20190730_1036fd1af9bc59d1a811b4e2ab23d60c/</link><pubDate>Tue, 30 Jul 2019 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20190730_1036fd1af9bc59d1a811b4e2ab23d60c/</guid><description>经典的卷积神经网络</description></item><item><title>AlexNet</title><link>https://simplestory.github.io/posts/20190722_cdebdc3cc4ecd47a04cff48d03a688d3/</link><pubDate>Mon, 22 Jul 2019 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20190722_cdebdc3cc4ecd47a04cff48d03a688d3/</guid><description>经典的卷积神经网络</description></item><item><title>LightGBM模型</title><link>https://simplestory.github.io/posts/20190324_161af8745042398050ad585874c3eec3/</link><pubDate>Sun, 24 Mar 2019 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20190324_161af8745042398050ad585874c3eec3/</guid><description>A Highly Efficient Gradient Boosting Decision Tree</description></item><item><title>Xgboost模型</title><link>https://simplestory.github.io/posts/20190317_8fc39e31f30337e40756914df1f8b607/</link><pubDate>Sun, 17 Mar 2019 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20190317_8fc39e31f30337e40756914df1f8b607/</guid><description>A Scalabe Tree Boosting Systeam</description></item><item><title>深度学习优化</title><link>https://simplestory.github.io/posts/20181103_7b202c9a380844d1b8ae2c4f5ee3461f/</link><pubDate>Sat, 03 Nov 2018 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20181103_7b202c9a380844d1b8ae2c4f5ee3461f/</guid><description>&lt;blockquote&gt;
&lt;p&gt;最优化是一个十分困难的问题，通常要精心设计一个目标函数及相关约束，同时还要确保所要优化的问题为凸函数，但现实中的问题大多为非凸函数，针对非凸优化问题，这里有一些基本的优化方法：SGD、Momentum、AdaGrad、RMSProp及Adam等&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>FFM模型原理</title><link>https://simplestory.github.io/posts/20181028_fa81994273e28bed9a6b443a7af7f69e/</link><pubDate>Sun, 28 Oct 2018 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20181028_fa81994273e28bed9a6b443a7af7f69e/</guid><description>&lt;blockquote&gt;
&lt;p&gt;CTR(点击率)预测在内容推荐投放中有着重要地位，而FFM模型擅长于处理这方面的数据，FFM模型是FM模型的变种，或者说FM模型是FFM模型的特例&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>决策树</title><link>https://simplestory.github.io/posts/20180829_3cb42cd7fd688b586f483bd682fc8209/</link><pubDate>Wed, 29 Aug 2018 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20180829_3cb42cd7fd688b586f483bd682fc8209/</guid><description>&lt;blockquote&gt;
&lt;p&gt;决策树，一种常见的机器学习方法，有种类似于流程图那样的。就是对一个样本按其某个特征的取值将其划分到一个集合中，并递归下去&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h1 id="基本算法"&gt;基本算法&lt;/h1&gt;
&lt;p&gt;Input: 训练集$D=\\{(\mathbf{x_1},y_1),(\mathbf{x_2},y_2),...,(\mathbf{x_m},y_m)\\}$;
属性集$A=\\{a_1,a_2,...,a_d\\}$&lt;/p&gt;</description></item><item><title>Scikit-learn调包合集</title><link>https://simplestory.github.io/posts/20180826_8cb44c1627565d8ede47d43e49e9c8ae/</link><pubDate>Sun, 26 Aug 2018 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20180826_8cb44c1627565d8ede47d43e49e9c8ae/</guid><description>&lt;blockquote&gt;
&lt;p&gt;这次整理一下常用的scikit-learn包，作为备忘&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;K近邻算法：&lt;/p&gt;
&lt;p&gt;&lt;a href="http://scikit-learn.org/stable/modules/generated/sklearn.neighbors.KNeighborsClassifier.html"&gt;from sklearn.neighbors import KNeighborsClassifier&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;线性回归：&lt;/p&gt;
&lt;p&gt;&lt;a href="http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LinearRegression.html"&gt;from sklearn.linear_model import LinearRegression&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;逻辑回归：&lt;/p&gt;
&lt;p&gt;&lt;a href="http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html"&gt;from sklearn.linear_model import LogisticRgression&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;决策树：&lt;/p&gt;
&lt;p&gt;&lt;a href="http://scikit-learn.org/stable/modules/generated/sklearn.tree.DecisionTreeClassifier.html"&gt;from sklearn.tree import DecisionTreeClassifier&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;朴素贝叶斯：&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;高斯分布：&lt;a href="http://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.GaussianNB.html"&gt;from sklearn.neive_bayes import GaussianNB&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;多项式分布：&lt;a href="http://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.MultinomialNB.html#sklearn.naive_bayes.MultinomialNB"&gt;from sklearn.neive_baybes import MultinomnalNB&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;伯努利分布：&lt;a href="http://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.BernoulliNB.html#sklearn.naive_bayes.BernoulliNB"&gt;from sklearn.neive_baybes import BernoulliNB&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;支持向量机：&lt;/p&gt;</description></item><item><title>贝叶斯分类</title><link>https://simplestory.github.io/posts/20180819_72c962ee57eaf5ebe2b4645dd6827ce3/</link><pubDate>Sun, 19 Aug 2018 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20180819_72c962ee57eaf5ebe2b4645dd6827ce3/</guid><description>&lt;blockquote&gt;
&lt;p&gt;贝叶斯决策论考虑的是如何基于相关的概率和误判损失来选择最优的类别标记&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;假设有N种可能的类别标记，即$\mathbf{y}=\\{c_1,c_2,...,c_N\\}$，$\lambda_{ij}$是将一个真实标记为$c_j$的样本误分类为$c_i$所产生的损失。基于后验概率$P(c_i\vert\mathbf{x})$可获得将样本$\mathbf{x}$分类为$c_i$所产生的期望损失，即在样本$\mathbf{x}$上的“条件风险”：&lt;/p&gt;</description></item><item><title>SVM支持向量机</title><link>https://simplestory.github.io/posts/20180816_7ed73172fd758adf99c76ebc108ea063/</link><pubDate>Thu, 16 Aug 2018 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20180816_7ed73172fd758adf99c76ebc108ea063/</guid><description>&lt;blockquote&gt;
&lt;p&gt;SVM是机器学习里面一个非常重要的模型，它是由统计学习理论之父弗拉基米尔·瓦普尼克提出的&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;本文以SVM二分类为例&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="推导过程"&gt;推导过程&lt;/h2&gt;
&lt;p&gt;给定训练数据集$D=\\{(\mathbf{x_1},y_1),(\mathbf{x_2},y_2),...,(\mathbf{x_m},y_m)\\}, y_i \in \\{-1, +1\\}$，分类器最基本的想法就是基于训练集D在样本空间中找到一个划分空间，将不同类别的样本分开。划分超平面可用如下的线性方程描述：&lt;/p&gt;</description></item><item><title>线性回归和Logistic回归</title><link>https://simplestory.github.io/posts/20180813_135c495c1e86bceb067f1bc3135c278b/</link><pubDate>Mon, 13 Aug 2018 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20180813_135c495c1e86bceb067f1bc3135c278b/</guid><description>&lt;blockquote&gt;
&lt;p&gt;好久没更博客了，停了大半年，也看了大半年的机器学习和深度学习方面的书籍，现在是时候输出一下了&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h1 id="线性回归"&gt;线性回归&lt;/h1&gt;
&lt;p&gt;给定数据集$D=\\{(\mathbf{x_1},y_1),(\mathbf{x_2},y_2),...,(\mathbf{x_m},y_m)\\}$，其中$\mathbf{x_i}=(x_{i1};x_{i2};...;x_{id}), \ y_{i} \in R$. 线性回归试图学得一个线性模型&lt;/p&gt;</description></item><item><title>g++与gdb使用</title><link>https://simplestory.github.io/posts/20180302_5ed219da904f7b6718ebebb4c8b47d3c/</link><pubDate>Fri, 02 Mar 2018 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20180302_5ed219da904f7b6718ebebb4c8b47d3c/</guid><description>&lt;blockquote&gt;
&lt;p&gt;G++是Unix/Linux下C++的编译器，gdb则是Unix/Linux下有力的调试工具。大多数时候，我们编写的C/C++代码并不是运行在Windows上，而是在Linux系统上跑。这里我记录了一些有关于g++和gdb的一些使用方法以备不时之需。&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Ubuntu配置Django</title><link>https://simplestory.github.io/posts/20180219_c851e812699d1207837d404c0af593ce/</link><pubDate>Mon, 19 Feb 2018 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20180219_c851e812699d1207837d404c0af593ce/</guid><description>&lt;blockquote&gt;
&lt;p&gt;2018新春之际，鬼知道我经历了些什么，在大年初四推博文。Django其实是在新年前配置好的，当时刚好学到了python做web开发方面的知识就顺手配置了。&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Linux配置Tensorflow</title><link>https://simplestory.github.io/posts/20180204_68b9e972b5a534bc31d12d9be53b57ec/</link><pubDate>Sun, 04 Feb 2018 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20180204_68b9e972b5a534bc31d12d9be53b57ec/</guid><description>&lt;blockquote&gt;
&lt;p&gt;套用&lt;a href="http://www.tensorfly.cn/"&gt;TensorFlow中文社区&lt;/a&gt;的一句话：TensorFlow，一个用于人工智能的开源神器。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;配置使用环境&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;系统：Ubuntu16.04(LTS)&lt;/li&gt;
&lt;li&gt;python版本：python3.6（使用Anaconda建立虚拟环境）&lt;/li&gt;
&lt;li&gt;Nvidia卡：Geforce 920M（如果没有Nvidia卡，则只能安装CPU版本）&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="tensorflow安装"&gt;Tensorflow安装&lt;/h1&gt;
&lt;p&gt;tensorflow分为两个CPU/GPU两个版本，我建立了两个python虚拟环境，分别安装了这两个版本。在此记录一下安装的痛苦过程&lt;/p&gt;</description></item><item><title>Linux渗透测试命令</title><link>https://simplestory.github.io/posts/20180120_3e2c28e497c306d34f88081093e32c89/</link><pubDate>Sat, 20 Jan 2018 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20180120_3e2c28e497c306d34f88081093e32c89/</guid><description>&lt;blockquote&gt;
&lt;p&gt;以下是Linux机器的渗透测试备忘录，我无意间在网上看到的，便搬运到这边。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="linux机器渗透测试"&gt;Linux机器渗透测试&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="text-align:left"&gt;命令&lt;/th&gt;
&lt;th style="text-align:left"&gt;描述&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;netstat -tulpn&lt;/td&gt;
&lt;td style="text-align:left"&gt;在Linux中显示对应于ID（PID）的网络端口&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;watch ss -stplu&lt;/td&gt;
&lt;td style="text-align:left"&gt;通过套接字实时观察TCP，UDP端口&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;lsof -i&lt;/td&gt;
&lt;td style="text-align:left"&gt;显示确认了的连接&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;macchanger -m MACADDR INTR&lt;/td&gt;
&lt;td style="text-align:left"&gt;在KALI Linux上修改MAC地址&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;ifconfig eth0 192.168.2.1/24&lt;/td&gt;
&lt;td style="text-align:left"&gt;在Linux中设置ID地址&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;ifconfig eth0:192.168.2.3/24&lt;/td&gt;
&lt;td style="text-align:left"&gt;在Linux中向现有的网络接口添加IP地址&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;ifconfig eth0 hw ether MAC ADDR&lt;/td&gt;
&lt;td style="text-align:left"&gt;使用ifconfig修改Linux中的地址&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;ifconfig eth0 mtu 1500&lt;/td&gt;
&lt;td style="text-align:left"&gt;使用ifconfig修改MTU的大小，将1500改为想要的MTU&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;dig -x 192.168.1.1&lt;/td&gt;
&lt;td style="text-align:left"&gt;对IP地址进行反向查找&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;host 192.168.1.1&lt;/td&gt;
&lt;td style="text-align:left"&gt;在一个IP地址上进行反向查找，适用于没有安装dig的情况&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;dig @192.168.2.2 domain.com -t AXFR&lt;/td&gt;
&lt;td style="text-align:left"&gt;使用dig执行一次DNS区域传输&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;host -l domain.com nameserver&lt;/td&gt;
&lt;td style="text-align:left"&gt;使用host执行一次DNS区域传输&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;nbtstat -A x.x.x.x&lt;/td&gt;
&lt;td style="text-align:left"&gt;获取IP地址对应的域名&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;ip addr add 192.168.2.22/24 dev eth0&lt;/td&gt;
&lt;td style="text-align:left"&gt;添加一个隐藏的IP地址，执行ifconfig时不会显示这个IP地址&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;tcpkill -9 host goole.com&lt;/td&gt;
&lt;td style="text-align:left"&gt;阻止从主机访问goole.com&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;echo &amp;quot;1&amp;quot;&amp;gt;/proc/sys/net/ipv4/ip_forward&lt;/td&gt;
&lt;td style="text-align:left"&gt;启用IP转发，将Linux盒子变成一个路由器——这样就方便通过这个盒子进行路由流量的控制&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left"&gt;echo &amp;quot;8.8.8.8&amp;quot;&amp;gt;/etc/resolv.conf&lt;/td&gt;
&lt;td style="text-align:left"&gt;使用Goole的DNS&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="系统信息命令"&gt;系统信息命令&lt;/h2&gt;
&lt;p&gt;对于本地的枚举检查有很大的帮助&lt;/p&gt;</description></item><item><title>Linux下的MySQL数据文件路径</title><link>https://simplestory.github.io/posts/20171201_7eec743fae4833726b0d923cf6db1da6/</link><pubDate>Fri, 01 Dec 2017 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20171201_7eec743fae4833726b0d923cf6db1da6/</guid><description>&lt;p&gt;&lt;strong&gt;Server version: 5.7.20-0ubuntu0.16.04.1 (Ubuntu)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;进入Mysql后,可用如下命令查询相关文件的储存路径:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sql" data-lang="sql"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;show&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;variables&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;like&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;%dir%&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;输出如下图:&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" src="https://simplestory-blog-img.oss-cn-guangzhou.aliyuncs.com/in_posts/20171201/mysql.png" title="mysql"&gt;&lt;/p&gt;
&lt;p&gt;通常有:
数据库文件默认位置为: &lt;code&gt;/usr/share/mysql/&lt;/code&gt;
配置文件: &lt;code&gt;/etc/mysql/my.cnf&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;数据库目录: &lt;code&gt;/var/lib/mysql&lt;/code&gt;
配置文件: &lt;code&gt;/etc/share/mysql&lt;/code&gt;(mysql.server命令及配置文件)
mysql相关命令: &lt;code&gt;/usr/bin&lt;/code&gt;
启动脚本: &lt;code&gt;/etc/init.d/&lt;/code&gt;&lt;/p&gt;</description></item><item><title>Linux一些命令</title><link>https://simplestory.github.io/posts/20171107_619e2d5ba49593e40e16667bafdcf2c1/</link><pubDate>Tue, 07 Nov 2017 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20171107_619e2d5ba49593e40e16667bafdcf2c1/</guid><description>一些鲜为人知的Linux命令</description></item><item><title>Opencv实现汽车违规检测识别</title><link>https://simplestory.github.io/posts/20171104_bb6e9cb8623b3bf044c62bbbca472d53/</link><pubDate>Sun, 05 Nov 2017 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20171104_bb6e9cb8623b3bf044c62bbbca472d53/</guid><description>&lt;blockquote&gt;
&lt;p&gt;Opencv包含了超过2500个函数，几乎任何一个能想到的成熟算法都可以通过调用Opencv的函数来实现，超级方便。这篇博文结合了Python与Opencv来实现在监控视频中识别汽车并检测其是否违规（压双黄线）。&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Linux下安装OpenCV</title><link>https://simplestory.github.io/posts/20171020_df3860e05b3ca04bdc2f774c5c1914fd/</link><pubDate>Fri, 20 Oct 2017 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20171020_df3860e05b3ca04bdc2f774c5c1914fd/</guid><description>&lt;blockquote&gt;
&lt;p&gt;近期由于项目需要，要用到计算机视觉识别，所以折腾起了OpenCV，虽然安装过程曲折漫长，但是配合Python使用起来体验还是相当不错的。在此记录OpenCV安装编译过程。&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Vscode下编译C/C++</title><link>https://simplestory.github.io/posts/20171001_f9fd02f8e181115a55cec2936857675c/</link><pubDate>Sun, 01 Oct 2017 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20171001_f9fd02f8e181115a55cec2936857675c/</guid><description>&lt;blockquote&gt;
&lt;p&gt;Visual Studio Code是微软推出的一款轻量型编辑器,通过安装各种插件可以转变成一款强大的多语言,跨平台的编译器.近日,由于实践需要,需要在调试一些C/C++代码,于是折腾起Vscode,以下是记录折腾过程中困扰着我的问题.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Python的类</title><link>https://simplestory.github.io/posts/20170820_7cb802827b60ef8c770d824ec28a65a0/</link><pubDate>Sun, 20 Aug 2017 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20170820_7cb802827b60ef8c770d824ec28a65a0/</guid><description>人生苦短，我用Python</description></item><item><title>Python，面向对象</title><link>https://simplestory.github.io/posts/20170810_3193456a2ce85ef1e01f5a219b37cebd/</link><pubDate>Thu, 10 Aug 2017 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20170810_3193456a2ce85ef1e01f5a219b37cebd/</guid><description>人生苦短，我用Python</description></item><item><title>GIT使用基础教程</title><link>https://simplestory.github.io/posts/20170704_497c40137cedefb55b1afe3bd1e6b13f/</link><pubDate>Tue, 04 Jul 2017 00:00:00 +0000</pubDate><guid>https://simplestory.github.io/posts/20170704_497c40137cedefb55b1afe3bd1e6b13f/</guid><description>Git的一些基本操作</description></item></channel></rss>