QA Official

Dynamic Programming 2019-04-30
Basic Ideas for Solving Problems with Dynamic Programming 1. If the problem is to find the optimal solution (usually to find the maximum or minimum value) of a problem, and the problem can be decomposed into several subproblems, and there are smaller subproblems overlapping among the subproblems, dynamic programming can be considered to solve the problem.Before applying dynamic programming, it is necessary to analyze whether the large problem can be decomposed into small problems, and there is an optimal solution for each small problem after decomposition.

Image Classification for Deep Learning Series 2019-04-30
Recently, I have been deeply learning relevant knowledge. In order to consolidate what I have learned, I plan to start with more popular tasks such as text classification and image classification, and write blog records to encourage my friends.This article introduces the operation of image classification (data source mnist) using keras framework. The following sections respectively introduce some background knowledge and specific operation steps. 1. Introduction to Data Sets and Frameworks Used

Installation of Deep Learning Framework Keras 2019-04-30
I have transferred the latest blog update to my personal website, welcome to visit ~ ~ SCP-173’s BLOG Installation of Deep Learning Framework Keras Keras is an encapsulation framework based on the original deep learning framework Tensorflow or Theano in Python language.If you are going to use Keras, you must first prepare to install Tensorflow or Theano. Keras Chinese Document Address 0.

Quick Start of keras Tutorial 2019-04-30
Sequential Model Implement a simple AND gate neural network.In order to facilitate readers to understand how to deal with the multi-classification problem, this code also treats the two-classification problem as a multi-classification problem. #coding:utf-8 from keras.models import Sequential from keras.layers.core import Dense, Dropout, Activation import as sio import numpy as np import keras model = Sequential() model.add(Dense(input_dim=2, units=2)) model.add(Activation('sigmoid')) model.compile(loss='mean_squared_error', optimizer='sgd', metrics=['accuracy']) trainDa = np.mat([[1,1],[1,0],[0,1],[0,0]]) trainBl = np.mat([[1],[0],[0],[0]]) testDa

Summary of Knowledge Structure of Natural Language Processing (NLP) 2019-04-30

Text Classification Using Convolutional Neural Network (cnn) 2019-04-30
Convolutional Neural Network has achieved good results in emotion analysis. Compared with previous shallow machine learning methods such as NB and SVM, it has better effect, especially when the data set is large, and CNN does not need us to extract features manually. The original shallow ML requires text feature extraction, text feature representation, normalization and text classification. Text feature extraction can be divided into four steps: (1) segmenting all

Visual Comparison of Results of Various Algorithms in Machine Learning 2019-04-30
Before the code is executed, all the included modules must be installed first. print(__doc__) # Modified for documentation by Jaques Grobler # License: BSD 3 clause import numpy as np import matplotlib.pyplot as plt from matplotlib.colors import ListedColormap from sklearn.cross_validation import train_test_split from sklearn.preprocessing import StandardScaler from sklearn.datasets import make_moons, make_circles, make_classification from sklearn.neighbors import KNeighborsClassifier from sklearn.svm import SVC from sklearn.tree import DecisionTreeClassifier from sklearn.ensemble import RandomForestClassifier, AdaBoostClassifier from sklearn.

What is CAFFE (Convolutional Architecture for Fast Feature Embedding)? 2019-04-30
The full name of CAFFE (Convolutional Architecture for Fast Feature Embedding) should be Convolutional Architecture for Fast Feature Embedded. It is a clear and efficient in-depth learning framework. It is open source and its core language is C++. It supports command line, Python and Matlab interfaces. It can run on either Central Processor or GPU.Its license is BSD.2-Clause。 Deep Learning is popular mainly because it can learn useful feature from data autonomously.

What is TensorFlow? 2019-04-30
What is TensorFlow?TensorFlow is an open source software library for numerical calculations using data flow diagrams.In other words, it is the best way to build a deep learning model.This article has compiled some excellent lists of TensorFlow's practices, libraries and projects.I. tutorials TensorFlow Tutorial 1 — 从基础到更有趣的 TensorFlow 应用 TensorFlow Tutorial 2 — 基于 Google TensorFlow 框架的深度

What is the difference between CAFFE (Convolutional Architecture for Fast Feature Embedding) 2 and CAFFE (Convolutional Architecture for Fast Feature Embedding) 2019-04-30
facebook's open source CAFFE (Convolutional Architecture for Fast Feature Embedding) 2 a few days ago gave us another choice on the deep learning framework.CAFFE (Convolutional Architecture for Fast Feature Embedding) 2 claims to be a lightweight, modular and extensible framework, code once, run anywhere.As an old CAFFE (Convolutional Architecture for Fast Feature Embedding) player, I naturally need to do some research. dependency processing Dependence on the first version of CAFFE (Convolutional Architecture for Fast Feature Embedding) is a headache, especially when installing on the old version of the company's servers, which requires a lot of time.