fasttextclf.py
def fit(self,X,modelname='model'):
                '''
                Input: takes input file in format
                returns classifier object
                to do: add option to feed list of X and Y or file
                to do: check options for the api call 
                to do: write unit test
                '''
		try:
                    if not csvflag:
                        self.model=ft.cbow(X, modelname, lr=self.lr, dim=self.dim,lr_update_rate=self.lr_update_rate,epoch=self.epoch,bucket=self.bucket,loss=self.loss,thread=self.n_thread)
                except:
                    print("Error in input dataset format")

                Input: takes input file in format
                returns classifier object
                to do: add option to feed list of X and Y or file
                to do: check options for the api call 
                to do: write unit test
                
takes input file in format
returns classifier object
to do: add option to feed list of X and Y or file
to do: check options for the api call
to do: write unit test
takes input file in format returns classifier object to do : add option to feed list of X and Y or file to do : check options for the api call to do : write unit test
def fit(self,X,modelname='model'):
		try:
                    if not csvflag:
                        self.model=ft.cbow(X, modelname, lr=self.lr, dim=self.dim,lr_update_rate=self.lr_update_rate,epoch=self.epoch,bucket=self.bucket,loss=self.loss,thread=self.n_thread)
                except:
                    print("Error in input dataset format")
def fit ( self , X , modelname = 'model' ) : try : if not csvflag : self . model = ft . cbow ( X , modelname , lr = self . lr , dim = self . dim , lr_update_rate = self . lr_update_rate , epoch = self . epoch , bucket = self . bucket , loss = self . loss , thread = self . n_thread ) except : print ( "Error in input dataset format" )
Input: takes input file in format
returns classifier object
to do: add option to feed list of X and Y or file
to do: check options for the api call
to do: write unit test
Input : takes input file in format returns classifier object to do : add option to feed list of X and Y or file to do : check options for the api call to do : write unit test
'''
                Input: takes input file in format
                returns classifier object
                to do: add option to feed list of X and Y or file
                to do: check options for the api call 
                to do: write unit test
                '''
self
X
modelname