Skip to main content

DashAI: a graphical toolbox for training, evaluating and deploying state-of-the-art AI models.

Project description

https://img.shields.io/pypi/v/dashai.svg Documentation Status

A graphical toolbox for training, evaluating and deploying state-of-the-art AI models

DashAI Logo

Quick installation (Pypi)

DashAI needs Python 3.10 or greater to be installed. Once that requirement is satisfied, you can install DashAI via pip:

$ pip install dashai

Then, to initialize the server and the graphical interface, run:

$ dashai

Finally, go to http://localhost:3000/ in your browser to access to the DashAI graphical interface.

Test datasets

Some datasets you can use to try DashAI are available here.

Development

To download and run the development version of DashAI, first, download the repository and switch to the developing branch:

$ git clone https://github.com/DashAISoftware/DashAI.git
$ git checkout develop

Frontend

Prepare the environment

  1. Install the LTS node version.

  2. Install Yarn package manager following the instructions located on the yarn getting started page.

  3. Move to DashAI/front and Install the project packages using yarn:

$ cd DashAI/front
$ yarn install

Running the frontend

Move to DashAI/front if you are not on that route:

$ cd DashAI/front

Then, launch the front-end development server by running the following command:

$ yarn start

Backend

Prepare the environment

First, set the python enviroment, for that you can use conda:

Then, move to DashAI/back

$ cd DashAI/back

Later, install the requirements:

$ pip install -r requirements.txt
$ pip install -r requirements-dev.txt
$ pre-commit install

Running the Backend

There are three ways to run DashAI:

  1. By executing DashAI as a module:

$ python -m DashAI
  1. Or, installing the default build:

$ pip install . -e
$ dashai

Optional Flags

Setting the local execution path

With the –local-path (alias -lp) option you can determine where DashAI will save its local files, such as datasets, experiments, runs and others. The following example shows how to set the folder in the local .DashAI directory:

$ python -m DashAI --local-path "~/.DashAI"

Setting the logging level

Through the –logging-level (alias -ll) parameter, you can set which logging level the DashAI backend server will have.

$ python -m DashAI --logging-level INFO

The possible levels available are: DEBUG, INFO, WARNING, ERROR, CRITICAL.

Note that the –logging-level not only affects the DashAI loggers, but also the datasets (which is set to the same level as DashAI) and the SQLAlchemy (which is only activated when logging level is DEBUG).

Disabling automatic browser opening

By default, DashAI will open a browser window pointing to the application after starting. If you prefer to disable this behavior, you can use the –no-browser (alias -nb) flag:

$ python -m DashAI --no-browser

Checking Available Options

You can check all available options through the command:

$ python -m DashAI --help

Testing

Execute tests

DashAI uses pytest to perform the backend tests. To execute the backend tests

  1. Move to DashAI/back

$ cd DashAI/back
  1. Run:

$ pytest tests/

Acknowledgments

This project is sponsored by the National Center for Artificial Intelligence - CENIA (FB210017), and the Millennium Institute for Foundational Data Research - IMFD (ICN17_002).

The core of the development is carried out by students from the Computer Science Department of the University of Chile and the Federico Santa Maria Technical University.

To see the full list of contributors, visit in Contributors the DashAI repository on Github.

Collaboration Logos

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

dashai-0.3.0.tar.gz (9.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dashai-0.3.0-py3-none-any.whl (9.8 MB view details)

Uploaded Python 3

File details

Details for the file dashai-0.3.0.tar.gz.

File metadata

  • Download URL: dashai-0.3.0.tar.gz
  • Upload date:
  • Size: 9.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for dashai-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9d34699fad3c9d8644da6e322c905d4461e04ff826772f2be0a17966cefec6a9
MD5 d46da172c0757bba600d2d928b28fcf1
BLAKE2b-256 b415c79ba66fb8345458dbe90d5737cb26e6ec89e11140bd4d31776140a9e2ba

See more details on using hashes here.

File details

Details for the file dashai-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: dashai-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for dashai-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 585bd27c4f706131ded99b0f50b12ac7258945ff577b1c4555c0982d44c0d99c
MD5 96ac6d24d4589c4f47ca30f66418347c
BLAKE2b-256 9dd85f6899cd309d803de462b69bfa81a682ce3991d37f8a64c9debb1f26d6a0

See more details on using hashes here.

Supported by

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