[Data Structure] - Evaluation of Infix Expression

Title Requirements Enter the infix expression from the keyboard, set up the stack of operands and operators, and calculate and output the evaluation results of the expression.Basic requirements: implement +, -, *, /four binary operators and (); operands range from 0 to 9.Increased requirements: implement +, - two unary operators (i.e., positive ...

Posted by amir on Fri, 05 Jun 2020 19:18:06 -0700

Back propagation of neural network

1, Neural network applied to classification problem: suppose there are m training samples, each containing a set of input x and a set of output y, l represents the number of neural network layers, SlS_{l}Sl represents the number of neurons in layer L. There are two kinds of neural network classification ...

Posted by remmargorp on Fri, 05 Jun 2020 02:26:39 -0700

What's new in Java 13

Java 13 It has been officially released on September 17, 2019, Download Java 13 here Or here openJDK archived . Java 13 features. JEP 350: dynamic CDS Archive JEP 351: ZGC: uncommit unused memory JEP 353: re implement the old socket API JEP 354: switch expression (Preview) (developer ...

Posted by philwong on Thu, 04 Jun 2020 22:56:49 -0700

Python grammar learning

I want to learn about crawlers recently, but I can't understand Python, so I can only learn the script language from the syntax. In my understanding, Python means the serpent, which can be seen from its icon that the two snakes are intertwined with each other.                        The purpose o ...

Posted by dyconsulting on Thu, 04 Jun 2020 09:27:21 -0700

What's the beauty value of your favorite female anchor? Today, I'll take you to test the beauty value of the live female anchor

preface With the rise of live broadcasting, the career of anchor has gradually come into people's vision. Now each platform has the title of "master Huadan", "first brother", "first sister", etc. In fact, popularity is one aspect, but beauty is the hard power. Next, I'll take you to the beauty test score of the anc ...

Posted by yoda69 on Sun, 31 May 2020 08:29:18 -0700

Java has not declined. Everyone's understanding of it is just beginning a new start of Java 8

Java has not declined. People's understanding of it is just beginning I'm glad to share the new features of Java 8 here. This article will take you step by step through all the new features of Java 8. I will show you the default method, lambda expression, method reference and repeated annotation in the interface through simple example code. A ...

Posted by FFEMTcJ on Fri, 29 May 2020 02:46:52 -0700

Python playing with Excel: automatic function filling and data sorting

In the work, we often use excel to deal with data and display, but for some work we can use the help of programs to achieve efficient problem-solving effect. For example, the json returned from the interface is parsed and saved in Excel, the data in excel is processed according to certain rules and then written into a new EXCEL file, and the co ...

Posted by 3r0ss on Sun, 24 May 2020 23:33:32 -0700

Python built in function example

abs() Return the absolute value of the number >>> abs(-100) 100 >>> abs(10) 10 >>> all() Determines whether all elements in the given iteratable parameter iterable are true, and returns true if so, False otherwise >>> all([100,100,100]) True >>> all([3,0,1,1]) False >>> any() Returns False ...

Posted by ALEXKENT18 on Tue, 19 May 2020 02:21:17 -0700

The realization of moving average filter in hand-held teaching series

[introduction]: in the previous article about IIR design, some friends are still reading it. Although I don't know how the officials feel, I think there is always a reward to read, so I decided to continue this series. This article talks about average filter, which is very easy at first glance. But I don't think some of the key points are clear ...

Posted by embtech on Sat, 16 May 2020 23:08:17 -0700

[6] kotlin Lambda expression

Lambda What is Lambda? It's actually an anonymous function Writing method {[parameter list] - > [function body, last line is return value]} Type example ()->Unit  No reference. Return value is Unit (Int)->Int Enter an integer and return an integer (String,(String->String)->Boolean) Incoming string, Lambda ...

Posted by philippo on Sat, 09 May 2020 07:08:39 -0700