dualing
latest

Package Reference

  • dualing.core
    • Base
      • Base.__init__()
      • Base.call()
    • BinaryCrossEntropy
      • BinaryCrossEntropy.__call__()
    • ContrastiveLoss
      • ContrastiveLoss.__call__()
    • Dataset
      • Dataset.__init__()
      • Dataset._build()
      • Dataset.batch_size()
      • Dataset.input_shape()
      • Dataset.normalize()
      • Dataset.preprocess()
      • Dataset.shuffle()
    • Siamese
      • Siamese.B()
      • Siamese.__init__()
      • Siamese.compile()
      • Siamese.evaluate()
      • Siamese.extract_embeddings()
      • Siamese.fit()
      • Siamese.predict()
      • Siamese.step()
    • TripletHardLoss
      • TripletHardLoss.__call__()
    • TripletSemiHardLoss
      • TripletSemiHardLoss.__call__()
    • Base
      • __init__
      • call
    • BinaryCrossEntropy
      • __call__
    • ContrastiveLoss
      • __call__
    • Dataset
      • __init__
      • _build
      • batch_size
      • input_shape
      • normalize
      • preprocess
      • shuffle
    • Siamese
      • B
      • __init__
      • compile
      • evaluate
      • extract_embeddings
      • fit
      • predict
      • step
    • TripletHardLoss
      • __call__
    • TripletSemiHardLoss
      • __call__
  • dualing.datasets
    • BalancedPairDataset
      • BalancedPairDataset.__init__()
      • BalancedPairDataset._build()
      • BalancedPairDataset.batches()
      • BalancedPairDataset.create_pairs()
      • BalancedPairDataset.n_pairs()
    • BatchDataset
      • BatchDataset.__init__()
      • BatchDataset._build()
      • BatchDataset.batches()
    • RandomPairDataset
      • RandomPairDataset.__init__()
      • RandomPairDataset._build()
      • RandomPairDataset.batches()
      • RandomPairDataset.create_pairs()
    • BalancedPairDataset
      • __init__
      • _build
      • batches
      • create_pairs
      • n_pairs
    • BatchDataset
      • __init__
      • _build
      • batches
    • RandomPairDataset
      • __init__
      • _build
      • batches
      • create_pairs
  • dualing.models
    • dualing.models.base
      • CNN
        • CNN.__init__()
        • CNN.call()
      • GRU
        • GRU.__init__()
        • GRU.call()
      • LSTM
        • LSTM.__init__()
        • LSTM.call()
      • MLP
        • MLP.__init__()
        • MLP.call()
      • RNN
        • RNN.__init__()
        • RNN.call()
      • CNN
        • __init__
        • call
      • GRU
        • __init__
        • call
      • LSTM
        • __init__
        • call
      • MLP
        • __init__
        • call
      • RNN
        • __init__
        • call
    • ContrastiveSiamese
      • ContrastiveSiamese.__init__()
      • ContrastiveSiamese.compile()
      • ContrastiveSiamese.distance()
      • ContrastiveSiamese.evaluate()
      • ContrastiveSiamese.fit()
      • ContrastiveSiamese.margin()
      • ContrastiveSiamese.predict()
      • ContrastiveSiamese.step()
    • CrossEntropySiamese
      • CrossEntropySiamese.__init__()
      • CrossEntropySiamese.compile()
      • CrossEntropySiamese.distance()
      • CrossEntropySiamese.evaluate()
      • CrossEntropySiamese.fit()
      • CrossEntropySiamese.predict()
      • CrossEntropySiamese.step()
    • TripletSiamese
      • TripletSiamese.__init__()
      • TripletSiamese.compile()
      • TripletSiamese.distance()
      • TripletSiamese.evaluate()
      • TripletSiamese.fit()
      • TripletSiamese.loss_type()
      • TripletSiamese.margin()
      • TripletSiamese.predict()
      • TripletSiamese.soft()
      • TripletSiamese.step()
    • ContrastiveSiamese
      • __init__
      • compile
      • distance
      • evaluate
      • fit
      • margin
      • predict
      • step
    • CrossEntropySiamese
      • __init__
      • compile
      • distance
      • evaluate
      • fit
      • predict
      • step
    • TripletSiamese
      • __init__
      • compile
      • distance
      • evaluate
      • fit
      • loss_type
      • margin
      • predict
      • soft
      • step
  • dualing.utils
    • dualing.utils.constants
      • BUFFER_SIZE
      • BUFFER_SIZE
    • dualing.utils.exception
      • ArgumentError
        • ArgumentError.__init__()
      • BuildError
        • BuildError.__init__()
      • Error
        • Error.__init__()
      • SizeError
        • SizeError.__init__()
      • TypeError
        • TypeError.__init__()
      • ValueError
        • ValueError.__init__()
      • logger
      • ArgumentError
        • __init__
      • BuildError
        • __init__
      • Error
        • __init__
      • SizeError
        • __init__
      • TypeError
        • __init__
      • ValueError
        • __init__
      • logger
    • dualing.utils.logging
      • FORMATTER
      • LOG_FILE
      • LOG_LEVEL
      • Logger
        • Logger.to_file()
      • get_console_handler()
      • get_logger()
      • get_timed_file_handler()
      • FORMATTER
      • LOG_FILE
      • LOG_LEVEL
      • Logger
        • to_file
      • get_console_handler
      • get_logger
      • get_timed_file_handler
    • dualing.utils.projector
      • _tensor_to_numpy()
      • plot_embeddings()
      • _tensor_to_numpy
      • plot_embeddings
dualing
  • Docs »
  • dualing.utils
  • Edit on GitHub

dualing.utilsΒΆ

This is a utility package. Common things shared across the application should be implemented here. It is better to implement once and use it as you wish than re-implementing the same thing repeatedly.

  • dualing.utils.constants
    • BUFFER_SIZE
    • BUFFER_SIZE
  • dualing.utils.exception
    • ArgumentError
      • ArgumentError.__init__()
    • BuildError
      • BuildError.__init__()
    • Error
      • Error.__init__()
    • SizeError
      • SizeError.__init__()
    • TypeError
      • TypeError.__init__()
    • ValueError
      • ValueError.__init__()
    • logger
    • ArgumentError
      • __init__
    • BuildError
      • __init__
    • Error
      • __init__
    • SizeError
      • __init__
    • TypeError
      • __init__
    • ValueError
      • __init__
    • logger
  • dualing.utils.logging
    • FORMATTER
    • LOG_FILE
    • LOG_LEVEL
    • Logger
      • Logger.to_file()
    • get_console_handler()
    • get_logger()
    • get_timed_file_handler()
    • FORMATTER
    • LOG_FILE
    • LOG_LEVEL
    • Logger
      • to_file
    • get_console_handler
    • get_logger
    • get_timed_file_handler
  • dualing.utils.projector
    • _tensor_to_numpy()
    • plot_embeddings()
    • _tensor_to_numpy
    • plot_embeddings

Utilities package for all common Dualing modules.

Next Previous

© Copyright 2020, Gustavo de Rosa Revision 548b697a.

Built with Sphinx using a theme provided by Read the Docs.