Skip to main content
Ctrl+K
TrajDL documentation - Home TrajDL documentation - Home
  • GitHub

🚀 Quick Start

  • Installation
  • Quick Start

📚 Tutorials

  • Data
    • Sequence and Dataset
    • Open Source Datasets
  • Tools
    • Grid System
    • Tokenizer
  • Training
    • Collate Function
    • Lightning DataModule
    • LightningCLI
  • Advanced
    • BaseArrowDataSet

📜 Algorithms

  • Algorithms
    • TULER
    • T2VEC
    • GM-VSAE
    • HST-LSTM
  • Hands-on Example
    • T2VEC
    • GMVSAE
    • STLSTM

📔 Supplementary

  • Benchmarking
  • Scientific Articles

📏 API Docs

  • TrajDL
    • trajdl.algorithms package
      • trajdl.algorithms.embeddings package
        • trajdl.algorithms.embeddings.base module
        • trajdl.algorithms.embeddings.ctle module
      • trajdl.algorithms.framework package
      • trajdl.algorithms.loc_pred package
        • trajdl.algorithms.loc_pred.rnn module
        • trajdl.algorithms.loc_pred.stlstm module
      • trajdl.algorithms.abstract module
      • trajdl.algorithms.ctle module
      • trajdl.algorithms.gmvsae module
      • trajdl.algorithms.hier module
      • trajdl.algorithms.t2vec module
      • trajdl.algorithms.tuler module
    • trajdl.common package
      • trajdl.common.enum module
      • trajdl.common.samples module
    • trajdl.datasets package
      • trajdl.datasets.arrow package
        • trajdl.datasets.arrow.ext package
        • trajdl.datasets.arrow.abstract module
        • trajdl.datasets.arrow.locseq module
        • trajdl.datasets.arrow.schema module
        • trajdl.datasets.arrow.traj module
      • trajdl.datasets.base package
        • trajdl.datasets.base.abstract module
        • trajdl.datasets.base.locseq module
        • trajdl.datasets.base.traj module
      • trajdl.datasets.modules package
        • trajdl.datasets.modules.abstract module
        • trajdl.datasets.modules.ctle module
        • trajdl.datasets.modules.gmvsae module
        • trajdl.datasets.modules.hier module
        • trajdl.datasets.modules.stlstm module
        • trajdl.datasets.modules.t2vec module
        • trajdl.datasets.modules.tuler module
      • trajdl.datasets.open_source package
        • trajdl.datasets.open_source.conf module
        • trajdl.datasets.open_source.hasher module
        • trajdl.datasets.open_source.utils module
      • trajdl.datasets.sampler package
        • trajdl.datasets.sampler.bucket module
        • trajdl.datasets.sampler.session module
        • trajdl.datasets.sampler.t2vec module
    • trajdl.grid package
      • trajdl.grid.base module
      • trajdl.grid.hierarchy module
    • trajdl.loss package
      • trajdl.loss.sampled_softmax module
    • trajdl.metrics package
      • trajdl.metrics.acc module
      • trajdl.metrics.tul module
    • trajdl.tokenizers package
      • trajdl.tokenizers.slot package
      • trajdl.tokenizers.abstract module
      • trajdl.tokenizers.locseq module
      • trajdl.tokenizers.simple module
      • trajdl.tokenizers.t2vec module
    • trajdl.utils package
      • trajdl.utils.traj module
    • trajdl.config module
  • Repository
  • Suggest edit
  • .rst

trajdl.datasets.sampler package

Contents

  • Submodules

trajdl.datasets.sampler package#

1.  Submodules#

  • trajdl.datasets.sampler.bucket module
    • BucketSampler
      • BucketSampler.ds
      • BucketSampler.num_buckets
      • BucketSampler.num_batches
      • BucketSampler.batch_size
    • SeqInfo
      • SeqInfo.sample_idx
      • SeqInfo.size
    • generate_buckets()
    • generate_buckets_by_stats()
    • generate_sub_buckets()
    • mean_size()
  • trajdl.datasets.sampler.session module
    • SessionSampler
      • SessionSampler.batch_size
      • SessionSampler.construct_user_samples_dict()
      • SessionSampler.num_buckets
  • trajdl.datasets.sampler.t2vec module
    • T2VECSampler

previous

trajdl.datasets.open_source.utils module

next

trajdl.datasets.sampler.bucket module

Contents
  • Submodules

By Chao Song, Chaoqun Feng

© Copyright 2024, All authors of TrajDL.