fasttextclf.py
def fit(self,input_file):
                '''
                Input: takes input file in format
                returns classifier object
                to do: add option to feed list of X and Y or file
                '''
                
                self.classifier = ft.supervised(input_file, self.output, dim=self.dim, lr=self.lr, epoch=self.epoch, min_count=self.min_count, word_ngrams=self.word_ngrams, bucket=self.bucket, thread=self.thread, silent=self.silent, label_prefix=self.lpr)
                return(self.classisifer)

                Input: takes input file in format
                returns classifier object
                to do: add option to feed list of X and Y or file
                
takes input file in format
returns classifier object
to do: add option to feed list of X and Y or file
takes input file in format returns classifier object to do : add option to feed list of X and Y or file
def fit(self,input_file):
                self.classifier = ft.supervised(input_file, self.output, dim=self.dim, lr=self.lr, epoch=self.epoch, min_count=self.min_count, word_ngrams=self.word_ngrams, bucket=self.bucket, thread=self.thread, silent=self.silent, label_prefix=self.lpr)
                return(self.classisifer)
def fit ( self , input_file ) : self . classifier = ft . supervised ( input_file , self . output , dim = self . dim , lr = self . lr , epoch = self . epoch , min_count = self . min_count , word_ngrams = self . word_ngrams , bucket = self . bucket , thread = self . thread , silent = self . silent , label_prefix = self . lpr ) return ( self . classisifer )
Input: takes input file in format
returns classifier object
to do: add option to feed list of X and Y or file
Input : takes input file in format returns classifier object to do : add option to feed list of X and Y or file
'''
                Input: takes input file in format
                returns classifier object
                to do: add option to feed list of X and Y or file
                '''
self
input_file