Summary of Wu Enda's machine learning code and related knowledge points -- ex3 (1. Neural network)

Analysis of python matrix multiplication (multiply / maumull / * / @) 1. Load data def load_data(path,transpose=True): data=sio.loadmat(path) y=data.get("y")#before reshape:(5000, 1) y=y.reshape(y.shape[0]) X=data.get("X")#(5000,400),(400,) if transpose: #Vectorization, so ...

Posted by zdzislaw on Fri, 28 Feb 2020 03:47:24 -0800

Simple UDP communication between Simulink and Python

UDP communication between Simulink and Python This paper summarizes the recent tasks, uses UDP to realize the communication between simulink and python, and focuses on the code of the Python udp receiver (see for the usage of python socket Previous: basic usage of socket module in python) In fact, the ...

Posted by tommmmm on Tue, 04 Feb 2020 02:30:07 -0800

Machine Learning Andrew Ng -5. Octave Tutrial (Matlab)

5.1 Basic operations 5.2 Moving data around 5.3 Computing on data 5.4 Plotting data 5.5 For while if statement and functions 5.6 Vectorization After reading the first two lessons, I think matlab seems to be the same as octave, so I plan to use matlab to learn the fifth lesson basic operation ?? ...

Posted by ponsho on Sat, 18 Jan 2020 10:07:55 -0800

Icing on the cake for the first snow in 2020: use matplotlib to draw snowflakes and snow scenes

A heavy snow covered North and East China. The heaven and the earth are linked together, and the city is covered in silver, which is full of poetic and picturesque feelings, and everyone is in high spirits. Friends circle is painted by snow pictures and jokes about road skating and wrestling, and the at ...

Posted by redtux on Mon, 13 Jan 2020 05:13:45 -0800

[Matlab] PCA dimension reduction to realize face recognition (with learning materials, code program, notes and operation results)

PCA face recognition with Matlab Winter vacation is coming, Mr. Wang summed up some of the things he learned in this semester, and came to share with you. 1, Theoretical knowledge basis 1. Experience sharing of some predecessors (not limited to these) (1)PCA face recognition: a must for beginner ...

Posted by metkat on Fri, 10 Jan 2020 05:59:41 -0800

The generation of matlab combination sequence, bijection function of sequence and sequence number

Label (space separated): matlab combination algorithm mapping Article directory Label (space separated): matlab combination algorithm mapping @[toc] The generation of matlab combination sequence, bijection function of sequence and sequence number 1.1 generating combined sequences 1.2 mapping of composite sequences to ord ...

Posted by Daniello on Sat, 21 Dec 2019 12:47:22 -0800

MATLAB problem notes

1. Operating system: Linux mint 19.2 2.MATLAB version R2017b 3. Problem Description: Open the help document of MATLAB and view it. After closing the help document, Matlab is stuck. After a period of time, it will report: Exception in thread "AWT-EventQueue-0" com.teamdev.jxbrowser.chromium.internal.ipc.IPCException: Failed to execute shutdo ...

Posted by filippe on Sun, 15 Dec 2019 06:35:40 -0800

The basis of matplotlib -- the use of pyplot

I. Basic Concepts (composition) matplotlib consists of three layers: scripting, artist and backend In the whole matplotlib, all the elements that can be seen in the graph belong to Artist object, that is, all the elements composed of title, axis label, scale, etc. are instances of Artist object (1) if Artist is compared to dr ...

Posted by arsitek on Wed, 11 Dec 2019 01:15:39 -0800

c + + Foundation (6): matlab time conversion, ascii to char and time format conversion

Let the output start and end time, did not expect that matlab is output like this, feel egg pain incomparably in an instant 5.0000000e+01 4.8000000e+01 4.9000000e+01 5.6000000e+01 4.5000000e+01 4.9000000e+01 5.0000000e+01 4.5000000e+01 5.0000000e+01 4.8000000e+01 3.2000000e+01 4.9000000e+01 5.7000000e+01 ...

Posted by Anidazen on Sat, 07 Dec 2019 00:23:01 -0800

The basic operations of Python numpy are not common to you

The text and pictures of this article are from the Internet, only for learning and communication, not for any commercial purpose. The copyright belongs to the original author. If you have any questions, please contact us in time for handling.   PS: if you need the latest Python learning materials, you can click the link below to get the ...

Posted by eric1235711 on Thu, 28 Nov 2019 05:50:18 -0800