## [notes] keras introduction; Installation; General process of using keras; Introduction to Dense method; Define the model using the Sequential method

Introduction: 1) What is Keras? Keras is an advanced neural network API written in Python, which can run with TensorFlow, CNTK, or Theano as the back end. The development of keras focuses on supporting fast experiments, and the ability to convert your ideas into experimental results with minimal delay is the key to good research. In particula ...

Posted by rrhody on Mon, 29 Nov 2021 21:18:51 -0800

## The sixth day of punch in learning on November 28, 2021 (Application of structure)

Structure can systematically link several variables together, which can solve a lot of trouble in some examples. Examples are as follows: To register patients for medical treatment, prepare a procedure to arrange the registered patients in the order of medical treatment according to the following principles: Elderly (age ≥ 60)   Age) ...

Posted by chodges on Sun, 28 Nov 2021 12:12:19 -0800

## Skillfully solving mathematical problems with C + + algorithm

Skillfully solve mathematical problems Using C + + to solve classical mathematical problems 1. Common multiples and common factors Using the rolling division method, we can easily obtain the greatest common divisor (gcd) of two numbers; Multiply the two numbers and divide by the greatest common factor to obtain the least common multiple (LCM ...

Posted by bdee1 on Fri, 19 Nov 2021 11:17:57 -0800

## least square method

least square method What is the essence of least squares Taking measuring the length with different rulers as an example, several measured values are obtained. How to determine the true value? "y, which minimizes the sum of squares of errors, is the true value." this is based on the fact that if the error is random, the measured ...

Posted by britey on Fri, 19 Nov 2021 02:12:36 -0800

## Modeling learning clock in the second day

Still follow @Sichuan rookie   Punch in · the next day Article catalog 1, This question 1. Use the knowledge learned on the first day to solve: 2. Understanding of this question: (1) Branch definition method Background: Basic theory (problem solving steps): Solution implementation 1: Result 1: optimal solution: x1 = 4, x2 ...

Posted by ranbla on Mon, 08 Nov 2021 09:36:56 -0800

## Matlab code of Zernike polynomial

1. Theory introduction:           Zernike polynomial  (Netherlands) physical scientistFrits Zernike )Is a polynomial sequence defined on the unit circle and satisfying orthogonality, which can be written as: Among them, Is the j-th Zernike mode, 0 ≤ r ≤ 1, 0 ≤ θ ≤ 2 π, m and N are the angul ...

Posted by jawinn on Tue, 19 Oct 2021 19:17:14 -0700

## python numpy Library -- Learning

import numpy as np Create an empty vector of length 10: Z = np.zeros(10) print(Z) How to find the memory size of any array Z = np.zeros((10,10)) print("%d bytes" % (Z.size * Z.itemsize)) Create a vector with a range of 10 to 49 # Z = np.arange(10,50) # print(Z) Invert a vector (the first element becomes the last) # Z = np.arange(50) ...

Posted by phpr0ck5 on Thu, 14 Oct 2021 19:10:52 -0700

## Points in triangles, circles, rectangles

1, Round Judge the distance from the point to the center of the circle, and then compare the distance with the radius of the circle. Less than is on the inside of the circle, equal to the edge of the re circle, greater than the outside of the re circle. bool CScenes::IsPointInCir(CPoint point)//Point is a point from the outside { int dis,x,y ...

Posted by shivani.shm on Wed, 13 Oct 2021 22:46:42 -0700

## Java implementation uses Floyd algorithm to solve the shortest path problem

14.9 Freudian algorithm 14.9.1 introduction to Floyd algorithm Like Dijkstra algorithm, Floyd algorithm is also an algorithm for finding the shortest path between vertices in a given weighted graph. The algorithm is named after Robert Freud, one of the founders, the winner of the Turing prize in 1978 and professor of computer science at Stanf ...

Posted by auamy on Tue, 12 Oct 2021 17:44:37 -0700

## STM32 timer matrix function implementation

catalog: 1, What is a timer matrix 2, Timer matrix principle 3, Timer matrix code implementation 4, Timer matrix verification 1, What is a timer matrix In product development, we often encounter some different timing requirements, such as key shaking elimination, LED flashing once per second and several times every few second ...

Posted by ineedhelpbigtime on Tue, 12 Oct 2021 17:25:13 -0700