File size: 676 Bytes
77784b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
license: apache-2.0
tags:
- arithmetic
- mathematics
- numpy
- supernova
---

# Supernova Mathos V6.1

A custom NumPy-based learned arithmetic model with a BODMAS expression evaluator.

## Installation

    pip install supernova-mathos==6.1.0

## Example

    from supernova_mathos import mathos

    model = mathos()
    print(model.add(27, 15))
    print(model.multiply(6, 7))
    print(model.calculate("2 + 3 * 4"))

## Files

- weights/supernova_mathos_v6_1.npz: trained weights
- mathos.py: model implementation
- LICENSE: Apache License 2.0

Test results apply to the tested inputs and do not guarantee correctness for every possible input.

## License

Apache-2.0.