Skip to main content

NORSAR AI System.

Project description

Documentation

NORSAR Artificial Inteligence System (NAIS, yes, the acronym was chosen first)

This repository will eventually contain tools specific to aiding in AI research at NORSAR.

This repository is based on Tensorflow and Keras.

This repository will contain:

  • Baseline models, for waveforms and spectrograms. Possibly pretrained for certain tasks.
  • Standard datasets to test models. Development of new models can be difficult. Standard datasets eliminates errors in the data and lets you focus on developing the model.
    • Classification
    • Regression
    • Masking (eg. arrival picking)
  • Augmentation methods.

Installation

pip install nais

If an error occurs when importing nais, likely sndfile library is not installed (check the error), and needs to be:

apt-get install libsndfile1-dev

Quick example

import numpy as np
from nais.Models import AlexNet1D

X = np.random.normal(size=(16,256,3)) #16 examples of three channel data.
y = np.random.randint(0,1,size=(16,)) #Labels

model = AlexNet1D(num_outputs=1) #binary 
model.compile('adam','binary_crossentropy')
model.fit(X,y)

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

nais-1.4.tar.gz (35.0 kB view details)

Uploaded Source

Built Distribution

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

nais-1.4-py3-none-any.whl (50.0 kB view details)

Uploaded Python 3

File details

Details for the file nais-1.4.tar.gz.

File metadata

  • Download URL: nais-1.4.tar.gz
  • Upload date:
  • Size: 35.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for nais-1.4.tar.gz
Algorithm Hash digest
SHA256 b0f5c69fe28249119d0d3ab4b62464a7a96fd728c8f78c61de216a031750fa37
MD5 98204cbbc070de5df5a68a43b609c764
BLAKE2b-256 03e5f2dd9a629e48282e394a20f7062c8c582ed0a151e2284df32f21047761ae

See more details on using hashes here.

File details

Details for the file nais-1.4-py3-none-any.whl.

File metadata

  • Download URL: nais-1.4-py3-none-any.whl
  • Upload date:
  • Size: 50.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for nais-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 89957d3ce5139ffb3a64d65f5d6c076aa946541d0a9f40a6789daf290480c6df
MD5 e3f1fb68511998b4119cff4c3c628f14
BLAKE2b-256 a758ead7b2df769ebdaf41820108bfeb0a98203d7dbdc9eb19ce41510ba42053

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