Linear regression is a common regression analysis method used in mathematical statistics. The method can be used to find the quantitative relationships between two or more variables. This topic describes how to use linear regression to predict the repayment ability of agricultural loan applicants based on historical loan records.
Background information
Repayment ability prediction is a typical process of data mining. A loan lender can
construct an empirical model based on historical statistics about loan applicants,
such as annual incomes, crop types, and loan records. Then, the lender can use the
model to predict the repayment ability of loan applicants.
Note The datasets that are used in this topic are for experimental use only.
Dataset
The following table describes the fields in the datasets that are used in this topic.
Field | Data type | Description |
---|---|---|
id | STRING | The unique ID of the applicant. |
name | STRING | The name of the applicant. |
region | STRING | The geographic region where the applicant resides. Valid values: north, middle, and south. |
farmsize | DOUBLE | The farmland size. |
rainfall | DOUBLE | The rainfall in the region. |
landquality | DOUBLE | The farmland quality. A greater value of this parameter is preferred. |
farmincome | DOUBLE | The annual income of the applicant. |
maincrop | STRING | The crop type. |
claimtype | STRING | The loan type. |
claimvalue | DOUBLE | The loan amount. |
Procedure
- Go to the Machine Learning Studio console.
- Log on to the PAI console.
- In the left-side navigation pane, choose .
- On the PAI Visualization Modeling page, find the project in which you want to create an experiment and click Machine Learning in the Operation column.
- Create an experiment.
- Run the experiment and view the result.
- In the top toolbar of the canvas, click Run.
- After the experiment is run, right-click Lendee_Filtering and mapping on the canvas and select View Data. In the dialog box that appears, you can view the applicants who are eligible to receive loans.