QA Official

Deep and Good Writing Written by Great Spirit ---Gradle Building Tool

https://qaofficial.com/post/2019/05/17/71985-deep-and-good-writing-written-by-great-spirit-gradle-building-tool.html 2019-05-17
What is a build tool? We all know that Gradle is a building tool, so what is a building tool? I find it difficult to understand a lot of text explanations on the Internet. Let's take Android development as an example. We used Eclipse for our previous development, and Eclipse is known as an IDE (Integrated Development Environment), which was originally used for Java development, while Android is based on Java language, so Google originally hoped Android could be developed on Eclipse.

First Lecture in Gradle Series-What is gradle?What does Gradle do?

https://qaofficial.com/post/2019/05/17/71983-first-lecture-in-gradle-series-what-is-gradlewhat-does-gradle-do.html 2019-05-17
I have always understood Gradle as a dependency management and packaging tool for android studio projects.In fact, there is no problem in understanding this.However, this understanding is not comprehensive and systematic enough, which will cause certain restrictions to my later use of gradle.So it's time to get to know gradle in a comprehensive way.Ahhh! How should gradle be understood?Gradle is currently a very popular project construction tool.It is not limited to a platform.

How to Build Android Project with Gradle

https://qaofficial.com/post/2019/05/17/71974-how-to-build-android-project-with-gradle.html 2019-05-17
This article specifically introduces how to build Android project with Gradle.The basic grammar of Gradle can be found in another article: http://blog.csdn.net/wangbaochu/article/details/51177672 1. Signature Gradle itself supports direct signature, only need to add the following code in releas: signingConfigs { debug { } release { storeFile file("../yourapp.keystore") storePassword "your password" keyAlias "your alias" keyPassword "your password" } } buildTypes { debug { minifyEnabled false zipAlignEnabled false shrinkResources false signingConfig signingConfigs.debug

Target Size Determination Based on detectMultiScale Function Multiscale Face Detection

https://qaofficial.com/post/2019/05/17/71925-target-size-determination-based-on-detectmultiscale-function-multiscale-face-detection.html 2019-05-17
Target Size Determination Based on detectMultiScale Function Multiscale Face Detection Function Introduction Due to the requirements of work items, I need to determine the maximum size and minimum size of the target detection object in the detectMultiScale function in combination with the actual project of the company, so as to achieve the purpose of accelerating the detection speed and filtering noise targets. Implementation Steps 1. Introduction to DetectMultiscale Function 打

Understood Android Gradle Construction System (5: build type)

https://qaofficial.com/post/2019/05/17/71979-understood-android-gradle-construction-system-5-build-type.html 2019-05-17
By default, Android plug-ins automatically build a debug and a release version of the application for the project.The difference between the two versions mainly lies in the debugging function on the non-development machine and the signature method of APK.The debug version uses a key created with the public name/password to sign it (so you don't need to be prompted for a password when building it).The release version will not be signed when it is built, but will be done later.

Use Gradle to Build Some Custom Configurations for Android Projects

https://qaofficial.com/post/2019/05/17/72003-use-gradle-to-build-some-custom-configurations-for-android-projects.html 2019-05-17
Recently, I began to get into the habit of writing blogs....I hope I can write better articles in the future.. due to the needs of work projects, I often need one code > multiple resources > multiple apps.However, each app has its own package name, id, WeChat ID, etc. A series of parameters, some of which need to be written in the code, others need to be written in the

deployment of canal client (code none)

https://qaofficial.com/post/2019/05/17/72032-deployment-of-canal-client-code-none.html 2019-05-17
Infrastructure MySQL-5.7.17+Canal.Deployer-1.0.23 mysql binlog Opening and Configuration Server Deployment Client Deployment binlog Opening and Configuration it is mainly to modify mysql's configuration file. generally, under the /etc/my.cnf directory, add the following contents: log-bin=master-bin # generates prefix of binlogLOG-BIN-INDEX = MASTER-BIN. INDEX # Generates binlog styles such as master-bin-00001Binlog-format=row #binlog format, server only parses ROW format, be sure!Server-id=1 # distinguishes master from slave, and the serverid of multiple mysql sets are

AdaBoost Algorithm Series 1

https://qaofficial.com/post/2019/05/15/70550-adaboost-algorithm-series-1.html 2019-05-15
AdaBoost Algorithm Series 1 1 Preface 2. AdaBoost's Mathematical Expression 3. An example 4. AdaBoost hardly over-fits

AttributeError: module 'sklearn' has no attribute 'preprocessing'

https://qaofficial.com/post/2019/05/15/70474-attributeerror-module-amp#x27sklearnamp%23x27-has-no-attribute-amp%23x27preprocessingamp%23x27.html 2019-05-15
source code is: import sklearn ....... embedding = sklearn.preprocessing.normalize(embedding).flatten() error reported: attributeerror: module 'sklearn' hasnoattribute 'preprocessing' Modify the code to: from sklearn import preprocessing ........... embedding = preprocessing.normalize(embedding).flatten() Solve problems.

Kaggle Last User Classification Problem

https://qaofficial.com/post/2019/05/15/70349-kaggle-last-user-classification-problem.html 2019-05-15
KaggleAddress Reference Model In fact, the key point of this project is that there are a large number of discrete features. For discrete dimensions, the processing method is to convert each feature level of each discrete dimension into a dimension like SQL row and column exchange, and the value under this dimension is only 0 or 1.But this is bound to lead to a dimension explosion.This project is typical. After