2017年2月23日 Expectation Maximization in Gaussian Mixture Model

Expectation Maximization method recursively tries from a point and forwards to a better point import numpy as np from scipy.stats import norm import matplotlib.pyplot as plt %ma...

2017/03/21 08:51
66
2017年2月22日 Support Vector Machine Classifier

Intuitively, to calssify which class a point belongs, SVM Classifier compares point against the characteristc points of each class after points are transformed into a higher hig...

2017/03/21 08:50
87
2017年2月21日 Gradient Boosting Regressor

Gradient Boosing trains additional models on negative gradient residual from __future__ import division import numpy as np import pandas as pd from sklearn.tree import DecisionT...

2017/03/21 08:48
107
2017年2月20日 Random Forest Classifier

Random Forests builds various decision trees on bootstrap samples and random seleted features, prediction can be made by averaging from __future__ import division import numpy a...

2017/03/21 08:43
84
2017年2月20日 Adaboost

Adaboost linearly combines weak learners into a single strong learner in an iterative fashion. At each iteration, the higher weights are set on previously misclassified samples,...

2017/03/20 08:36
31
2017年2月19日 Decision Tree Classifier

Decision Tree Classifier recursively generates rule to split data so as to minimize the impurity of each subset until every sample in subset belongs to the same class from __fut...

2017/03/20 08:34
135
2017年2月18日 K-Nearest Neighbors

K-Nearest Neighbors predicts output from k nearest neighbors from sklearn.datasets import load_boston from sklearn.neighbors import NearestNeighbors import numpy as np import ml...

2017/03/20 08:33
16
2017年2月18日 K-means

K-means clustering aims to partition the samples into k sets so as to miniize the sum of distances between each pointer to the K center The algorithm proceeds by iterating two s...

2017/03/20 08:33
47
2017年2月18日 Stochastic Gradient Descent of Linear Model

Stochastic Gradient Descent iterates through all samples to update parameters of model by gradient descent import numpy as np import ml_metrics as mtr from collections import de...

2017/03/20 08:32
35
2017年2月17日 Gaussian Naive Bayes

Naive Bayes method is based on applying Bayes’s theorm with the “naive” assumption of independence between features Gaussian Naive Bayes assumes the likelihood is gaussian fr...

2017/03/20 08:30
262
2017年2月16日 Principal Component Analysis

Principal Component Analysis approaches dimensionality reduction by selecting top k eigenvectors from __future__ import division import numpy as np import pandas as pd from skle...

2017/03/20 08:28
23
2017年2月14日 Logistic Regression

Logistic Regression assumes that the probability of the dependent varaiable y equaling a positive case can be interpreted as logistic function We can now defind the cost functio...

2017/03/20 08:25
97
2017年2月13日 Ridge Regression

Suppose that for a known matrix A and vector b, we wish fo find a vector X such that The ridge regression approach seeks to minimize the sum of squared residuals with a regulari...

2017/03/20 08:22
30
解决ios浏览器点击事件中的ajax回调以后无法播放video的问题

ios浏览器的video的播放需要手动触发,video的play方法必须在click之类的事件中调用。但是,如果在点击后,进行了ajax请求,请求完成后更新了video的播放地址,video便不能播放了。经尝试,发...

2016/12/09 20:32
522
Complete Guide to Parameter Tuning in XGBoost (with codes in Python)

Introduction If things don’t go your way in predictive modeling, use XGboost. XGBoost algorithm has become the ultimate weapon of many data scientist. It’s a highly sophistica...

2016/10/23 09:07
1.1K
KAGGLE ENSEMBLING GUIDE

Model ensembling is a very powerful technique to increase accuracy on a variety of ML tasks. In this article I will share my ensembling approaches for Kaggle Competitions. For t...

2016/10/09 17:18
401
短信验证码倒计时

//短信倒计时 function SmsTimer(btn, time_max){ this.btn = btn; //获取验证码按钮 this.TIME_MAX = time_max ? time_max : 60; //最大秒数 this.timer = 0; this.ti...

2016/08/20 11:22
577
Faster Deep Copies of Java Objects

Faster Deep Copies of Java Objects The java.lang.Object root superclass defines a clone() method that will, assuming the subclass implements the java.lang.Cloneable interface, r...

2016/03/02 17:45
99

没有更多内容

加载失败,请刷新页面