115703020052 Wu Daoyu Third Test

Source: Internet
Author: User

Computer Experiment Report of Guizhou Normal University

Course Name: Artificial Intelligence class : level meter This experiment Date: 5.6

School Number: 115703020052 Name: Wu Daoyu

First, the name of the experiment

Linear Regression Prediction System

Second, the purpose and requirements of the experiment:

The basic method of understanding and mastering linear regression prediction can be programmed to implement a simple linear regression prediction system.

1, familiar with MATLAB programming language;

2, the linear regression prediction function, the cost function design and implementation;

3, using gradient descent algorithm for parameter learning;

Third, the experimental tools

Matlab

Iv. contents of the experiment

1, installation programming tools: Octave,:

2, after installation octave, double-click the corresponding icon to open the desktop: You can use the command line to run the program, the commonly used commands are as follows:

(1) Change the current directory command: CD

(2) Show current path command: pwd

(3) Show when directory command: LS

(4) Clear command: CLC

3, use notepad++ Editor to open the File New key folder-ex1 inside the program.

4, using notepad++ code editing software to edit the existing code to fill, because the Octave software does not have editing capabilities. Drag the cost function into and write to the prediction function.

5. The experimental results are as follows:

V. Conclusion

Through this experiment, we understand the function of Octave-3.2.4 and notepad++ and the prediction method of linear regression and how to design and implement the cost function, so that the Octave can achieve the desired result at run time. At the same time, learn Octave-3.2.4 and notepad++ configuration of some methods, but there are many problems need to strengthen practice.

115703020052 Wu Daoyu Third Test

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.