# CS506 Lab: Defective Cookie Detection — Data

来源：https://www.kaggle.com/competitions/cs506-lab-defective-cookie-detection/data

采集时间：2026-10-20T12:52:35Z

The dataset is derived from cookies I made for a birthday party and my friends who assisted in measuring sensory data.

## Files

*   **cookie_train.csv** - the training set
*   **cookie_test.csv** - the test set

## Data Format

Below are the features in the dataset and their measurement techniques:

* **Texture Hardness**: This feature is a measure of how hard or soft the cookie is. This is measured using a penetrometer, and the possible values are in Newtons (N).

* **Texture Chewiness**: This feature is a measure of how much force is required to chew the cookie. This is measured using a texture analyzer, and the possible values are in N.

* **Texture Crispiness**: This feature is a measure of how crispy or crunchy the cookie is. This is measured using an acoustic measurement system, and the possible values are in arbitrary units.

* **Color L***: This feature is a measure of the lightness of the cookie. This is measured using a colorimeter, and the possible values are between 0 (black) and 100 (white).

* **Color a***: This feature is a measure of the redness or greenness of the cookie. This is measured using a colorimeter, and the possible values are between -128 (green) and 127 (red).

* **Color b***: This feature is a measure of the yellowness or blueness of the cookie. This is measured using a colorimeter, and the possible values are between -128 (blue) and 127 (yellow).

* **Taste Sweetness**: This feature is a measure of how sweet the cookie tastes. This is measured using a sensory evaluation method, and the possible values are on a scale from 0 (not sweet) to 10 (extremely sweet).

* **Taste Saltiness**: This feature is a measure of how salty the cookie tastes. This is measured using a sensory evaluation method, and the possible values are on a scale from 0 (not salty) to 10 (extremely salty).

* **Taste Bitterness**: This feature is a measure of how bitter the cookie tastes. This is measured using a sensory evaluation method, and the possible values are on a scale from 0 (not bitter) to 10 (extremely bitter).

* **Shape Diameter**: This feature is a measure of the diameter of the cookie. This is measured using a caliper, and the possible values are in millimeters (mm).

* **Shape Thickness**: This feature is a measure of the thickness of the cookie. This is measured using a caliper, and the possible values are in mm.

* **Smell Intensity**: This feature is a measure of how strong the cookie smells. This is measured using a sensory evaluation method, and the possible values are on a scale from 0 (no smell) to 10 (extremely strong smell).

* **Smell Complexity**: This feature is a measure of how complex the aroma of the cookie is. This is measured using a sensory evaluation method, and the possible values are on a scale from 0 (no complexity) to 10 (extremely complex aroma).

* **Smell Specific Compound**: This feature is a measure of the presence and intensity of a specific aroma compound in the cookie. This is measured using gas chromatography-mass spectrometry (GC-MS), and the possible values are in arbitrary units.

* **Detected Chemical**: This feature is a measure of what prevalent chemical was detected in the cookie, measured using chromatography. The possible values are just the chemical name.

* **Defective**: This is the target variable that indicates whether the cookie is defective or not. The possible values are 0 (not defective) and 1 (defective).