Tianchi competition - Forecast of repurchase of tmall users

Learn big data analysis and machine learning from 0, and simply write down the competition experience. The score is 0.623537, ranking 629 / 5602     1, Competition background Merchants sometimes carry out large-scale promotional activities (such as discounts or cash coupons) on specific dates (such as boxing day sales, "Black Friday& ...

Posted by dch27 on Wed, 29 Sep 2021 13:21:38 -0700

Tensorflow code learning-4-1 cost function: quadratic, cross entropy, log likelihood

Cost function: quadratic, cross entropy, log likelihood (course: refining numbers into gold) quadratic cost function C = 1 2 n ...

Posted by w1ww on Mon, 27 Sep 2021 00:13:42 -0700

OpenCV Fourier transform

Fourier concept Introduction to Fourier Fourier transform, which means that a function satisfying certain conditions can be expressed as a trigonometric function (sine and / or cosine function) or a linear combination of their integrals. In different research fields, Fourier transform has many different variants, such as Continuous Fourie ...

Posted by mystrymaster on Sat, 25 Sep 2021 20:01:13 -0700

Common class libraries for Python knowledge points

1. What is a time tuple? The processing time of 9 sets of numbers assembled by many Python functions in one meta: \ \ The above is struct_time tuple. This structure has the following properties: \ 2. Use datetime to get today's date and the date N days before Q: how do I get today's date in Python? How to get the date of the previous ...

Posted by JTapp on Sat, 25 Sep 2021 00:44:11 -0700

Implementing decision tree with sklearn

Decision tree in sklearn Module: sklearn.tree tree.DecisionTreeClassifierClassification treetree.DecisionTreeRegressorRegression treetree.export_graphvizThe generated decision tree is exported to DOT mode for drawingtree.ExtraTreeClassifierHigh random version classification treetree.ExtraTreeRegressorHigh random version of regression tr ...

Posted by WebMonkey on Wed, 22 Sep 2021 19:15:25 -0700

[image registration] image registration based on Powell + ant colony algorithm matlab source code

1 Introduction 1 origin and development of ant colony algorithm (ACA) In the process of studying the new algorithm, Marco Dorigo and others found that when ant colony is looking for food, they can exchange foraging information by secreting a biological hormone called pheromone, so they can quickly find the target. Therefore, in their doctoral ...

Posted by mnick on Sun, 19 Sep 2021 11:04:34 -0700

The first Python primer for programming beginners. Learning notes Charper7: Class

class In the United States, everyone drinks the same Coca Cola, whether it's the president or a tramp. Andy Warhol Define a class Definition: a class is the sum of abstract concepts of a series of behavioral transactions with common characteristics # Small example: define a Coca Cola class and assign a formula variable class CocaCola: ...

Posted by LikPan on Fri, 17 Sep 2021 14:48:16 -0700

Python version of Binocular Ranging SGBM algorithm

Preface First, do binocular calibration to get the internal parameters of the binocular camera, then do ranging. This binocular visual ranging is based on SGBM algorithm. Note: The effect of binocular calibration will affect the accuracy of ranging. We recommend that you do a good job when doing binocular calibration (try to make the error sm ...

Posted by think-digitally on Thu, 16 Sep 2021 15:18:59 -0700

Brian2_ Impulse neural network_ Neuron learning record

Impulse neural network is called the third generation neural network, which has higher biological reliability. SNN has always occupied the core position in the research of brain like science in recent years. When the performance is similar, the chip based on pulse neural network has lower power consumption, better stability and robustness than ...

Posted by coverman on Thu, 16 Sep 2021 11:38:05 -0700

[artificial intelligence] project 2: multi agent search

Question 2 (5 points): Minimax Firstly, it is clear that there are two kinds of nodes in the pattern tree of minimax algorithm: Max node and mini node. Because minimax algorithm is a pessimistic algorithm, that is, we need to find the maximum value in the minimum income we can obtain, so we are the max node and the other is the mini node. In Q ...

Posted by Bigun on Thu, 16 Sep 2021 09:55:31 -0700