immuneML.encodings.word2vec.model_creator package¶
Submodules¶
immuneML.encodings.word2vec.model_creator.KmerPairModelCreator module¶
- class immuneML.encodings.word2vec.model_creator.KmerPairModelCreator.KmerPairModelCreator(epochs: int, window: int)[source]¶
Bases:
ModelCreatorStrategy
- create_model(dataset: RepertoireDataset, k: int, vector_size: int, batch_size: int, model_path: Path, sequence_type: SequenceType)[source]¶
immuneML.encodings.word2vec.model_creator.ModelCreatorStrategy module¶
- class immuneML.encodings.word2vec.model_creator.ModelCreatorStrategy.ModelCreatorStrategy(epochs: int, window: int)[source]¶
Bases:
object
Defines how word2vec model can be created by defining different contexts for k-mers
- abstract create_model(dataset: RepertoireDataset, k: int, vector_size: int, batch_size: int, model_path: Path, sequence_type: SequenceType)[source]¶
immuneML.encodings.word2vec.model_creator.ModelType module¶
immuneML.encodings.word2vec.model_creator.SequenceModelCreator module¶
- class immuneML.encodings.word2vec.model_creator.SequenceModelCreator.SequenceModelCreator(epochs: int, window: int)[source]¶
Bases:
ModelCreatorStrategy
- create_model(dataset: Dataset, k: int, vector_size: int, batch_size: int, model_path: Path, sequence_type: SequenceType)[source]¶