Skip to content

All missing perturbation embeddings are set to zeros #59

@HarveyYan

Description

@HarveyYan

Thanks for sharing the codebase.

for pert in missing:
featurization_dict[pert] = torch.zeros(feature_dim)
logger.info(
"Set %d missing perturbations to zero vectors.", len(missing)
)

I may have missed something, but given all the missing perturbations are set to 0, how would the model make perturbation-specific predictions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions