CPU neural surrogate with an optional first stage for ancillary observations.
More...
CPU neural surrogate with an optional first stage for ancillary observations.
Train a PyTorch MLP on encoded genome rows.
With ancillary targets, a first network predicts them. A second
network consumes the encoded genome and those predictions to
predict fitness and descriptors. Both losses train the first network.
When auxiliary targets are absent, train only the second network.
Definition at line 42 of file dsage.py.