MNIST is used as example in tensorflow. Here are the examples of how to use logistic regression and KNN(K nearest neighbors) to analyze this data.
summary about http.request, GET and POST, form, and route in flask
summary about http.request, GET and POST, form, and route in flask
Online IFRS9/CECL lifetime credit loss calculation engine
It is to provide an online IFRS9/CECL lifetime credit loss calculation engine.
Gradient Descent in solving linear regression and logistic regression
use linear regression and logistic regression as examples to show how gradient descent is used to minimize the loss function or to maximize the target function.
Tensorflow简介--05: Multivariate Regression with Stochastic Gradient Descent
test math formula in github pages
A quick way to enable Latex math formula in github pages
convolve, correlate and image process in numpy
convolution matrix is the most import conception in cnn. Here is a simple introduction of convolve, correlate and some image processing basic techs in numpy.
variable selection in linear regression: 2
This is an example of variable selection in linear regression(and it can be easily applied in logistic regression). It has two steps:
jupyter and pandas display
tips on ipython display and pandas options
weighted avarage, aggrefated function with apply and agg
suppose we want to calculate the weighted average probability of default of all risk rating weighted by the number of borrowers on each pd risk rating(or a little more, grouped by industry or portfolio), we need this weighted average function on each group. Pandas has groupby to split data, and then apply function to calculate and summarize.