Ridge and lasso regression

In this Persian tutorial, we work on the concrete dataset and run a Ridge regression and Lasso regression model in Python on it.

This video has been uploaded to both YouTube and Aparat.

Download Dataset:

Link:

https://archive.ics.uci.edu/ml/machine-learning-databases/concrete/compressive/Concrete_Data.xls

Concrete Compressive Strength:

Data Type: multivariate

Abstract: Concrete is the most important material in civil engineering. The
concrete compressive strength is a highly nonlinear function of age and
ingredients. These ingredients include cement, blast furnace slag, fly ash,
water, superplasticizer, coarse aggregate, and fine aggregate.


Sources:

Original Owner and Donor
Prof. I-Cheng Yeh
Department of Information Management
Chung-Hua University,
Hsin Chu, Taiwan 30067, R.O.C.
e-mail:icyeh@chu.edu.tw
TEL:886-3-5186511

Date Donated: August 3, 2007


Data Characteristics:

The actual concrete compressive strength (MPa) for a given mixture under a
specific age (days) was determined from laboratory. Data is in raw form (not scaled).

Summary Statistics:

Number of instances (observations): 1030
Number of Attributes: 9
Attribute breakdown: 8 quantitative input variables, and 1 quantitative output variable
Missing Attribute Values: None


Variable Information:

Given is the variable name, variable type, the measurement unit and a brief description.
The concrete compressive strength is the regression problem. The order of this listing
corresponds to the order of numerals along the rows of the database.

Name — Data Type — Measurement — Description

Cement (component 1) — quantitative — kg in a m3 mixture — Input Variable
Blast Furnace Slag (component 2) — quantitative — kg in a m3 mixture — Input Variable
Fly Ash (component 3) — quantitative — kg in a m3 mixture — Input Variable
Water (component 4) — quantitative — kg in a m3 mixture — Input Variable
Superplasticizer (component 5) — quantitative — kg in a m3 mixture — Input Variable
Coarse Aggregate (component 6) — quantitative — kg in a m3 mixture — Input Variable
Fine Aggregate (component 7) — quantitative — kg in a m3 mixture — Input Variable
Age — quantitative — Day (1~365) — Input Variable
Concrete compressive strength — quantitative — MPa — Output Variable

Leave a Reply

Your email address will not be published. Required fields are marked *