Attention is all you need

< attention is all you need > > read notes Experimental environment: Experimental details: 1. Input layer code 2. Multi attention level 3.layer norm 4. Residual connection 5. Full connection layer (FFN) 6. Smooth label Common functions Reference link The Transformer model breaks the tim ...

Posted on Fri, 31 Jan 2020 04:29:08 -0500 by pluto

Java Foundation (8): Send Mail

[Preface] Earlier, there was an urgent function to do, some of which required email notifications; through consulting and experimentation, a function to send emails quickly was written; now organize your notes. [Send Mail] 1. Introducing dependencies in POMS <dependency> <groupId>javax.mail</groupId> ...

Posted on Thu, 30 Jan 2020 12:01:49 -0500 by PhillNeedsHelp

Maven modifies the default jdk13 version information to solve the problem of too low JDK version

The default jdk of Maven is version 1.5. It is too cumbersome to modify the jdk version again every time you create a new project, so the following methods can modify the default jdk version of Maven. Note: it's better to update Maven's version. The setting.xml jdk13 configuration is invalid when I use ...

Posted on Thu, 30 Jan 2020 09:56:36 -0500 by dubc07

Spring? Annotation mode injection

This blog series is summarized here: Spring summary Annotation mode injection Annotation mode injection 1. @ Resource comment Add to attribute Add to Set method 2. @ Autowired annotation Add to attribute Add to Set method The source project file is: spring3.2 Annotation mode injection St ...

Posted on Thu, 30 Jan 2020 01:36:20 -0500 by jackdcrack

[redis source code day reading] compressed list (ziplist)

Compressed list Like the author: redis source code, many comments and very detailed. Before looking at the source code of the compressed list, you can first look at the comments at the top of the ziplist.c file to basically understand the data structure design. The compressed list ziplist is a two-wa ...

Posted on Thu, 30 Jan 2020 00:22:05 -0500 by markmax33

Python and machine learning -- Bayesian classifier

Bayesian classifier Content and code source: git, author of Python and machine learning practice (he Yujian) repo My git repo theory There are differences between Bayesian decision theory and traditional statistical theory. The biggest difference lies in the definition of probability: The frequency o ...

Posted on Wed, 29 Jan 2020 23:24:12 -0500 by CloudSex13

Emotional analysis of Streamlit in action twitter

Streamlit is an excellent machine learning tool development library. This tutorial will learn how to use streamlit and flair to develop a twitter micro blog emotion analysis application. Related links: Streamlit Development Manual 1. streamlit overview Not everyone is a data scientist, but everyone needs the power of data science. Streamlit h ...

Posted on Wed, 29 Jan 2020 23:21:09 -0500 by wolfraider

Use of ASP server-side HTTP

In the process of making a website, HTTP is often used to interact with the server side for data, which is mainly divided into client-side calls and server-side calls.In strongly typed programming languages (Java, C#and so on), it is convenient to use HTTP because there are corresponding mature class libraries and detailed API documentation ava ...

Posted on Wed, 29 Jan 2020 13:38:27 -0500 by yanti

python graphical interface + crawling Taobao information + generating column analysis chart (Taobao query system)

Registered user information The database is not connected, and the information is stored permanently by pickling the third-party python database. After successful login, the interface will jump Input the crawling content, crawling 44 pieces of information, and the crawling result is as shown in the figu ...

Posted on Wed, 29 Jan 2020 09:54:09 -0500 by blink359

AspectJ pointcut indicator-03-execution

execution() Match the connection point of the target method satisfying a matching condition The final structure of each class is as follows: 1,Factory package com.test.aspectj.expression; /** * Factory interface */ public interface Factory { // Make products void make(); // transport void delivery(St ...

Posted on Wed, 29 Jan 2020 09:48:06 -0500 by AmbroseChapel