# QA Official

### Section 10-Support Vector Machine (SVM) Algorithm Code

https://qaofficial.com/post/2019/04/20/68359-section-10-support-vector-machine-svm-algorithm-code.html 2019-04-20
1 small example of svm implemented by sklearn from sklearn import svm X = [[2,0],[1,1],[2,3]] y = [0,0,1] clf = svm.SVC(kernel = "linear") clf.fit(X,y) print(clf) print(clf.support_vectors_) print(clf.support_) print(clf.n_support_) 2 Draw Decision Boundaries with sklearn import numpy as np import pylab as pl from sklearn import svm np.random.seed(0) X = np.r_[np.random.randn(20,2) - [2,2],np.random.randn(20,2) + [2,2]] Y = [0] * 20 + [1] * 20 clf = svm.SVC(kernel = "linear") clf.fit(X,Y) w = clf.

### Select Sort (Pseudo Code Algorithm, c++, and python Implementation)

https://qaofficial.com/post/2019/04/20/69754-select-sort-pseudo-code-algorithm-c-and-python-implementation.html 2019-04-20
pseudocode is still written on notepad++. SelectSort (input ele[],input length) for i <- 1 to length step 1 min <- i for j <- i+1 to length step 1 if ele[j] < ele[min] min <- j end if swap(ele[j],ele[min]) end c++ version, vs2010. void selectsort(int a[],int length) { int i,j; for (i= 0;i < length;i++) { int min = i; for (j = i + 1; j < length; j++)

### Vim+latex+latex-live-preview underUbuntu

https://qaofficial.com/post/2019/04/20/68416-vim-latex-latex-live-preview-underubuntu.html 2019-04-20
When writing latex under windows, I found vim was really a good tool, so when switching to linux, I also wanted to integrate this set of tools. I actually use linux-mint, but it is based on Ubuntu, so I think it is similar. Main Steps:1. install vim, preferably vim supported by python. I will use apt-get to install it directly sudo apt-get install vim sudo apt-get install vim-gtkThis vim-gtk is vim with interface, namely gvim, which supports LATE-VIM-SUITE better.

### What is sys.argv?

https://qaofficial.com/post/2019/04/20/68407-what-is-sys.argv.html 2019-04-20
by: 7sDream Link: https://www.zhihu.com/question/23711222/answer/26173004 Source: Zhihu The copyright belongs to the author.For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source. sys is a " standard library" of Python, that is, the official " module", which is the abbreviation of " System". it encapsulates the information and interfaces of some systems. for official documents, please stamp: 27.1. sys-system-specific parameters and functions. for Chinese version, please refer to: [python] sys module

### What is the difference between business_editions and consumer_editions in Windows 10?

What is the difference between business_editions and consumer_editions in Windows 10? [ Answer 1 ] Both have built-in professional versions, with the difference that: consumer_editions versions include: Home;Education;Professional; business_editions includes: Education;Enterprise (Enterprise Edition);Professional; [ Answer 2 ] Windows 10 (Business Editions) VL version ISO image includes the following versions (select installation as required): Professional Edition, Enterprise Edition, Education Edition, Professional Workstation Edition, and Professional Education Edition The retail version of Windows 10 (Consumer Editions) ISO image includes the following versions (installed as required): Home, Professional, Education, Home Single Language, Professional Workstation, and Professional Education

### What is your color value?-face scoring model based on tensorflow

https://qaofficial.com/post/2019/04/20/25420-what-is-your-color-value-face-scoring-model-based-on-tensorflow.html 2019-04-20
Preface Use neural network to evaluate the color value and score faces based on CNN.This project was published on GitHub a week ago. After that, I used the new public data set (the original project data set was not published), reset the network structure, and finally ran out of the model. I can get the code and trained model by accessing GitHub: HTTPS://GitHub.com/Roguesir/DL-Project/Tree/Master/FacesScore. Project Introduction Data Acquisition preprocessing Network Design training model output

### [ DL Notes ] VGG Network Details and Code Implementation

https://qaofficial.com/post/2019/04/20/25419-dl-notes-vgg-network-details-and-code-implementation.html 2019-04-20
Preface VGG network is proposed in the paper VERY DEEP CONVOLUTION NETWORK FOR LARGE-SCALE IMAGE RECOGNITION. The translation of this paper is detailed in this paper. This paper introduces VGG network and implements VGG-D code. VGG network structural features code implementation