Netsaur

Netsaur brings the power of modern machine learning to the Deno ecosystem. With an intuitive API and seamless integration, you can build, train, and deploy sophisticated ML models with ease.

Features

Netsaur offers a comprehensive suite of tools for various machine learning tasks. From basic neural networks to advanced deep learning models, Netsaur has you covered.

🧠

Neural Networks

Build and train custom neural networks with ease. Netsaur supports various architectures and activation functions, and lots of layers to help you create powerful models.

🖼️

Computer Vision

Process and analyze images with advanced algorithms. Implement state-of-the-art convolutional neural networks for tasks like image classification, object detection, and more.

🗣️

NLP

Perform natural language processing tasks effortlessly. Utilize recurrent neural networks and transformers to tackle challenges in text analysis, sentiment classification, and language generation.

📊

Data Analysis

Visualize and interpret complex datasets with powerful tools. Netsaur provides utilities for data preprocessing, feature extraction, and result visualization to support your entire ML workflow.

Examples

See how easy it is to create machine learning models with Netsaur with no installation required.

import {
  Cost,
  CPU,
  DenseLayer,
  Sequential,
  setupBackend,
  SigmoidLayer,
  tensor2D,
} from "jsr:@denosaurs/netsaur";


await setupBackend(CPU);

const net = new Sequential({
  size: [4, 2],
  silent: true,
  layers: [
    DenseLayer({ size: [3] }),
    SigmoidLayer(),
    DenseLayer({ size: [1] }),
    SigmoidLayer(),
  ],
  cost: Cost.MSE,
});


net.train(
  [
    {
      inputs: tensor2D([
        [0, 0],
        [1, 0],
        [0, 1],
        [1, 1],
      ]),
      outputs: tensor2D([[0], [1], [1], [0]]),
    },
  ],
  10000,
);

Get Started

Ready to build powerful machine learning models with Netsaur? Our comprehensive documentation and resources will help you get up and running quickly.