Skip to content
Browse files

Added documentation

  • Loading branch information...
1 parent 6ae64e8 commit 759ae89ee82717772fb49bcfba3588a8489d2b4c @swvist committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 ocrn/dataset.py
View
2 ocrn/dataset.py
@@ -3,11 +3,13 @@
import feature as fr
class dataset:
+ # Initialize the dataset with input and label size
def __init__(self, inputsize, labelsize):
self.inputsize = inputsize
self.labelsize = labelsize
self.DS = SupervisedDataSet(self.inputsize, self.labelsize)
+ # Adds data to existing training dataset
def addTrainingData(self,inputdata, labeldata):
try:
if inputdata.size == self.inputsize and labeldata.size == self.labelsize:

0 comments on commit 759ae89

Please sign in to comment.
Something went wrong with that request. Please try again.