<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[foreststar的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/foreststar</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; foreststar]]></copyright><item><title><![CDATA[Anaconda、python、ubuntu操作]]></title><link>https://blog.csdn.net/foreststar/article/details/81097649</link><guid>https://blog.csdn.net/foreststar/article/details/81097649</guid><author>foreststar</author><pubDate>Wed, 18 Jul 2018 14:30:33 +0800</pubDate><description><![CDATA[Anaconda

控制面板:

anaconda-navigator

更换Anaconda国内镜像源：

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes

在~/.condarc文件中修改：
...]]></description><category></category></item><item><title><![CDATA[Ubuntu+PyQt5+Python3.6+Qt Designer]]></title><link>https://blog.csdn.net/foreststar/article/details/81072061</link><guid>https://blog.csdn.net/foreststar/article/details/81072061</guid><author>foreststar</author><pubDate>Mon, 16 Jul 2018 21:37:57 +0800</pubDate><description><![CDATA[Ubuntu+PyQt5+Python3.6+Qt Designer

本文为ubuntu下的python 3 配置图形设计界面 PyQt5。



一、开始安装

1.安装pip



sudo apt-get install python3-pip

2.安装virtualenv



python3 -m pip install virtualenv

创建虚拟环境 env ，并切换到虚拟环...]]></description><category></category></item><item><title><![CDATA[深度学习环境配置]]></title><link>https://blog.csdn.net/foreststar/article/details/81054401</link><guid>https://blog.csdn.net/foreststar/article/details/81054401</guid><author>foreststar</author><pubDate>Sun, 15 Jul 2018 17:39:02 +0800</pubDate><description><![CDATA[ubuntu 16.04 + cuda 8.0 + cudnn 6.0 + matlab R2017a + tensorflow 1.4 + anaconda3

本文用于记录深度学习的各种环境配置，中间踩了不少的坑，各版本需要一一对应，故写下本文以备不妨之需。

cuda 8 最好对应 cudnn 6，tensorflow 只有 1.3 和 1.4 版本对应 cuda 8 和 cudnn 6，m...]]></description><category></category></item><item><title><![CDATA[C++之vector]]></title><link>https://blog.csdn.net/foreststar/article/details/53582871</link><guid>https://blog.csdn.net/foreststar/article/details/53582871</guid><author>foreststar</author><pubDate>Mon, 12 Dec 2016 15:03:24 +0800</pubDate><description><![CDATA[要想实现动态存储的数据结构，可以通过在结构体内存放前一指针或后一指针，然后通过指针访问以及动态增删改查。也可以创建多维指针，然后通过动态生成数组进行存储。
动态数组的优点在于可以通过索引直接访问数据；可是在中间插入或删除时需要对后续数据进行移动，太过浪费资源，而且动态数组一开始就要设定最大容量，若超出容量后就必须重新创建，一般设置最大容量为原来的两倍，然后把原来的数据复制过来，这一过程会耗费大量]]></description><category></category></item><item><title><![CDATA[神经网络（1）：感知器]]></title><link>https://blog.csdn.net/foreststar/article/details/53574038</link><guid>https://blog.csdn.net/foreststar/article/details/53574038</guid><author>foreststar</author><pubDate>Sun, 11 Dec 2016 17:06:50 +0800</pubDate><description><![CDATA[人工神经网络入门：
感知器是神经网络中最简单的一种模型，是通过加权求和函数计算，之后根据结果实现二分类。


感知器算法的实现：（实现二分类）
先输入两类样本，后对数据进行增广化，以及符号规范化，然后训练样本并调整权值，训练完毕后保存权值。
如：二维样本(0,1)，前两个数字为二维输入。
增广化：将(0,1)，变为(0,1,1)，即隐含输入1。
符号规范化：如(0,1),(0,0)]]></description><category></category></item><item><title><![CDATA[C++输入(2)：文件读取]]></title><link>https://blog.csdn.net/foreststar/article/details/53560313</link><guid>https://blog.csdn.net/foreststar/article/details/53560313</guid><author>foreststar</author><pubDate>Sat, 10 Dec 2016 19:01:06 +0800</pubDate><description><![CDATA[记录以文件方式读取数据。
如从文件Data.txt中读取数据，文件内容如下：
0 0
3 8
2 2
1 1
5 3
4 8
6 3
5 4
6 4
7 5


思路：先通过文件的行数，得到样本个数，再建立动态数组，逐个读取数据。


变量定义：
#define MAX_SAMPLE_NUM 100    // 最大样本个数  
double **SAMPLE;         ]]></description><category></category></item><item><title><![CDATA[C++输入(1)：控制台输入]]></title><link>https://blog.csdn.net/foreststar/article/details/53542685</link><guid>https://blog.csdn.net/foreststar/article/details/53542685</guid><author>foreststar</author><pubDate>Fri, 09 Dec 2016 18:08:55 +0800</pubDate><description><![CDATA[记录不同方式的控制台输入。（动态输入，以特殊字符结束。）
如下两种输入方式：

#define MAX_SAMPLE_NUM 100    // 最大样本个数
double **SAMPLE;              // 样本集
int SAMPLE_NUM = 0;        // 样本个数
int NUMBER = 2;          // 维数

第一种方式：getli]]></description><category></category></item></channel></rss>