API¶
Data¶
Basic routines
List registered contexts. |
|
|
Describe specified context. |
|
Register new context to the collection. |
|
Load data from given context as |
|
Load data from given context(s) as |
|
Split data to training and validation. |
|
Split data to training, validation, and test. |
Data structures
Data structure for hosting perturb-lib data. |
|
In-memory variant of |
|
Class for handling on-disk data. |
Embeddings¶
Get IDs of registered embeddings. |
|
|
Describe specified embedding. |
|
Register new embedding to the collection. |
|
Load specified embedding as |
Models¶
Basic routines
Get IDs of registered models. |
|
|
Describe specified model. |
|
Register new model to the collection. |
|
Load specified model. |
|
Load specified model. |
|
Load model on the specified path. |
Base models
Mixin for perturbation models. |
|
Base class for sklearn-style models. |
Evaluation¶
Basis routines
Get IDs of registered evaluators. |
|
|
Describe specified evaluator. |
|
Register new evaluator to the collection. |
|
Load specified evaluator. |
Mixin
Mixin for all the Perturb-lib evaluators. |
Collections¶
Models
Replaces any perturbation symbols with a no-perturbation symbol. |
|
Computes mean value from the training data and then uses it to make predictions. |
|
Predicts mean readout value without taking perturbation information into account. |
|
CatBoostRegressor used on top of predefined embeddings. |
|
Large perturbation model. |
Evaluators
Root-mean-square error (RMSE). |
|
Mean absolute error (MAE). |
|
R2 score function. |
|
Pearson correlation coefficient. |