|   | If you have multiple columns, each one representing a separate output class, you can use MAXINDEX to select the "winning class." You can then train with a single output column rather than multiple output columns. For example, V4 = MAXINDEX(V1:V3) would do the following: | 
| Creates a new column named TEMP containing the value two (since the maximum value is five, which occurs in the second column). | 
| Creates a new column named TEMP with each value representing the index of the maximum value of the corresponding row across the columns V6, V7, and V8. A one is returned if the maximum is in column V6, a two if the maximum is in column V7, and a three if the maximum is in column V8. | 
| Creates a new column named TEMP, where the cells in rows 1-5 contain a value representing the index of the maximum value of the corresponding row across columns V1 through V3. The other cells in TEMP are empty. | 
| Copyright IBM Corporation 2015. All Rights Reserved. |