python basic skills comprehensive training question 2

1. To judge whether each letter in a string is in another string, we can use the characteristics of the set to solve the problem. If the elements of the set exist, it is impossible to add the update to the set again. Then the length of the set is the same as before. If you add it, the length of the set will increase >>> a = 'ghost' ...

Posted by rd321 on Sun, 05 Apr 2020 19:27:47 -0700

JAVA8 learning notes - Common built-in interfaces and Stream intermediate operations

I'm ashamed that JAVA 8 has been released for 7 years, and I have been exposed to JAVA for more than 2 years. JDK14 has been released, and I'm still learning new features of JAVA 8, facing the wall for 3 minutes. In the afternoon, I took the time to learn some common built-in interfaces and Stream intermediate operations of Java 8, and took not ...

Posted by Buyocat on Sun, 05 Apr 2020 12:10:31 -0700

"python data analysis (2nd Edition) - Amando van Dango" reading notes Chapter 4 - statistics and linear algebra

python data analysis personal study reading notes - Catalog Index Chapter 4 statistics and linear algebra Statistics and linear algebra lay the foundation for exploratory data analysis. Both descriptive and inferential statistical methods are helpful to obtain insights and inferences from the original data. For example, after calculating the ...

Posted by consultant1027 on Sun, 05 Apr 2020 09:29:07 -0700

Python Chapter 11 - common core module 01 collections module

python calls itself "Batteries included" because it provides many built-in modules that can be used without installation and configuration This chapter mainly introduces some common built-in core modules of python Common core modules of Python 1, collections module This is a useful container module, which provides many useful collecti ...

Posted by DataSpy on Sat, 04 Apr 2020 13:47:50 -0700

C ා basic knowledge series-7 Linq details

Preface In the previous article, I briefly introduced Linq's entry-level usage. This article tries to explain some more in-depth usage methods. Unlike the previous article, I will first introduce the support methods in Linq, and then write them in the form of method chain and SQL like, guided by the actual requirements. Introduction to pre conc ...

Posted by rjs34 on Sat, 04 Apr 2020 02:58:21 -0700

linq expression vs lambda expression

What is a Linq expression? What is a Lambda expression? I used this for a while ago, but I didn't find a relatively simple and clear method on the Internet. Today, I sorted out the relevant knowledge and studied it carefully when I was free public Program() { List<Student> allStudent = new List<Student> { new St ...

Posted by zggtf211 on Tue, 31 Mar 2020 03:55:12 -0700

Fast padding of Nd array

Fast padding of Nd array In batch training of deep learning, it is often encountered that the length of input samples is not the same, such as time series, or the dimension of each sample in ffm is not the same. There are three solutions I know. The first one is to truncate the sample, the second one is to sample up or ...

Posted by dc519 on Mon, 30 Mar 2020 11:39:04 -0700

Identity server 4 authorization principle and application of refresh Token in Asp.Net Core

I. Preface The above two series of articles on identity server 4 are shared. The core topics are mainly password authorization mode and user-defined authorization mode, but only the use of these two modes is shared. This article will further share the authorization process and refreshtoken of identity server 4. List of articles in the series ...

Posted by Mutley on Mon, 23 Mar 2020 03:05:52 -0700

Several ways to create threads in java

brief introduction Creating threads is the most basic operation in multithreaded programming 1. Inherit Thread class and override run() method public class CreatingThread01 extends Thread { @Override public void run() { System.out.println(getName() + " is running"); } public static void main(String[] args) { new ...

Posted by SN1P3R_85 on Thu, 19 Mar 2020 02:02:52 -0700

How to use Serverless to implement a book query App

I have a friend (this friend is not me). There is a small library in my friend's unit. There are many books in the library. Although each book is numbered in the corresponding area, after all, there is no library management system, so it will take some time to find it. In order to make it easier for you to find these books, my friend contacted ...

Posted by Tucker1337 on Mon, 16 Mar 2020 03:08:15 -0700