From: DBWangGroup 基于该系列代码的实践与补充思考. 补充:特征工程 http://www.cnblogs.com/jasonfreak/category/823064.html  <-- 相当不错 结合:[Scikit-learn] 4.3. Preprocessing data 随机数 产生N个随机数 import random n = 10 data = [random.randint(1, 10) for _ in range(n)] data # this print…
From: DBWangGroup 基于该系列代码的实践与补充思考. 补充:特征工程 结合:[Scikit-learn] 4.3. Preprocessing data /* implement */…
The Dataset was acquired from https://www.kaggle.com/c/titanic For data preprocessing, I firstly defined three transformers: DataFrameSelector: Select features to handle. CombinedAttributesAdder: Add a categorical feature Age_cat which divided all pa…
0.Principal component analysis (PCA) Principal component analysis (PCA) is a statistical procedure that uses an orthogonal transformation to convert a set of observations of possibly correlated variables into a set of values of linearly uncorrelated …
Ref: http://blog.csdn.net/u013534498/article/details/51399035 如何在Python中实现这五类强大的概率分布 考虑下在mgrid上画二维概率分布. 日后整理. 首先说明一下这里的三个变量分别是k(x轴).b(y轴)以及ErrorArray(z轴). 这次也不让Err=∑{i=1~n}([yi-(k*xi+b)] ^2)了,来个简单的吧,假设f(k,b)=3k^2+2b+1,k轴范围为1~3,b轴范围为4~6: [step1:k扩展](朝…
通过MLP多层感知机神经网络训练模型,使之能够根据sonar的六十个特征成功预测物体是金属还是石头.由于是简单的linearr线性仿射层,所以网络模型的匹配度并不高. 这是我的第一篇随笔,就拿这个来练练手吧(O(∩_∩)O). 相关文件可到github下载.本案例采用python编写.(Juypter notebook) 首先导入所需的工具包 1 import numpy as np 2 import pandas as pd 3 import matplotlib.pyplot as plt…
Data Engineering Data  Pipeline Outline [DE] How to learn Big Data[了解大数据] [DE] Pipeline for Data Engineering[工作流案例示范] [DE] ML on Big data: MLlib[大数据的机器学习方案] DE基础(厦大) [Spark] 00 - Install Hadoop & Spark[ing] [Spark] 01 - What is Spark[大数据生态库] [Spark]…
The open source, cross platform, free C++ IDE. Code::Blocks is a free C++ IDE built to meet the most demanding needs of its users. It is designed to be very extensible and fully configurable. Finally, an IDE with all the features you need, having a c…
将感悟心得记于此,重启程序员模式. js, py, c++, java, php 融汇之全栈系列 [Full-stack] 快速上手开发 - React [Full-stack] 状态管理技巧 - Redux [Full-stack] 网页布局艺术 - Less [Full-stack] 异步即时通信 - Async [Full-stack] 跨平台大框架 - RN [Full-stack] 世上最好语言 - PHP 贯通之语言比对 /* 这部分有点全栈系列的味道,日后进阶 */ 语言与框架 语…
原文地址:http://www.it165.net/pro/html/201404/11922.html 内存泄露 首先看看什么是内存泄露,这里直接拿来Aaron中的这部分来说明什么是内存泄露,内存泄露的3种情况: 1 循环引用 2 Javascript闭包 3 DOM插入顺序 在这里我们只解释第一种情况,因为jquery的数据缓存就是解决这类的内存泄露的.一个DOM对象被一个Javascript对象引用,与此同时又引用同一个或其它的Javascript对象,这个DOM对象可能会引发内存泄漏.这…