Skip to main content

Common Analytical Framework package of Machine and Deep Learning tools.

Project description

Transport for the North Logo

CAF.brAIn

CAF Status - Pre-Alpha Supported Python versions Latest release Conda

Coverage Testing Badge Documentation Status code style: black

[!WARNING]
This package is in an early stage of development so features may change or be removed. If using this package it is recommended to set a specific version and check before upgrading to a new version.

Common Analytical Framework package of Machine and Deep Learning tools.

Common Analytical Framework

This package is sits within the Common Analytical Framework (CAF), which is a collaboration between transport bodies in the UK to develop and maintain commonly used transport analytics and appraisal tools.


Contributing

CAF.brain happily accepts contributions.

The best way to contribute to this project is to go to the issues tab and report bugs or submit a feature request. This helps CAF.brain become more stable and full-featured. Please check the closed bugs before submitting a bug report to see if your question has already been answered.

Please see our contribution guidelines for details on contributing to the codebase or documentation.

Documentation

Documentation is created using Sphinx and is hosted online at cafbrain.readthedocs.

The documentation can be built locally once all the docs requirements (docs/requirements.txt) are installed into your Python environment.

The provided make batch file, (inside the docs folder), allow for building the documentation in various target formats. The command for building the documentation is make {target} (called from within docs/), where {target} is the type of documentation format to build. A full list of all available target formats can be seen by running the make command without any arguments but the two most common are detailed below.

HTML

The HTML documentation (seen on Read the Docs) can be built using the make html command, this will build the web-based documentation and provide an index.html file as the homepage, docs/build/html/index.html.

PDF

The PDF documentation has some other requirements before it can be built as Sphinx will first build a LaTeX version of the documentation and then use an installed TeX distribution to build the PDF from those. If you already have a TeX distribution setup then you can build the PDF with make latexpdf, otherwise follow the instructions below.

Installing LaTeX on Windows is best done using MiKTeX, as this provides a simple way of handling any additional TeX packages. Details of other operating systems and TeX distributions can be found on the Getting LaTeX page on LaTeX's website.

MiKTeX provides an installer on its website miktex.org/download, which will run through the process of getting it installed and setup. In addition to MiKTeX the specific process Sphinx uses for building PDFs is Latexmk, which is a Perl script and so requires Perl to be installed on your machine, this can be done with an installer provided by Strawberry Perl.

Once MiKTex and Perl are installed you are able to build the PDF from the LaTeX files, Sphinx provides a target (latexpdf) which builds the LaTeX files then immediately builds the PDF. When running make latexpdf MiKTeX may ask for permission to installed some required TeX packages. Once the command has finished the PDF will be located at docs/build/latex/cafbrain.pdf.

Maintainers

  • Adil Zaheer (AdilZ16)
  • Ben Taylor (BenTaylor-TfN)

Credit

This project was created using the Common Analytical Framework cookiecutter template found here: https://github.com/Transport-for-the-North/cookiecutter-caf

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

caf_brain-0.1.0.tar.gz (54.5 kB view details)

Uploaded Source

Built Distribution

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

caf_brain-0.1.0-py3-none-any.whl (66.0 kB view details)

Uploaded Python 3

File details

Details for the file caf_brain-0.1.0.tar.gz.

File metadata

  • Download URL: caf_brain-0.1.0.tar.gz
  • Upload date:
  • Size: 54.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for caf_brain-0.1.0.tar.gz
Algorithm Hash digest
SHA256 be01c4a3b1d9c11dec3a45693a06d2c06ba63e50de04d9040a0f74e75b2d81e2
MD5 548094162dd9d738233fa7b9fdc923e2
BLAKE2b-256 e3dd891d4b6040bf58fa4d3b24922934ad18754a3efd8d1357945c050f27a13c

See more details on using hashes here.

Provenance

The following attestation bundles were made for caf_brain-0.1.0.tar.gz:

Publisher: release.yml on Transport-for-the-North/caf.brain

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file caf_brain-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: caf_brain-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 66.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for caf_brain-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 929a32197a4883ba99073a6d143d5a32e2ade172d6417b80a18dea09093541bb
MD5 000fbd8ca7b93cfcb3aec458139402ea
BLAKE2b-256 6683cf25777f131fd2f55b0e9506ed842d302172fc2b1dc64a48b89937ccb113

See more details on using hashes here.

Provenance

The following attestation bundles were made for caf_brain-0.1.0-py3-none-any.whl:

Publisher: release.yml on Transport-for-the-North/caf.brain

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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