Jensen-holm commited on
Commit
4dc8296
1 Parent(s): f7ea12e

fixed bug where I forgot to change the name from nn to numpyneuron

Browse files
Files changed (4) hide show
  1. gradio_app.py +1 -1
  2. numpyneuron/loss.py +1 -1
  3. numpyneuron/nn.py +2 -2
  4. setup.py +1 -1
gradio_app.py CHANGED
@@ -4,7 +4,7 @@ from sklearn.model_selection import train_test_split
4
  import numpy as np
5
  import gradio as gr
6
 
7
- import nn
8
  from vis import ( # classification visualization funcitons
9
  show_digits,
10
  hits_and_misses,
 
4
  import numpy as np
5
  import gradio as gr
6
 
7
+ import numpyneuron as nn
8
  from vis import ( # classification visualization funcitons
9
  show_digits,
10
  hits_and_misses,
numpyneuron/loss.py CHANGED
@@ -1,5 +1,5 @@
1
  from abc import ABC, abstractmethod
2
- from nn.activation import SoftMax
3
  import numpy as np
4
 
5
 
 
1
  from abc import ABC, abstractmethod
2
+ from .activation import SoftMax
3
  import numpy as np
4
 
5
 
numpyneuron/nn.py CHANGED
@@ -4,8 +4,8 @@ import gradio as gr
4
  import numpy as np
5
  from tqdm import tqdm
6
 
7
- from nn.activation import Activation
8
- from nn.loss import Loss, LogitsLoss
9
 
10
 
11
  DTYPE = np.float32
 
4
  import numpy as np
5
  from tqdm import tqdm
6
 
7
+ from .activation import Activation
8
+ from .loss import Loss, LogitsLoss
9
 
10
 
11
  DTYPE = np.float32
setup.py CHANGED
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
 
3
  setup(
4
  name="numpyneuron",
5
- version="0.2",
6
  author="Jensen Holm",
7
  author_email="jensen.dev.01@gmail.com",
8
  description="Simple, lightweight neural network framework built in numpy",
 
2
 
3
  setup(
4
  name="numpyneuron",
5
+ version="0.3",
6
  author="Jensen Holm",
7
  author_email="jensen.dev.01@gmail.com",
8
  description="Simple, lightweight neural network framework built in numpy",