-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathatom.xml
166 lines (98 loc) · 24.3 KB
/
atom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>HiBoBBy技术博客</title>
<link href="http://hibobby.github.io/atom.xml" rel="self"/>
<link href="http://hibobby.github.io/"/>
<updated>2023-11-24T08:06:27.046Z</updated>
<id>http://hibobby.github.io/</id>
<author>
<name>HiBobby</name>
</author>
<generator uri="https://hexo.io/">Hexo</generator>
<entry>
<title>test</title>
<link href="http://hibobby.github.io/2023/11/24/test/"/>
<id>http://hibobby.github.io/2023/11/24/test/</id>
<published>2023-11-24T08:06:14.000Z</published>
<updated>2023-11-24T08:06:27.046Z</updated>
<content type="html"><![CDATA[<p>测试部署</p>]]></content>
<summary type="html"><p>测试部署</p>
</summary>
</entry>
<entry>
<title>C#利用正则和反射给对象赋值</title>
<link href="http://hibobby.github.io/2017/11/18/CSharpRegexAndPropertySetValue/"/>
<id>http://hibobby.github.io/2017/11/18/CSharpRegexAndPropertySetValue/</id>
<published>2017-11-18T09:02:00.000Z</published>
<updated>2023-11-24T07:54:25.181Z</updated>
<content type="html"><\n{0,1}"</span>);</span><br><span class="line"> MatchCollection mc = rgRCfg.Matches(rgCfg);</span><br><span class="line"></span><br><span class="line"> <span class="keyword">foreach</span> (Match m <span class="keyword">in</span> mc)</span><br><span class="line"> {</span><br><span class="line"> <span class="built_in">string</span> key = m.Groups[<span class="number">1</span>].ToString();</span><br><span class="line"> <span class="built_in">string</span> <span class="keyword">value</span> = m.Groups[<span class="number">2</span>].ToString();</span><br><span class="line"></span><br><span class="line"> <span class="comment">// 利用反射赋值</span></span><br><span class="line"> <span class="keyword">var</span> property = rConfig.GetType().GetProperty(key);</span><br><span class="line"> <span class="keyword">if</span> (property != <span class="literal">null</span>) property.SetValue(rConfig, <span class="keyword">value</span>);</span><br><span class="line"> }</span><br><span class="line"></span><br><span class="line"> <span class="keyword">return</span> rConfig;</span><br><span class="line">}</span><br></pre></td></tr></table></figure><p>运行结果:<br><img src="/assets/blogImg/csharpRegex.png" alt="运行结果"></p>]]></content>
<summary type="html"><p>如果类中的成员过多,一个属性一个属性的赋值太过繁琐,C#中可以利用反射给对象赋值。<br> <br>我们如果想利用凡是给一个对象属性赋值可以通过 <code>PropertyInfo.SetValue(object obj, object value)</code> 方式进行赋值。</p></summary>
<category term="编程" scheme="http://hibobby.github.io/tags/%E7%BC%96%E7%A8%8B/"/>
<category term="C#" scheme="http://hibobby.github.io/tags/C/"/>
<category term="代码片段" scheme="http://hibobby.github.io/tags/%E4%BB%A3%E7%A0%81%E7%89%87%E6%AE%B5/"/>
</entry>
<entry>
<title>机器学习笔记</title>
<link href="http://hibobby.github.io/2017/04/10/MachineLearningNote/"/>
<id>http://hibobby.github.io/2017/04/10/MachineLearningNote/</id>
<published>2017-04-10T09:15:25.000Z</published>
<updated>2023-11-24T07:54:25.182Z</updated>
<content type="html"><![CDATA[<p>记录下机器学习过程中的知识点,以便以后复习使用。</p><p>以下知识来自<a href="https://www.youtube.com/playlist?list=PLXO45tsB95cIFm8Y8vMkNNPPXAtYXwKin">周莫烦老师的《有趣的机器学习》视频</a></p><h5 id="机器学习分类:"><a href="#机器学习分类:" class="headerlink" title="机器学习分类:"></a>机器学习分类:</h5><ol><li>监督学习 (有数据和标签)</li><li>非监督学习(只有数据没有标签)</li><li>半监督学习 (结合监督学习和非监督学习)</li><li>强化学习 (从经验中总结和提升)</li><li>遗传算法 (适者生存,不适者淘汰)</li></ol><h5 id="什么是神经网络-机器学习"><a href="#什么是神经网络-机器学习" class="headerlink" title="什么是神经网络 (机器学习)"></a>什么是神经网络 (机器学习)</h5><span id="more"></span><p>神经网络是一种数学模型,是存在于计算机的神经系统,由大量的神经元相连接并进行计算,在外界信息的基础上,改变内部的结构,常用来对输入和输出间复杂的关系进行建模。</p><p>神经网络由大量的节点和之间的联系构成,负责传递信息和加工信息,神经元也可以通过训练而被强化。</p><p><strong>神经网络是如何被训练的</strong>,首先它需要很多数据。比如他要判断一张图片是不是猫。就要输入上千万张的带有标签的猫猫狗狗的图片,然后再训练上千万次。</p><p>神经网络训练的结果有对的也有错的,如果是错误的结果,将被当做非常宝贵的经验,那么是如何从经验中学习的呢?就是对比正确答案和错误答案之间的区别,然后把这个区别反向的传递回去,对每个相应的神经元进行一点点的改变。那么下一次在训练的时候就可以用已经改进一点点的神经元去得到稍微准确一点的结果。</p><p>神经网络是如何训练的呢?每个神经元都有属于它的激活函数,用这些函数给计算机一个刺激行为。</p><h5 id="卷积神经网络的简单介绍"><a href="#卷积神经网络的简单介绍" class="headerlink" title="卷积神经网络的简单介绍"></a>卷积神经网络的简单介绍</h5><p>卷积神经网络是近些年逐步兴起的一种人工神经网络结构, 因为利用卷积神经网络在图像和语音识别方面能够给出更优预测结果, 这一种技术也被广泛的传播可应用. 卷积神经网络最常被应用的方面是计算机的图像识别, 不过因为不断地创新, 它也被应用在视频分析, 自然语言处理, 药物发现, 等等. 近期最火的 Alpha Go, 让计算机看懂围棋, 同样也是有运用到这门技术.</p><ul><li>Updated on 2017-04-10</li></ul>]]></content>
<summary type="html"><p>记录下机器学习过程中的知识点,以便以后复习使用。</p>
<p>以下知识来自<a href="https://www.youtube.com/playlist?list=PLXO45tsB95cIFm8Y8vMkNNPPXAtYXwKin">周莫烦老师的《有趣的机器学习》视频</a></p>
<h5 id="机器学习分类:"><a href="#机器学习分类:" class="headerlink" title="机器学习分类:"></a>机器学习分类:</h5><ol>
<li>监督学习 (有数据和标签)</li>
<li>非监督学习(只有数据没有标签)</li>
<li>半监督学习 (结合监督学习和非监督学习)</li>
<li>强化学习 (从经验中总结和提升)</li>
<li>遗传算法 (适者生存,不适者淘汰)</li>
</ol>
<h5 id="什么是神经网络-机器学习"><a href="#什么是神经网络-机器学习" class="headerlink" title="什么是神经网络 (机器学习)"></a>什么是神经网络 (机器学习)</h5></summary>
<category term="学习笔记" scheme="http://hibobby.github.io/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
<category term="机器学习" scheme="http://hibobby.github.io/tags/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/"/>
<category term="大数据" scheme="http://hibobby.github.io/tags/%E5%A4%A7%E6%95%B0%E6%8D%AE/"/>
</entry>
<entry>
<title>2017年读书清单(持续更新)</title>
<link href="http://hibobby.github.io/2017/03/31/2017ReadedBookList/"/>
<id>http://hibobby.github.io/2017/03/31/2017ReadedBookList/</id>
<published>2017-03-31T11:23:00.000Z</published>
<updated>2023-11-24T07:54:25.181Z</updated>
<content type="html"><![CDATA[<p>记录下2017年看过的书</p><h4 id="已读完"><a href="#已读完" class="headerlink" title="已读完"></a>已读完</h4><h5 id="2017-年-1-月"><a href="#2017-年-1-月" class="headerlink" title="2017 年 1 月"></a>2017 年 1 月</h5><ul><li><a href="https://book.douban.com/subject/26745943/">CSS揭秘</a><br>作者: [希腊] Lea Verou<br><img src="/assets/blogImg/cssjiemi.jpg" alt="CSS揭秘"><span id="more"></span></li></ul><h5 id="2017-年-3-月"><a href="#2017-年-3-月" class="headerlink" title="2017 年 3 月"></a>2017 年 3 月</h5><ul><li><p><a href="https://book.douban.com/subject/6709783/">浪潮之巅</a><br>作者: [美国] 吴军<br><img src="/assets/blogImg/langchao.jpg" alt="浪潮之巅"></p></li><li><p><a href="https://book.douban.com/subject/25862578/">解忧杂货店</a><br>作者: [日] 东野圭吾<br><img src="/assets/blogImg/jieyouzahuodian.jpg" alt="解忧杂货店"></p></li><li><p><a href="https://book.douban.com/subject/1201821/">梦的解析</a><br>作者: [奥地利] 弗洛伊德 / [奥地利] 西格蒙德·弗洛伊德<br><img src="/assets/blogImg/mengdejiexi.jpg" alt="梦的解析"></p></li><li><p><a href="https://book.douban.com/subject/3211779/">嫌疑人X的献身</a><br>作者: [日] 东野圭吾<br><img src="/assets/blogImg/xianyiren.jpg" alt="嫌疑人X的献身"><br><em>2017年3月31日读完</em></p></li></ul><h4 id="在读"><a href="#在读" class="headerlink" title="在读"></a>在读</h4><blockquote><p>计数:读完-5 在读-0 test</p></blockquote>]]></content>
<summary type="html"><p>记录下2017年看过的书</p>
<h4 id="已读完"><a href="#已读完" class="headerlink" title="已读完"></a>已读完</h4><h5 id="2017-年-1-月"><a href="#2017-年-1-月" class="headerlink" title="2017 年 1 月"></a>2017 年 1 月</h5><ul>
<li><a href="https://book.douban.com/subject/26745943/">CSS揭秘</a><br>作者: [希腊] Lea Verou<br><img src="/assets/blogImg/cssjiemi.jpg" alt="CSS揭秘"></summary>
<category term="读书" scheme="http://hibobby.github.io/tags/%E8%AF%BB%E4%B9%A6/"/>
<category term="清单" scheme="http://hibobby.github.io/tags/%E6%B8%85%E5%8D%95/"/>
<category term="备忘" scheme="http://hibobby.github.io/tags/%E5%A4%87%E5%BF%98/"/>
</entry>
<entry>
<title>我使用的前端插件</title>
<link href="http://hibobby.github.io/2017/02/28/IUsedFrontendPlugin/"/>
<id>http://hibobby.github.io/2017/02/28/IUsedFrontendPlugin/</id>
<published>2017-02-28T03:16:25.000Z</published>
<updated>2023-11-24T07:54:25.182Z</updated>
<content type="html"><![CDATA[<p>最近的项目中使用了很多第三方插件,在此简单记录一下,本篇文章会长期更新。</p><p>有必要将一些优秀的插件推荐给大家,先挖个坑,以后有时间会找其中比较优秀的插件写一写深入解析的文章。</p><p>大家比较熟知的框架和插件,比如jQuery、bootstrap在此略过。</p><span id="more"></span><h5 id="saveSvgAsPng"><a href="#saveSvgAsPng" class="headerlink" title="saveSvgAsPng"></a>saveSvgAsPng</h5><p>github:<a href="https://github.com/exupero/saveSvgAsPng">saveSvgAsPng</a></p><p>saveSvgAsPng可以很方便的将网页中的**<svg><strong>标签另存为</strong>.png<strong>格式的图片。saveSvgAsPng的原理是将svg的内容绘制到</strong>canvas<strong>中,让后将</strong>canvas<strong>的dataUrl绑定到一个</strong><a><strong>标签的href属性中,触发</strong><a>**标签的的click事件下载图片。</p><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">// 使用方法:</span></span><br><span class="line"><span class="title function_">saveSvgAsPng</span>(<span class="variable language_">document</span>.<span class="title function_">getElementById</span>(<span class="string">"diagram"</span>), <span class="string">"diagram.png"</span>);</span><br></pre></td></tr></table></figure><hr><h5 id="TableExport"><a href="#TableExport" class="headerlink" title="TableExport"></a>TableExport</h5><p>::TODO</p><h5 id="select2"><a href="#select2" class="headerlink" title="select2"></a>select2</h5><h5 id="toastr"><a href="#toastr" class="headerlink" title="toastr"></a>toastr</h5><h5 id="bootstrap-tasinput"><a href="#bootstrap-tasinput" class="headerlink" title="bootstrap-tasinput"></a>bootstrap-tasinput</h5><h5 id="fontawesome"><a href="#fontawesome" class="headerlink" title="fontawesome"></a>fontawesome</h5><h5 id="introjs"><a href="#introjs" class="headerlink" title="introjs"></a>introjs</h5>]]></content>
<summary type="html"><p>最近的项目中使用了很多第三方插件,在此简单记录一下,本篇文章会长期更新。</p>
<p>有必要将一些优秀的插件推荐给大家,先挖个坑,以后有时间会找其中比较优秀的插件写一写深入解析的文章。</p>
<p>大家比较熟知的框架和插件,比如jQuery、bootstrap在此略过。</p></summary>
<category term="前端" scheme="http://hibobby.github.io/tags/%E5%89%8D%E7%AB%AF/"/>
<category term="插件推荐" scheme="http://hibobby.github.io/tags/%E6%8F%92%E4%BB%B6%E6%8E%A8%E8%8D%90/"/>
</entry>
<entry>
<title>新博客的第一篇文章</title>
<link href="http://hibobby.github.io/2017/02/22/MyFirstPost/"/>
<id>http://hibobby.github.io/2017/02/22/MyFirstPost/</id>
<published>2017-02-22T07:46:25.000Z</published>
<updated>2023-11-24T07:54:25.182Z</updated>
<content type="html"><![CDATA[<p>欢迎来到我的博客,很多年前在WordPress上写过一些内容,但是现在所有的文章备份都找不到了,最近感觉还是需要在网上有个自己写东西的地方,把平时工作生活中的感受、学到的知识写进去和大家分享。</p><h3 id="为什么选择Hexo"><a href="#为什么选择Hexo" class="headerlink" title="为什么选择Hexo"></a>为什么选择Hexo</h3><h5 id="1-Markdown!"><a href="#1-Markdown!" class="headerlink" title="1. Markdown!"></a>1. Markdown!</h5><p> 之前学过md的语法,一直没有使用场景,用md写东西不用考虑过多排版方面的事情。</p><h5 id="2-免费"><a href="#2-免费" class="headerlink" title="2. 免费!"></a>2. 免费!</h5><p> 有了Github Page再也不用自己租用主机了。</p><h5 id="3-备份方便!"><a href="#3-备份方便!" class="headerlink" title="3. 备份方便!"></a>3. 备份方便!</h5><p> 之前的WordPress就是因为自己懒得备份、加上域名过期、主机过期导致写了多年的东西都找不到了,现在有了github的强力支持,不用担心文章丢失的问题。</p><span id="more"></span><h3 id="新博客会写些什么文章"><a href="#新博客会写些什么文章" class="headerlink" title="新博客会写些什么文章"></a>新博客会写些什么文章</h3><ul><li>前端</li><li>C#的一些技巧</li><li>大数据方面学习记录</li></ul><blockquote><p>其实这篇文章只是测试使用,希望早点熟悉Hexo,多写能给大家帮助的文章。</p></blockquote>]]></content>
<summary type="html"><p>欢迎来到我的博客,很多年前在WordPress上写过一些内容,但是现在所有的文章备份都找不到了,最近感觉还是需要在网上有个自己写东西的地方,把平时工作生活中的感受、学到的知识写进去和大家分享。</p>
<h3 id="为什么选择Hexo"><a href="#为什么选择Hexo" class="headerlink" title="为什么选择Hexo"></a>为什么选择Hexo</h3><h5 id="1-Markdown!"><a href="#1-Markdown!" class="headerlink" title="1. Markdown!"></a>1. Markdown!</h5><p> 之前学过md的语法,一直没有使用场景,用md写东西不用考虑过多排版方面的事情。</p>
<h5 id="2-免费"><a href="#2-免费" class="headerlink" title="2. 免费!"></a>2. 免费!</h5><p> 有了Github Page再也不用自己租用主机了。</p>
<h5 id="3-备份方便!"><a href="#3-备份方便!" class="headerlink" title="3. 备份方便!"></a>3. 备份方便!</h5><p> 之前的WordPress就是因为自己懒得备份、加上域名过期、主机过期导致写了多年的东西都找不到了,现在有了github的强力支持,不用担心文章丢失的问题。</p></summary>
</entry>
<follow_challenge>
<feedId>90319514324758528</feedId>
<userId>DZq70YCSdJ63dWr2C73kO</userId>
</follow_challenge>
</feed>