# Reshape a GEV CDN weight vector

### Description

Reshapes a weight vector used during fitting of the GEV CDN model into input-hidden and hidden-output layer weight matrices.

### Usage

1 | ```
gevcdn.reshape(x, weights, n.hidden)
``` |

### Arguments

`x` |
covariate matrix with number of rows equal to the number of samples and number of columns equal to the number of variables. |

`weights` |
weight vector of length returned by |

`n.hidden` |
number of hidden nodes in the GEV CDN model. |

### See Also

`gevcdn.initialize`