Skip to main content

Dual-based Neural Learning

Project description

Dualing: Dual-based Neural Learning

Latest release Build status Open issues License

Welcome to Dualing.

Have you ever wanted to find if there is any similarity between your data? If yes, Dualing is the right package! We implement state-of-the-art dual-based neural networks, such as Siamese Networks, to cope with learning similarity functions between sets of data. Such a strategy helps in providing clearer manifolds and better-embedded data for a wide range of applications.

Use Dualing if you need a library or wish to:

  • Create similarity measures;
  • Design or use pre-implement state-of-the-art Siamese Networks;
  • Mix-and-match a new approach to solve your problem;
  • Because it is fun to find resemblances;

Read the docs at dualing.readthedocs.io.

Dualing is compatible with: Python 3.6+.


Package guidelines

  1. The very first information you need is in the very next section.
  2. Installing is also easy if you wish to read the code and bump yourself into, follow along.
  3. Note that there might be some additional steps in order to use our solutions.
  4. If there is a problem, please do not hesitate. Call us.

Getting started: 60 seconds with Dualing

First of all. We have examples. Yes, they are commented. Just browse to examples/, choose your subpackage, and follow the example. We have high-level examples for most of the tasks we could think.

Alternatively, if you wish to learn even more, please take a minute:

Dualing is based on the following structure, and you should pay attention to its tree:

- dualing
    - core
        - dataset
        - loss
        - model
    - datasets
        - batch
        - pair
    - models
        - base
            - cnn
            - gru
            - lstm
            - mlp
            - rnn
        - contrastive
        - cross_entropy
        - triplet
    - utils
        - constants
        - exception
        - logging
        - projector

Core

Core is the core. Essentially, it is the parent of everything. You should find parent classes defining the basis of our structure. They should provide variables and methods that will help to construct other modules.

Datasets

Because we need data, right? Datasets are composed of classes and methods that allow preparing data for further application in dual-based learning.

Models

This is the heart. All models are declared and implemented here. We will offer you the most fantastic implementation of everything we are working with. Please take a closer look at this package.

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.


Installation

We believe that everything has to be easy. Not tricky or daunting, Dualing will be the one-to-go package that you will need, from the very first installation to the daily-tasks implementing needs. If you may just run the following under your most preferred Python environment (raw, conda, virtualenv, whatever):

pip install dualing

Alternatively, if you prefer to install the bleeding-edge version, please clone this repository and use:

pip install -e .

Environment configuration

Note that sometimes, there is a need for additional implementation. If needed, from here, you will be the one to know all of its details.

Ubuntu

No specific additional commands needed.

Windows

No specific additional commands needed.

MacOS

No specific additional commands needed.


Support

We know that we do our best, but it is inevitable to acknowledge that we make mistakes. If you ever need to report a bug, report a problem, talk to us, please do so! We will be available at our bests at this repository or gustavo.rosa@unesp.br.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dualing-1.0.3.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

dualing-1.0.3-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

Details for the file dualing-1.0.3.tar.gz.

File metadata

  • Download URL: dualing-1.0.3.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for dualing-1.0.3.tar.gz
Algorithm Hash digest
SHA256 6dc5a4334cbd1e3493dbe0d7190ae103284fbac7c9fcd7e6b341c3729c6c4058
MD5 2e62710f3a9f4fc4e38ca40a2ef36950
BLAKE2b-256 06e0869ae55b5631a030b5ccf2f2e25a0f71890ae866d143d04e010da279c0f4

See more details on using hashes here.

File details

Details for the file dualing-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: dualing-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 30.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for dualing-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 103066aa5e63cf83c3e79626c87795870500038e30c0bc51ebc2fe6f5800632d
MD5 00dab814a433c45f4353a56ba01c0312
BLAKE2b-256 8fb6a8e8f489904c2dbde94f26331c7327c81e9f0df4feef66c42cc49783d632

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page