immuneML.encodings package
Subpackages
- immuneML.encodings.abundance_encoding package
- Submodules
- immuneML.encodings.abundance_encoding.AbundanceEncoderHelper module
- immuneML.encodings.abundance_encoding.CompAIRRBatchIterator module
- immuneML.encodings.abundance_encoding.CompAIRRSequenceAbundanceEncoder module
CompAIRRSequenceAbundanceEncoder
CompAIRRSequenceAbundanceEncoder.LOG_FILENAME
CompAIRRSequenceAbundanceEncoder.OUTPUT_FILENAME
CompAIRRSequenceAbundanceEncoder.RELEVANT_SEQUENCE_ABUNDANCE
CompAIRRSequenceAbundanceEncoder.TOTAL_SEQUENCE_ABUNDANCE
CompAIRRSequenceAbundanceEncoder.build_object()
CompAIRRSequenceAbundanceEncoder.encode()
CompAIRRSequenceAbundanceEncoder.export_encoder()
CompAIRRSequenceAbundanceEncoder.get_additional_files()
CompAIRRSequenceAbundanceEncoder.get_relevant_sequence_attributes()
CompAIRRSequenceAbundanceEncoder.get_sequence_set()
CompAIRRSequenceAbundanceEncoder.get_sequence_set_for_repertoire()
CompAIRRSequenceAbundanceEncoder.load_encoder()
CompAIRRSequenceAbundanceEncoder.set_context()
CompAIRRSequenceAbundanceEncoder.store()
CompAIRRSequenceAbundanceEncoder.write_sequence_set_file()
- immuneML.encodings.abundance_encoding.KmerAbundanceEncoder module
KmerAbundanceEncoder
KmerAbundanceEncoder.RELEVANT_SEQUENCE_ABUNDANCE
KmerAbundanceEncoder.TOTAL_SEQUENCE_ABUNDANCE
KmerAbundanceEncoder.build_object()
KmerAbundanceEncoder.encode()
KmerAbundanceEncoder.export_encoder()
KmerAbundanceEncoder.get_additional_files()
KmerAbundanceEncoder.load_encoder()
KmerAbundanceEncoder.set_context()
KmerAbundanceEncoder.store()
- immuneML.encodings.abundance_encoding.SequenceAbundanceEncoder module
SequenceAbundanceEncoder
SequenceAbundanceEncoder.RELEVANT_SEQUENCE_ABUNDANCE
SequenceAbundanceEncoder.TOTAL_SEQUENCE_ABUNDANCE
SequenceAbundanceEncoder.build_object()
SequenceAbundanceEncoder.encode()
SequenceAbundanceEncoder.export_encoder()
SequenceAbundanceEncoder.get_additional_files()
SequenceAbundanceEncoder.get_documentation()
SequenceAbundanceEncoder.load_encoder()
SequenceAbundanceEncoder.set_context()
SequenceAbundanceEncoder.store()
- Module contents
- immuneML.encodings.atchley_kmer_encoding package
- immuneML.encodings.deeprc package
- Submodules
- immuneML.encodings.deeprc.DeepRCEncoder module
DeepRCEncoder
DeepRCEncoder.COUNTS_COLUMN
DeepRCEncoder.EXTENSION
DeepRCEncoder.ID_COLUMN
DeepRCEncoder.METADATA_EXTENSION
DeepRCEncoder.METADATA_SEP
DeepRCEncoder.SEP
DeepRCEncoder.SEQUENCE_COLUMN
DeepRCEncoder.build_object()
DeepRCEncoder.encode()
DeepRCEncoder.export_encoder()
DeepRCEncoder.export_metadata_file()
DeepRCEncoder.export_repertoire_tsv_files()
DeepRCEncoder.set_context()
- Module contents
- immuneML.encodings.distance_encoding package
- Submodules
- immuneML.encodings.distance_encoding.CompAIRRDistanceEncoder module
CompAIRRDistanceEncoder
CompAIRRDistanceEncoder.INPUT_FILENAME
CompAIRRDistanceEncoder.LOG_FILENAME
CompAIRRDistanceEncoder.OUTPUT_FILENAME
CompAIRRDistanceEncoder.build_distance_matrix()
CompAIRRDistanceEncoder.build_labels()
CompAIRRDistanceEncoder.build_object()
CompAIRRDistanceEncoder.encode()
CompAIRRDistanceEncoder.export_encoder()
CompAIRRDistanceEncoder.load_encoder()
CompAIRRDistanceEncoder.set_context()
- immuneML.encodings.distance_encoding.DistanceEncoder module
- immuneML.encodings.distance_encoding.DistanceMetricType module
- immuneML.encodings.distance_encoding.TCRdistEncoder module
- Module contents
- immuneML.encodings.evenness_profile package
- immuneML.encodings.kmer_frequency package
- Subpackages
- immuneML.encodings.kmer_frequency.sequence_encoding package
- Submodules
- immuneML.encodings.kmer_frequency.sequence_encoding.GappedKmerSequenceEncoder module
- immuneML.encodings.kmer_frequency.sequence_encoding.IMGTGappedKmerEncoder module
- immuneML.encodings.kmer_frequency.sequence_encoding.IMGTKmerSequenceEncoder module
- immuneML.encodings.kmer_frequency.sequence_encoding.IdentitySequenceEncoder module
- immuneML.encodings.kmer_frequency.sequence_encoding.KmerSequenceEncoder module
- immuneML.encodings.kmer_frequency.sequence_encoding.SequenceEncodingStrategy module
- immuneML.encodings.kmer_frequency.sequence_encoding.SequenceEncodingType module
- Module contents
- immuneML.encodings.kmer_frequency.sequence_encoding package
- Submodules
- immuneML.encodings.kmer_frequency.KmerFreqReceptorEncoder module
- immuneML.encodings.kmer_frequency.KmerFreqRepertoireEncoder module
- immuneML.encodings.kmer_frequency.KmerFreqSequenceEncoder module
- immuneML.encodings.kmer_frequency.KmerFrequencyEncoder module
KmerFrequencyEncoder
KmerFrequencyEncoder.STEP_ENCODED
KmerFrequencyEncoder.STEP_NORMALIZED
KmerFrequencyEncoder.STEP_SCALED
KmerFrequencyEncoder.STEP_VECTORIZED
KmerFrequencyEncoder.build_object()
KmerFrequencyEncoder.dataset_mapping
KmerFrequencyEncoder.encode()
KmerFrequencyEncoder.export_encoder()
KmerFrequencyEncoder.get_additional_files()
KmerFrequencyEncoder.load_encoder()
KmerFrequencyEncoder.scale_normalized()
- Module contents
- Subpackages
- immuneML.encodings.onehot package
- immuneML.encodings.preprocessing package
- immuneML.encodings.reference_encoding package
- Submodules
- immuneML.encodings.reference_encoding.MatchedReceptorsEncoder module
- immuneML.encodings.reference_encoding.MatchedReferenceUtil module
- immuneML.encodings.reference_encoding.MatchedRegexEncoder module
- immuneML.encodings.reference_encoding.MatchedRegexRepertoireEncoder module
- immuneML.encodings.reference_encoding.MatchedSequencesEncoder module
- immuneML.encodings.reference_encoding.SequenceMatchingSummaryType module
- Module contents
- immuneML.encodings.word2vec package
- Subpackages
- Submodules
- immuneML.encodings.word2vec.W2VRepertoireEncoder module
- immuneML.encodings.word2vec.W2VSequenceEncoder module
- immuneML.encodings.word2vec.Word2VecEncoder module
Word2VecEncoder
Word2VecEncoder.DESCRIPTION_LABELS
Word2VecEncoder.DESCRIPTION_REPERTOIRES
Word2VecEncoder.build_object()
Word2VecEncoder.dataset_mapping
Word2VecEncoder.encode()
Word2VecEncoder.export_encoder()
Word2VecEncoder.get_additional_files()
Word2VecEncoder.get_documentation()
Word2VecEncoder.load_encoder()
- Module contents
Submodules
immuneML.encodings.DatasetEncoder module
- class immuneML.encodings.DatasetEncoder.DatasetEncoder[source]
Bases:
object
YAML specification:
- encodings:
e1: <encoder_class> # encoding without parameters
- e2:
- <encoder_class>: # encoding with parameters
parameter: value
- abstract encode(dataset, params: EncoderParams)[source]
- static get_additional_files() List[str] [source]
Should return a list with all the files that need to be stored when storing the encoder.
- store(encoded_dataset, params: EncoderParams)[source]
immuneML.encodings.EncoderParams module
- class immuneML.encodings.EncoderParams.EncoderParams(result_path: pathlib.Path, label_config: immuneML.environment.LabelConfiguration.LabelConfiguration, filename: str = '', pool_size: int = 4, model: dict = None, learn_model: bool = True, encode_labels: bool = True)[source]
Bases:
object
- encode_labels: bool = True
- filename: str = ''
- label_config: LabelConfiguration
- learn_model: bool = True
- model: dict = None
- pool_size: int = 4
- result_path: Path