Loading...
Searching...
No Matches
GpState.h File Reference
#include <string>
#include "../../structures/Structures.h"

Go to the source code of this file.

Classes

struct  gpr::io::TrainedGpState

Namespaces

namespace  gpr
 Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
namespace  gpr::neb
 The nudged elastic band: path, GP-NEB driver, configuration and result, acquisition, IDPP start.
namespace  gpr::io

Functions

void gpr::io::saveTrainedGpState (const std::string &path, const GaussianProcessRegression &gp, const Observation &observations, const AtomsConfiguration &atoms)
 Write gp-state.npz. A second save of the same state is the same bytes.
TrainedGpState gpr::io::loadTrainedGpState (const std::string &path)
TrainedGpState gpr::io::observationState (const Observation &observations)
 A state that carries observations and no pair kernel.
bool gpr::io::applyTrainedGpState (GaussianProcessRegression &gp, const TrainedGpState &state, const AtomsConfiguration &atoms, bool require_identity)
void gpr::io::refuseNonFiniteSeedRows (const Observation &observations, Eigen::Index expected_cols)
int gpr::io::seedSession (neb::ActiveLearningSession &session, const TrainedGpState &state, bool require_identity, Eigen::Index expected_cols)
std::string gpr::io::resolveGpStatePath (const std::string &spec, bool restart)
std::string gpr::io::outputDirectory (const std::string &output_path)
 Directory of an output path, or . when the path has no directory.