Giter Club home page Giter Club logo

mathtorch's Introduction

mathTorch

mathTorchis a Python library for deep learning from scratch.

Installation

Use the package manager pip to install mathTorch.

pip install mathTorch --user

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

Usage

import mathTorch.nn as nn

# Creating just a simple Layer

linear = nn.Linear(1,5)
relu = nn.ReLU()

# x you input data

x = relu(linear(x))

utils

    from mathTorch.utils.utils import *

    # Reading Toml File
    toml_file = read_toml('<path>.toml')

    # Reading Txt File
    txt_file = read_txt('<path>.txt')

    # Reading Json File
    json_file = read_json('<path>.json')

    # Reading Yaml File
    yaml_file = read_yaml('<path>.yaml')

    # Downloading file from url
    download('https://urlhere')

    # Time functions
    time_sec:str = time_since(since,percent)
    time_min:str = as_minutes(seconds)


    ## and many many more :) go to source ;\ and check

lightning

    from mathTorch.utils.lightning import *

    # Reading Toml File
    

    #  check if attr exist return attr or false and pass
    out = attr_exist_check_(attr)

    # calculating iou
    iou = iou(box1,box2)

      # calculating iou
    iou_error = bbox_iou(box1, box2, x1y1x2y2=True, GIoU=False, DIoU=False, CIoU=False, eps=1e-7)

     # calculating iou avg
    avg_iou_acc = avg_iou(boxes,clusters)

    # Kmeans
    anchors = kmeans(boxes, k, dist=np.median)

    ## and many many more :) go to source ;\ and check

all utils functions

    from mathTorch.utils.lightning import *
    from mathTorch.utils.interface import *
    from mathTorch.utils.utils import *
    from mathTorch.utils.nlp import *
    from mathTorch.utils.fix_dll import *

Beta

This Package is still in beta mode and I'm working on it

Please make sure to update tests as appropriate.

๐Ÿš€ About Me

Hi there ๐Ÿ‘‹ I like to train deep neural nets on large datasets ๐Ÿง . Among other things in this world:)

License

MIT

Used By

This project is used by the following companies:

  • I Don't think like anyone would like to use it why should you use mathTorch when you can use Pytorch v2.0.0 :)

Author

mathtorch's People

Contributors

erfanzar avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.