Table 2 One-hot encoding of coating and soil type.
From: Interpretable machine learning for maximum corrosion depth and influence factor analysis
Variable | Â | One-hot code | Â | ||||
|---|---|---|---|---|---|---|---|
| Â | Â | Class_C | Class_CL | Class_SC | Class_SCL | Class_SL | Class_SYCL |
Class | C | 1 | 0 | 0 | 0 | 0 | 0 |
| Â | CL | 0 | 1 | 0 | 0 | 0 | 0 |
| Â | SC | 0 | 0 | 1 | 0 | 0 | 0 |
| Â | SCL | 0 | 0 | 0 | 1 | 0 | 0 |
| Â | SL | 0 | 0 | 0 | 0 | 1 | 0 |
| Â | SYCL | 0 | 0 | 0 | 0 | 0 | 1 |
| Â | Â | ct_AEC | ct_CTC | ct_FBE | ct_NC | ct_WTC | Â |
|---|---|---|---|---|---|---|---|
ct | AEC | 1 | 0 | 0 | 0 | 0 | Â |
| Â | CTC | 0 | 1 | 0 | 0 | 0 | Â |
| Â | FBE | 0 | 0 | 1 | 0 | 0 | Â |
| Â | NC | 0 | 0 | 0 | 1 | 0 | Â |
| Â | WTC | 0 | 0 | 0 | 0 | 1 | Â |