QA Official

[TensorFlow Learning Notes -05] Bacth Normalization (BN) 2019-04-17
[copyright notice] TensorFlow Learning Notes Reference: Li Jiaxuan Author of TensorFlow Technical Analysis and Practical Combat Huang Wenjian Tang Yuan Author of TensorFlow Practical Combat Zheng Zeyu and Gu Siyu Author of TensorFlow Practical Combat Google Deep Learning Framework Yue Yi Bin Wang Author of Deep Learning-Detailed Explanation of CAFFE (Convolutional Architecture for Fast Feature Embedding)'s Classic Model and Practical Combat TENSOR FLOW Chinese CommunityThe Geek Institute has written the official documents of TensorFlow in Chinese, TensorFlow in English, as well as your big CSDN blogs and Github etc .

scikit-learn 2019-04-17
scikit-learn preprocessing Data Preprocessing-Normalization/Standardization/Regularization 1, Z-Score, or remove mean and variance scaling formula is: (X-mean)/std is calculated separately for each attribute/column. Subtract the mean value from the data schedule attribute (by column) and add its variance.The result is that, for each attribute/column, all data are clustered around 0 with a variance of 1. is implemented in two different ways: using sklearn.preprocessing.scale () function, the given data can be directly standardized.

scipy.special.boxcox1p 2019-04-17
skewness = skewness[abs(skewness) > 0.75] print("There are {} skewed numerical features to Box Cox transform".format(skewness.shape[0])) from scipy.special import boxcox1p skewed_features = skewness.index lam = 0.15 for feat in skewed_features: #all_data[feat] += 1 all_data[feat] = boxcox1p(all_data[feat], lam) help(boxcox1p) Help on ufunc object: boxcox1p = class ufunc(builtins.object) | Functions that operate element by element on whole arrays. | | To see the documentation for a specific ufunc, use `info`.

sklearn naive bayes class library usage summary 2019-04-17
In scikit-learn, three naive Bayesian classification algorithms are provided: GaussianNB (Gaussian Naive Bayesian), MultinomialNB (Polynomial Naive Bayesian), BernoulliNB (Bernoulli Naive Bayesian) 1, gaussian naive bayes: sklearn.naive _ bayes.gaussiannb (priors = none) ① Using GaussianNB Class to Establish Simple Model In [1]: import numpy as np ...: from sklearn.naive_bayes import GaussianNB ...: X = np.array([[-1, -1], [-2, -2], [-3, -3],[-4,-4],[-5,-5], [1, 1], [2, ...: 2], [3, 3]]) ...: y = np.array([1,

Bayesian Classification for Machine Learning 2019-04-17
Maximum Likelihood Estimation The training process of probability model is parameter estimation.Bayesian school thinks that the parameters are unobserved random variables and may have their own distribution, so it can be assumed that the parameters obey a prior distribution, and then calculate the posterior distributions based on the observed data.The frequency school thinks that although the parameters are unknown, they have objective fixed values, so the parameters can be determined by optimizing likelihood functions.

Definition of Text Categorization Problem 2019-04-17
The classification problem of a text (the meaning of the two words "text" and "document" is basically not distinguished below) is to classify a document into one or more of several predefined categories, and the automatic classification of text uses a computer program to realize such classification.To put it more bluntly, it's like taking an article and asking the computer whether the article is about sports, economy or education. If the computer can't answer it, it will spank it (…).

Implementation of Machine Learning Actual Combat Naive Bayesian Classifier python3 2019-04-17
All codes in this article are stored in file, which is convenient for code testing and program running. from numpy import * def loadDataSet(): """ 功能:词表到向量的转换函数 输出:1.进行此条切分后的文档集合。2.类别标签的集合,这些文

Machine Learning Related Issues and Resource Download. 2019-04-17
Resource Sharing: 1, po a free stop word download: copying, paste and save to txt file.Then use python to read the txt file and pay attention to the statement: stpwrdlst = open(stopword_path).read().replace('\n', ' ').split() to adjust the format, otherwise the program will appear warning: UserWarning: Your stop_words may be inconsistent with your preprocessing. Tokenizing the stop words generated tokens [·····] not in stop_words. sorted(inconsistent)) blog notes: 1, machine learning related:1.

Mathematical Modeling-Five-Step Method 2019-04-17
five-step method The five-step method, as the name implies, uses a mathematical model to solve practical problems in five steps.It includes the following five steps: Ask questions Select Modeling Method deduces the mathematical expression of the model solution model Answer questions The first step is to ask questions, that is, to use appropriate mathematical language to express the actual problems encountered.Generally speaking, the first task is to define the terms.No

Naive Bayes Classifiers 2019-04-17
Original Address: Naive Bayes Classifiers This paper discusses the theory behind Naive Bayes classifiers and its implementation. Naive Bayesian classifier is an algorithm based on Bayesian theory in the set of classification algorithms.It is not a single existence, but an algorithm family, in which they all have common rules.For example, each classified feature pair and other feature pairs are independent of each other. Before you start, look at the dataset.