export2gams: Export neural nets weights and biases to .csv and write gams...

Description Usage Arguments Author(s)

View source: R/export2gams.R

Description

Save and export model weights and biases for use in GAMS reconstruction of neural networks.

Usage

1
export2gams(model, module, means, stddevs, min, max, inputs_vec, type, model_hash, flag)

Arguments

model

trained model

module

magpie module number and name

means

named vector with feature means

stddevs

named vetor with feature std

min

min scaling parameter

max

max scaling parameter

model_hash

model id hash

flag

flag used to identify the label column

inputs_vec

vector with input column names

type

Letter used to identify the dataset being used

Author(s)

Marcos Alves mppalves@gmail.com


mppalves/mrscpmule documentation built on Sept. 2, 2021, 9:50 p.m.