dlearn

High-level Deep learning, Linear algebra and scientific computing package in D

https://github.com/rjkilpatrick/dlearn

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.5%) to scientific vocabulary

Keywords

d deep-learning dlang linear-algebra scientific-computing
Last synced: 6 months ago · JSON representation ·

Repository

High-level Deep learning, Linear algebra and scientific computing package in D

Basic Info
  • Host: GitHub
  • Owner: rjkilpatrick
  • License: mit
  • Language: D
  • Default Branch: main
  • Homepage:
  • Size: 161 KB
Statistics
  • Stars: 9
  • Watchers: 2
  • Forks: 1
  • Open Issues: 8
  • Releases: 1
Topics
d deep-learning dlang linear-algebra scientific-computing
Created over 4 years ago · Last pushed almost 4 years ago
Metadata Files
Readme License Citation

README.md

Dlearn

Dlearn logo

GitHub latest release Github Issues Github build status Code coverage License

High-level Linear algebra and scientific computing package in D.

Table of contents

State of the Project

The API is in very early stages and is subject to change without notice. If you are using it in your own projects, please pin to an exact version.

Getting Started

Prerequisites

  1. dmd / ldc, a D compiler
  2. dub, D's package manager
  3. Link with CBLAS / LAPACK

Using with dub

To use this package, run the following command in the root directory of your project

sh dub add dlearn

Or manually add the following to your dub.json

json "dlearn": "~>0.0.2"

See dub for details.

Single File

To use dlearn as script, use dub run --single example.d, where the contents of example.d are as follows:

```d

!/usr/bin/env dub

/+ dub.json: { "dependencies": {"dlearn": "*"} } +/

void main() { import std : writeln; import dlearn;

dlearn.arrange(5).writeln;

} ```

Usage

```d import std : writeln; import dlearn.allocation : ones, eye; import dlearn.math : sinh; import dlearn.linalg : matrixMultiply;

auto x = ones!double(2, 2); auto y = x.matrixMultiply(eye!double(2)); y.sinh.writeln; ```

For more examples, please refer to the Documentation.

Testing

To build the package and run all unit tests (in parallel if possible):

sh dub test -q --parallel

Building the Documentation

Dlearn uses ddox documentation generator which you can build with:

sh dub build -b ddox

Or you can build and then run a webserver with:

sh dub run -b ddox

Contributing

If you find a bug, please submit an issue.

Any and all contributions are appreciated. If you think of a feature you'd like added, or how we can improve the project, submit an issue too.

License

dlearn is distributed under the MIT license, as found in LICENSE.

Owner

  • Name: John Kilpatrick
  • Login: rjkilpatrick
  • Kind: user
  • Location: Exeter, UK
  • Company: University of Exeter

PhD student using structured light to look through fibres @ Exeter @structuredlightlab

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Kilpatrick"
  given-names: "R. J."
  orcid: "https://orcid.org/0000-0001-5119-6355"
title: "dlearn"
version: 0.0.2
date-released: 2021-09-13
url: "https://github.com/rjkilpatrick/dlearn"

GitHub Events

Total
Last Year

Dependencies

dub.json dub
  • mir-algorithm ~>3.10.80
  • mir-blas ~>1.1.13
  • mir-random ~>2.2.19