C# Class Spontaneous.WebApp.Services.Compare.ClassifierServices

Mostrar archivo Open project: pashkov/Spontaneous Class Usage Examples

Public Methods

Method Description
ClassifierServices ( ) : System
ClassifyEmptyMenuRestaurants ( ) : void
ClassifyRestaurants ( string classifierName, List restsList, int googleSearchLimit ) : void

Fuinction classify all Restaurants with empty menus, and update restaurants cuisine

Function classify each restaurant in input list first step: try to classify by restaurant name and description if not found goog result (propability lower than threshold) go to second step Second step: execute Google search and try to classify each result choose best result...

ExecuteGoogleSearchAndSaveResults ( List restsList ) : void
GetClassifySet ( ) : List
GetTestSet ( ) : List
GetTrainSetCuisineType ( ) : List

Must change name to GetTrainSetCuisineType

GetTrainSetCuisineTypeBackOfficeSource ( ) : List
GetUntrainSet ( List wordsList ) : List
MarkSearchResultsForTrain ( List restsList ) : void
TrainByFilteredGoogleSearch ( string classifierName ) : void
TrainByGoogleSearchResult ( string classifierName ) : void
TrainClassifierWithBackOfficeSourceTrainSet ( ) : void
TrainClassifierWithNotNullCuisineTrainSet ( ) : void

Method Details

ClassifierServices() public method

public ClassifierServices ( ) : System
return System

ClassifyEmptyMenuRestaurants() public method

public ClassifyEmptyMenuRestaurants ( ) : void
return void

ClassifyRestaurants() public method

Fuinction classify all Restaurants with empty menus, and update restaurants cuisine Function classify each restaurant in input list first step: try to classify by restaurant name and description if not found goog result (propability lower than threshold) go to second step Second step: execute Google search and try to classify each result choose best result...
public ClassifyRestaurants ( string classifierName, List restsList, int googleSearchLimit ) : void
classifierName string
restsList List
googleSearchLimit int
return void

ExecuteGoogleSearchAndSaveResults() public method

public ExecuteGoogleSearchAndSaveResults ( List restsList ) : void
restsList List
return void

GetClassifySet() public method

public GetClassifySet ( ) : List
return List

GetTestSet() public method

public GetTestSet ( ) : List
return List

GetTrainSetCuisineType() public method

Must change name to GetTrainSetCuisineType
public GetTrainSetCuisineType ( ) : List
return List

GetTrainSetCuisineTypeBackOfficeSource() public method

public GetTrainSetCuisineTypeBackOfficeSource ( ) : List
return List

GetUntrainSet() public method

public GetUntrainSet ( List wordsList ) : List
wordsList List
return List

MarkSearchResultsForTrain() public method

public MarkSearchResultsForTrain ( List restsList ) : void
restsList List
return void

TrainByFilteredGoogleSearch() public method

public TrainByFilteredGoogleSearch ( string classifierName ) : void
classifierName string
return void

TrainByGoogleSearchResult() public method

public TrainByGoogleSearchResult ( string classifierName ) : void
classifierName string
return void

TrainClassifierWithBackOfficeSourceTrainSet() public method

public TrainClassifierWithBackOfficeSourceTrainSet ( ) : void
return void

TrainClassifierWithNotNullCuisineTrainSet() public method

public TrainClassifierWithNotNullCuisineTrainSet ( ) : void
return void