openprotein.models
SDK release/v0.18.0Use session.models to run a model. If you know which model you want, use a named accessor such as session.models.esm2. To browse available models, call session.models.list_models(). To look up a model by ID, call session.models.get_model(model_id).
With an authenticated session, submit an embedding job and wait for its result:
model = session.models.esm2
job = model.embed(["ACDEFGHIK"], reduction="MEAN")
embedding = job.wait(timeout=600)[0]
print(embedding.shape) # (D,): one pooled NumPy vectorSee Task results for result types and Jobs for reloading jobs and reading named outputs.
54source
Models
Each section lists the model's checkpoint IDs and Python accessors, with examples for its default checkpoint.
Trainable models
OpenProtein-developed conditional and multi-modal protein language model that embeds, scores, and generates sequences conditioned on an input protein family.
Understanding protein function with a multimodal retrieval-augmented foundation model · GitHub
The PoET2 class below is the interface for poet-2. It supports sequence tasks and fitting downstream models.
from openprotein.molecules import Protein
model = session.models.poet2
msa = session.align.create_msa("MKTAYIAKQRQISFVKSHFSRQ")
prompt = msa.sample_prompt(num_sequences=10)
backbone = Protein.from_filepath("backbone.cif", chain_id="A")
job = model.embed(["MKTAYIAKQRQISFVKSHFSRQ"], reduction="MEAN", prompt=prompt)
embeddings = job.wait()
print(embeddings[0].shape)
job = model.logits(["MKTAYIAKQRQISFVKSHFSRQ"], prompt=prompt)
logits = job.wait()
print(logits[0].shape)
job = model.attn(["MKTAYIAKQRQISFVKSHFSRQ"], prompt=prompt)
attention = job.wait()
print(attention[0].shape)
job = model.score(["MKTAYIAKQRQISFVKSHFSRQ"], prompt=prompt)
log_likelihoods = job.wait()
print(log_likelihoods[0])
job = model.single_site("MKTAYIAKQRQISFVKSHFSRQ", prompt=prompt)
substitution_scores = job.wait()
print(substitution_scores[0])
job = model.indel("MKTAYIAKQRQISFVKSHFSRQ", insert="A", prompt=prompt)
indel_scores = job.wait()
print(indel_scores[0])
job = model.generate(prompt=prompt, query=backbone)
sequences = job.wait()
print(sequences[0])12source
Boltz-2 all-atom structure prediction model that jointly predicts complex structure and ligand binding affinity. Predicts protein, DNA, RNA and ligand complexes, with optional constraints, templates and experimental-method conditioning.
Boltz-2: Towards Accurate and Efficient Binding Affinity Prediction · GitHub
from openprotein.molecules import Protein
model = session.models.boltz2
protein = Protein("MKTAYIAKQRQISFVKSHFSRQ")
protein.msa = session.align.create_msa("MKTAYIAKQRQISFVKSHFSRQ")
job = model.fold(protein)
structure = job.wait()[0]
conformation = structure[0]
chain = next(iter(conformation.values()))
print(chain.sequence.decode())
print(chain.coordinates.shape) # (L, 37, 3): residues, atom slots, xyzDe novo protein backbone generation by diffusion.
De novo design of protein structure and function with RFdiffusion · GitHub
The RFdiffusion class below accepts the supported design inputs. For legacy reloads, see RFdiffusionFuture.
| Model ID | Accessors | Interface |
|---|---|---|
rfdiffusion | rfdiffusion | RFdiffusion |
from openprotein.molecules import Protein
model = session.models.rfdiffusion
query = Protein.from_expr(80)
job = model.generate(query=query)
design = job.wait()[0]
for chain_id, chain in design.items():
if isinstance(chain, Protein):
print(chain_id, chain.sequence.decode(), chain.coordinates.shape)ESM2 masked protein language model trained on UniRef50. Its checkpoints share training data and objective, and differ in size.
650M parameters over 33 layers.
Evolutionary-scale prediction of atomic level protein structure with a language model · GitHub
ESM2 (150M). 150M parameters over 30 layers.
ESM2 (35M). 35M parameters over 12 layers.
ESM2 (3B). 3B parameters over 36 layers.
ESM2 (8M). 8M parameters over 6 layers.
| Model ID | Accessors | Interface |
|---|---|---|
esm2_t33_650M_UR50D | esm2 (alias of esm2_t33_650M_UR50D), esm2_t33_650M_UR50D | ESM2 |
esm2_t30_150M_UR50D | esm2_t30_150M_UR50D | ESM2 |
esm2_t12_35M_UR50D | esm2_t12_35M_UR50D | ESM2 |
esm2_t36_3B_UR50D | esm2_t36_3B_UR50D | ESM2 |
esm2_t6_8M_UR50D | esm2_t6_8M_UR50D | ESM2 |
model = session.models.esm2
job = model.embed(["MKTAYIAKQRQISFVKSHFSRQ"], reduction=None)
embedding = job.wait()[0]
print(embedding.shape) # (T, D): tokens (including special tokens), features
job = model.logits(["MKTAYIAKQRQISFVKSHFSRQ"])
logits = job.wait()
print(logits[0].shape)
job = model.attn(["MKTAYIAKQRQISFVKSHFSRQ"])
attention = job.wait()
print(attention[0].shape)
job = model.single_site("MKTAYIAKQRQISFVKSHFSRQ")
substitution_scores = job.wait()
print(substitution_scores[0])Message-passing inverse-folding model that designs sequences for a fixed protein backbone.
The original weights, trained on protein structures from the PDB.
Robust deep learning-based protein sequence design using ProteinMPNN · GitHub
SolubleMPNN. Weights trained on soluble proteins only, for designing soluble sequences.
The ProteinMPNN class below is the interface for proteinmpnn and solublempnn, a checkpoint trained on soluble proteins. It generates and scores sequences.
| Model ID | Accessors | Interface |
|---|---|---|
proteinmpnn | proteinmpnn | ProteinMPNN |
solublempnn | solublempnn | ProteinMPNN |
from openprotein.molecules import Protein
model = session.models.proteinmpnn
query = Protein.from_filepath("backbone.cif", chain_id="A")
job = model.score([query.sequence], query=query)
log_likelihoods = job.wait()
print(log_likelihoods[0])
job = model.single_site(query.sequence, query=query)
substitution_scores = job.wait()
print(substitution_scores[0])
job = model.embed([query.sequence], query=query)
embeddings = job.wait()
print(embeddings[0].shape)
job = model.generate(query=query)
sequences = job.wait()
print(sequences[0])OpenDDE all-atom co-folding model (opendde_v1, 656M parameters). Folds protein/DNA/RNA/ligand/ion complexes in one structure, optionally conditioned on an MSA.
The general-purpose checkpoint.
Folding, Reasoning, and Scaling with Open-source Drug Discovery Engine
OpenDDE-abag. OpenDDE antibody-antigen model: the opendde_v1 architecture with a checkpoint tuned on antibody-antigen complexes. Same inputs and outputs as opendde.
| Model ID | Accessors | Interface |
|---|---|---|
opendde | opendde | OpenDDE |
opendde-abag | opendde_abag | OpenDDE |
from openprotein.molecules import Protein
model = session.models.opendde
protein = Protein("MKTAYIAKQRQISFVKSHFSRQ")
protein.msa = session.align.create_msa("MKTAYIAKQRQISFVKSHFSRQ")
job = model.fold(protein)
structure = job.wait()[0]
conformation = structure[0]
chain = next(iter(conformation.values()))
print(chain.sequence.decode())
print(chain.coordinates.shape) # (L, 37, 3): residues, atom slots, xyzInverse-folding model: scores and designs sequences for a fixed backbone.
Learning inverse folding from millions of predicted structures · GitHub
The ESMIF1 class below is the interface for esm-if1.
from openprotein.molecules import Protein
model = session.models.esmif1
query = Protein.from_filepath("backbone.cif", chain_id="A")
job = model.score([query.sequence], query=query)
log_likelihoods = job.wait()
print(log_likelihoods[0])
job = model.single_site(query.sequence, query=query)
substitution_scores = job.wait()
print(substitution_scores[0])
job = model.generate(query=query)
sequences = job.wait()
print(sequences[0])ESM Cambrian (ESMC) protein language model, trained on protein sequences from UniRef, MGnify, and JGI.
600M parameters.
Language Modeling Materializes a World Model of Protein Biology · GitHub
ESMC (300M). 300M parameters.
ESMC (6B). 6B parameters.
model = session.models.esmc_600m
job = model.embed(["MKTAYIAKQRQISFVKSHFSRQ"], reduction="MEAN")
embeddings = job.wait()
print(embeddings[0].shape)
job = model.logits(["MKTAYIAKQRQISFVKSHFSRQ"])
logits = job.wait()
print(logits[0].shape)
job = model.attn(["MKTAYIAKQRQISFVKSHFSRQ"])
attention = job.wait()
print(attention[0].shape)
job = model.single_site("MKTAYIAKQRQISFVKSHFSRQ")
substitution_scores = job.wait()
print(substitution_scores[0])ESMFold2 all-atom structure prediction model. Folds protein, DNA, RNA and ligand complexes.
Full-depth folding trunk (48 layers), optionally conditioned on an MSA.
Language Modeling Materializes a World Model of Protein Biology · GitHub
ESMFold2-Fast. Inference-optimized single-sequence variant (no MSA) whose folding trunk has half the depth (24 layers).
| Model ID | Accessors | Interface |
|---|---|---|
esmfold2 | esmfold2 | ESMFold2 |
esmfold2-fast | esmfold2_fast | ESMFold2 |
from openprotein.molecules import Protein
model = session.models.esmfold2
protein = Protein("MKTAYIAKQRQISFVKSHFSRQ")
protein.msa = session.align.create_msa("MKTAYIAKQRQISFVKSHFSRQ")
job = model.fold(protein)
structure = job.wait()[0]
conformation = structure[0]
chain = next(iter(conformation.values()))
print(chain.sequence.decode())
print(chain.coordinates.shape) # (L, 37, 3): residues, atom slots, xyzProtenix-v2 model — enhanced-capacity 464M-parameter variant with improved antibody-antigen structure prediction and ligand plausibility.
Protenix-v2: Broadening the Reach of Structure Prediction and Biomolecular Design · GitHub
| Model ID | Accessors | Interface |
|---|---|---|
protenix-v2 | protenix_v2 | ProtenixV2 |
from openprotein.molecules import Protein
model = session.models.protenix_v2
protein = Protein("MKTAYIAKQRQISFVKSHFSRQ")
protein.msa = session.align.create_msa("MKTAYIAKQRQISFVKSHFSRQ")
job = model.fold(protein)
structure = job.wait()[0]
conformation = structure[0]
chain = next(iter(conformation.values()))
print(chain.sequence.decode())
print(chain.coordinates.shape) # (L, 37, 3): residues, atom slots, xyzAntibody-specific language model for paired heavy/light chains.
Addressing the antibody germline bias and its effect on language models for improved antibody design · GitHub
model = session.models.ablang2
paired = "EVQLVESGGGLVQPGGSLRLSCAAS:DIQMTQSPSSLSASVGDRVTITC"
job = model.embed([paired], reduction="MEAN")
embeddings = job.wait()
print(embeddings[0].shape)
job = model.logits([paired])
logits = job.wait()
print(logits[0].shape)
job = model.single_site(paired)
substitution_scores = job.wait()
print(substitution_scores[0])Protenix all-atom structure prediction model from ByteDance, an open-source reproduction of AlphaFold3. Predicts protein, DNA, RNA and ligand complexes, with optional templates.
Protenix: Advancing Structure Prediction Through a Comprehensive Folding Model · GitHub
from openprotein.molecules import Protein
model = session.models.protenix
protein = Protein("MKTAYIAKQRQISFVKSHFSRQ")
protein.msa = session.align.create_msa("MKTAYIAKQRQISFVKSHFSRQ")
job = model.fold(protein)
structure = job.wait()[0]
conformation = structure[0]
chain = next(iter(conformation.values()))
print(chain.sequence.decode())
print(chain.coordinates.shape) # (L, 37, 3): residues, atom slots, xyzAll-atom generative diffusion model that designs protein binders against proteins, nucleic acids or small molecules.
BoltzGen: Toward Universal Binder Design
The BoltzGen class below is the interface for boltzgen. For legacy reloads, see BoltzGenFuture.
from openprotein.molecules import Complex, Protein
model = session.models.boltzgen
target = Protein.from_filepath("target.cif", chain_id="A")
binder = Protein.from_expr(80)
query = Complex({"A": target, "B": binder})
job = model.generate(query=query)
design = job.wait()[0]
for chain_id, chain in design.items():
if isinstance(chain, Protein):
print(chain_id, chain.sequence.decode(), chain.coordinates.shape)RosettaFold-3 (RF3) all-atom structure prediction model, competitive with leading open-source models. Trained with implicit chirality and atom-level geometric conditioning, which helps on chiral ligands. Predicts protein and ligand complexes from an MSA.
Accelerating Biomolecular Modeling with AtomWorks and RF3 · GitHub
| Model ID | Accessors | Interface |
|---|---|---|
rosettafold-3 | rf3 (alias of rosettafold_3), rosettafold_3 | RosettaFold3 |
from openprotein.molecules import Protein
model = session.models.rf3
protein = Protein("MKTAYIAKQRQISFVKSHFSRQ")
protein.msa = session.align.create_msa("MKTAYIAKQRQISFVKSHFSRQ")
job = model.fold(protein)
structure = job.wait()[0]
conformation = structure[0]
chain = next(iter(conformation.values()))
print(chain.sequence.decode())
print(chain.coordinates.shape) # (L, 37, 3): residues, atom slots, xyzMiniFold single-sequence structure prediction: a 48-block folding trunk over esm2_t36_3B_UR50D embeddings.
MiniFold: Simple, Fast, and Accurate Protein Structure Prediction · GitHub
model = session.models.minifold
job = model.fold("MKTAYIAKQRQISFVKSHFSRQ")
structure = job.wait()[0]
conformation = structure[0]
chain = next(iter(conformation.values()))
print(chain.sequence.decode())
print(chain.coordinates.shape) # (L, 37, 3): residues, atom slots, xyzBoltz-1 open-source all-atom structure prediction model, approaching AlphaFold3 accuracy. Predicts protein, DNA, RNA and ligand complexes, with optional constraints.
The base model, with inference-time potentials optional.
Boltz-1: Democratizing Biomolecular Interaction Modeling · GitHub
Boltz-1x. Boltz-1's weights with Boltz-steering: inference-time potentials that fix steric clashes, bond geometry and chirality for more physically plausible poses.
| Model ID | Accessors | Interface |
|---|---|---|
boltz-1 | boltz1 (alias of boltz_1), boltz_1 | Boltz1 |
boltz-1x | boltz1x (alias of boltz_1x), boltz_1x | Boltz1 |
from openprotein.molecules import Protein
model = session.models.boltz1
protein = Protein("MKTAYIAKQRQISFVKSHFSRQ")
protein.msa = session.align.create_msa("MKTAYIAKQRQISFVKSHFSRQ")
job = model.fold(protein)
structure = job.wait()[0]
conformation = structure[0]
chain = next(iter(conformation.values()))
print(chain.sequence.decode())
print(chain.coordinates.shape) # (L, 37, 3): residues, atom slots, xyzesmfold_v1 model with 690M parameters, running on top of esm2_t36_3B_UR50D with 3B parameters.
Evolutionary-scale prediction of atomic level protein structure with a language model · GitHub
model = session.models.esmfold
job = model.fold("MKTAYIAKQRQISFVKSHFSRQ")
structure = job.wait()[0]
conformation = structure[0]
chain = next(iter(conformation.values()))
print(chain.sequence.decode())
print(chain.coordinates.shape) # (L, 37, 3): residues, atom slots, xyzESM-1 masked protein language model with 650M parameters over 33 layers.
ESM-1b, trained on UniRef50.
Biological Structure and Function Emerge from Scaling Unsupervised Learning to 250 Million Protein Sequences · GitHub
ESM1v-1. ESM-1v, trained on UniRef90 for zero-shot prediction of mutation effects. Ensemble member 1 of 5. Language models enable zero-shot prediction of the effects of mutations on protein function · GitHub
ESM1v-2. ESM-1v, trained on UniRef90 for zero-shot prediction of mutation effects. Ensemble member 2 of 5. Language models enable zero-shot prediction of the effects of mutations on protein function · GitHub
ESM1v-3. ESM-1v, trained on UniRef90 for zero-shot prediction of mutation effects. Ensemble member 3 of 5. Language models enable zero-shot prediction of the effects of mutations on protein function · GitHub
ESM1v-4. ESM-1v, trained on UniRef90 for zero-shot prediction of mutation effects. Ensemble member 4 of 5. Language models enable zero-shot prediction of the effects of mutations on protein function · GitHub
ESM1v-5. ESM-1v, trained on UniRef90 for zero-shot prediction of mutation effects. Ensemble member 5 of 5. Language models enable zero-shot prediction of the effects of mutations on protein function · GitHub
| Model ID | Accessors | Interface |
|---|---|---|
esm1b_t33_650M_UR50S | esm1b (alias of esm1b_t33_650M_UR50S), esm1b_t33_650M_UR50S | ESM1 |
esm1v_t33_650M_UR90S_1 | esm1v (alias of esm1v_t33_650M_UR90S_1), esm1v_t33_650M_UR90S_1 | ESM1 |
esm1v_t33_650M_UR90S_2 | esm1v_t33_650M_UR90S_2 | ESM1 |
esm1v_t33_650M_UR90S_3 | esm1v_t33_650M_UR90S_3 | ESM1 |
esm1v_t33_650M_UR90S_4 | esm1v_t33_650M_UR90S_4 | ESM1 |
esm1v_t33_650M_UR90S_5 | esm1v_t33_650M_UR90S_5 | ESM1 |
model = session.models.esm1b
job = model.embed(["MKTAYIAKQRQISFVKSHFSRQ"], reduction="MEAN")
embeddings = job.wait()
print(embeddings[0].shape)
job = model.logits(["MKTAYIAKQRQISFVKSHFSRQ"])
logits = job.wait()
print(logits[0].shape)
job = model.attn(["MKTAYIAKQRQISFVKSHFSRQ"])
attention = job.wait()
print(attention[0].shape)
job = model.single_site("MKTAYIAKQRQISFVKSHFSRQ")
substitution_scores = job.wait()
print(substitution_scores[0])ProtT5-XL encoder embeddings (UniRef50).
ProtTrans: Toward Understanding the Language of Life Through Self-Supervised Learning · GitHub
model = session.models.prott5_xl
job = model.embed(["MKTAYIAKQRQISFVKSHFSRQ"], reduction="MEAN")
embeddings = job.wait()
print(embeddings[0].shape)AlphaFold2 protein structure prediction from DeepMind, run through ColabFold. Predicts single chains and protein complexes from an MSA, with optional Amber relaxation.
Highly accurate protein structure prediction with AlphaFold. · GitHub
| Model ID | Accessors | Interface |
|---|---|---|
alphafold2 | af2 (alias of alphafold2), alphafold2 | AlphaFold2 |
from openprotein.molecules import Protein
model = session.models.af2
protein = Protein("MKTAYIAKQRQISFVKSHFSRQ")
protein.msa = session.align.create_msa("MKTAYIAKQRQISFVKSHFSRQ")
job = model.fold(protein)
structure = job.wait()[0]
conformation = structure[0]
chain = next(iter(conformation.values()))
print(chain.sequence.decode())
print(chain.coordinates.shape) # (L, 37, 3): residues, atom slots, xyzOpenProtein-developed conditional protein language model that embeds, scores, and generates sequences conditioned on an input protein family.
PoET: A generative model of protein families as sequences-of-sequences · GitHub
The PoET class below is the interface for poet. PoET2, documented under PoET-2, extends it.
model = session.models.poet
msa = session.align.create_msa("MKTAYIAKQRQISFVKSHFSRQ")
prompt = msa.sample_prompt(num_sequences=10)
job = model.embed(["MKTAYIAKQRQISFVKSHFSRQ"], reduction="MEAN", prompt=prompt)
embeddings = job.wait()
print(embeddings[0].shape)
job = model.logits(["MKTAYIAKQRQISFVKSHFSRQ"], prompt=prompt)
logits = job.wait()
print(logits[0].shape)
job = model.score(["MKTAYIAKQRQISFVKSHFSRQ"], prompt=prompt)
log_likelihoods = job.wait()
print(log_likelihoods[0])
job = model.single_site("MKTAYIAKQRQISFVKSHFSRQ", prompt=prompt)
substitution_scores = job.wait()
print(substitution_scores[0])
job = model.indel("MKTAYIAKQRQISFVKSHFSRQ", insert="A", prompt=prompt)
indel_scores = job.wait()
print(indel_scores[0])
job = model.generate(prompt=prompt)
sequences = job.wait()
print(sequences[0])11source
Masked protein language model (~300M parameters) trained on UniRef50 with contact and secondary structure prediction as secondary objectives. Random Fourier position embeddings and FlashAttention for fast inference.
model = session.models.prot_seq
job = model.embed(["MKTAYIAKQRQISFVKSHFSRQ"], reduction="MEAN")
embeddings = job.wait()
print(embeddings[0].shape)
job = model.attn(["MKTAYIAKQRQISFVKSHFSRQ"])
attention = job.wait()
print(attention[0].shape)
job = model.logits(["MKTAYIAKQRQISFVKSHFSRQ"])
logits = job.wait()
print(logits[0].shape)Masked protein language model (~900M parameters) trained on UniRef100. Rotary position embeddings and FlashAttention for fast inference.
Sequences weighted inversely to their UniRef50 homolog count.
RotaProt (UniRef90-FT). RotaProt (UniRef50w) fine-tuned with sequences weighted inversely to their UniRef90 cluster size.
| Model ID | Accessors | Interface |
|---|---|---|
rotaprot-large-uniref50w | rotaprot_large_uniref50w | RotaProt |
rotaprot-large-uniref90-ft | rotaprot_large_uniref90_ft | RotaProt |
model = session.models.rotaprot_large_uniref50w
job = model.embed(["MKTAYIAKQRQISFVKSHFSRQ"], reduction="MEAN")
embeddings = job.wait()
print(embeddings[0].shape)
job = model.attn(["MKTAYIAKQRQISFVKSHFSRQ"])
attention = job.wait()
print(attention[0].shape)
job = model.logits(["MKTAYIAKQRQISFVKSHFSRQ"])
logits = job.wait()
print(logits[0].shape)Use model.methods to check which tasks a model supports. A method inherited from a shared class may not be available on every model.
For model-specific options, see the model documentation and the Models REST reference. Python keyword arguments can differ from REST request fields.
12source
12source
Task results
Model methods return futures for their submitted tasks. See how to read task results or read a fitted model.
For a specialized task future with per-position result type T, get() and wait() return list[T]. get_item() and unit reads return one T; stream() yields results in order. Bare reads select the task's primary output. Use get(output=...) or wait(output=...) to select a named output, which has its own result type.
| Future | Primary output | Type per position |
|---|---|---|
EmbeddingFuture | embeddings | numpy.ndarray |
LogitsFuture | logits | numpy.ndarray |
AttentionFuture | attn | numpy.ndarray |
LogLikelihoodFuture | loglikelihood | float, list[float], or numpy.ndarray |
SingleSiteScoreFuture | score | float, list[float], or numpy.ndarray |
IndelScoreFuture | score | float, list[float], or numpy.ndarray |
SequenceGenerationFuture | sequences | str |
PredictionFuture | predictions | dict[str, Any] |
SingleSitePredictionFuture | predictions | dict[str, Any] |
StructureDesignFuture | structures | Complex |
StructurePredictionFuture | structures | Structure, retaining all conformations |
Use session.models.SVD, session.models.UMAP and session.models.GP to create estimators. Their fitting methods return fit futures. Call get() or wait() on the fit future to retrieve the fitted model, or select output=... to read a named fit output. See fitted-model results for fit and cross-validation futures. Inspect the fitted model card for its advertised methods.
Replace your-assay-id with the ID of an existing assay dataset. All three estimators fit on the same embeddings job for the assay's sequences. Set new_sequences to the sequences you want to transform or predict on after fitting. For the UMAP example, use an assay with more than five distinct sequences.
assay = session.data.get(assay_id="your-assay-id")
embedding_job = session.models.esm2.embed(assay, reduction="MEAN")
new_sequences = ["ACDEFGHIK", "ACDEYGHIK"]SVD: project onto two components
svd_fit = session.models.SVD(n_components=2).fit(embedding_job)
svd = svd_fit.wait()
projections = svd.transform(new_sequences).wait()
print(projections[0].shape)UMAP: map sequences into two dimensions
umap_fit = session.models.UMAP(n_components=2, n_neighbors=5).fit(embedding_job)
umap = umap_fit.wait()
coordinates = umap.transform(new_sequences).wait()
print(coordinates[0].shape) # (2,)GP: predict a measured property
Replace activity with the name of a measurement column in the training assay that contains observed values.
measurement = "activity"
gp_fit = session.models.GP(kernel="rbf").fit(embedding_job, property=measurement)
gp = gp_fit.wait()
predictions = gp.predict(new_sequences).wait()
first_prediction = predictions[0][measurement]
print(first_prediction["mean"], first_prediction["variance"])Fitted GP models expose their trained kernel, prior mean and observation noise variance. The mean uses the trained property units; noise uses those units squared. Hyperparameters are unavailable for GPs trained before they were recorded. The compatibility predictor also does not expose them for ensembles.
18source
14source
19source
Referenced types
Types referenced by the interfaces above.
Deprecated compatibility readers retained for legacy job reloads. Current structure design calls return StructureDesignFuture.