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

Â