baseline Mobile Advertising Anti-Fraud Algorithmic Challenge 2019

Preface: Before sharing this baseline, first of all, I would like to thank my friend Rape Flower for some help.Then I will introduce some problems encountered in the recent competition and explain them.If possible, share a baseline of around 94. ...

Posted on Fri, 16 Aug 2019 19:17:03 -0700 by kevbev16

I was forced to learn these Python efficient programming skills because of the project's progress.

In the work, we often have to deal with all kinds of data. It is easy to waste time writing functions when we meet the project schedule. Python has many built-in functions to help you improve your work efficiency! First: In the list, the dictionary ...

Posted on Fri, 16 Aug 2019 06:08:55 -0700 by sabbagh

Synchronization strategy for multithreaded programs

Catalog A Preliminary Study on the Use of C++11 Threads Waiting for an event or condition to occur with conditional variables Thread-safe queue adapters A Preliminary Study on the Use of C++11 Threads std::thread #include <thread> There is no danger of Race condition for read-only shared data ...

Posted on Sat, 10 Aug 2019 04:08:00 -0700 by tvance929

Lambda and Stream Practical Example Collection

Function < T, R > - Take T as input and return R as output Predicate - Take T as input and return Boolean value as output Consumer - Take T as input, perform certain operations and return nothing. Supplier - No input, return T IntConsumer - Take two T as input and return one T as output, which is ...

Posted on Fri, 09 Aug 2019 05:29:03 -0700 by msielski

PyTorchpytorch Foundation for Deep Learning-Neural Network

Articles Catalogue PyTorch Foundation Tensor ** Conversion between pytorch and numpy** ** Conversion between GPU tensor and CPU tensor** Tensor's operation is divided into two kinds, one is mathematical operation, the other is torch's advanced operation. Variable neural network linear model Logi ...

Posted on Thu, 01 Aug 2019 22:30:49 -0700 by AP81

The sixth day of pyhon's study

** Directory of Knowledge Points 1. Functions (Interview Questions) 2. Basic Format for Defining Functions 3. Four common cases of functions 4. What are the actual and formal parameters? 5. What are the details of function naming? 6.return characteristics 7. What parameters can be filled in after the fu ...

Posted on Tue, 30 Jul 2019 06:47:00 -0700 by AMV

Pandas Data Processing Practice

1. Format the crawled data *Refer to Bookschina crawl case* 1. Date format processing:'2018-01-01 / ' def str_time(value): new_value = value.replace('/','') return pd.to_datetime(new_value.strip()) data['book_time'] = data['book_time'].apply(str_time) data.drop_duplicates(inplace=True)# ...

Posted on Mon, 29 Jul 2019 18:13:49 -0700 by unclemid

Spring Boot 2.x: Integrating Mybatis-Plus

brief introduction Mybatis-Plus is a persistent framework developed by Chinese people on the basis of Mybatis. And won the most popular Chinese software TOP5 in Open Source China in 2018 What kind of chemical reactions do Spring Boot and Mybatis-Plus, which also aim to simplify development, produce?Next, let's take a look at the efficiency im ...

Posted on Sun, 28 Jul 2019 19:29:02 -0700 by errtu

Self-taught Java--day_17 thread pool, Lambda expression

1. Thread Pool 1.1 Interthread Communication When multiple threads execute concurrently, by default the CPU switches threads randomly. When we need multiple threads to complete a task together and we want them to execute regularly, some coordinated communication is needed between the threads to help ...

Posted on Fri, 26 Jul 2019 18:35:03 -0700 by moriman

Machine Learning Practical Learning Notes 4 - Predictive Numeric Data: Regression

A General Method of Regression (1) Data collection: data can be collected in any way (2) Preparing data: Regression requires numerical data, nominal data will be converted into binary data. (3) Analysis of data: Drawing a visualized two-dimensional graph of data will help to understand and analy ...

Posted on Tue, 23 Jul 2019 22:35:50 -0700 by drucifer