Skip to content

Linear regression, data-parser and a minimal tensor modules and examples.

Notifications You must be signed in to change notification settings

mp3skater/ctorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

A simple implementation of some functions that can be used for AI development like linear regression, a data-parser and a minimal tensor implementation.

Inspired by the pytorch Python package, definetly also the name :)

Features

  • Small tensor module
  • Module methods to use linear regression with:
    • CSV file parser
    • Examples implementation

Installation

  1. Navigate to the folder to hold the code: cd disired/path/here
  2. Clone the repo: git clone https://github.com/mp3skater/ctorch.git

Info: cmake and gcc need to be installed, more info here

Usage

For the main module

  1. Look at the src/test.c file to see the implementation.
  2. To execute write: make run

For tensor module

  1. Look at the tensor/test.c file to see the implementation.
  2. To execute write: make tensor

License

This project is licensed under the MIT License

About

Linear regression, data-parser and a minimal tensor modules and examples.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published