Recommender Class Reference
Helper class with utility methods for handling recommenders.
More...
List of all members.
Detailed Description
Helper class with utility methods for handling recommenders.
Contains methods for creating and configuring recommender objects, as well as listing recommender classes.
Member Function Documentation
static T Configure< T > |
( |
T |
recommender, |
|
|
Dictionary< string, string > |
parameters, |
|
|
takes_string |
report_error | |
|
) |
| | [inline, static] |
Configure a recommender.
- Parameters:
-
| recommender | the recommender to configure |
| parameters | a dictionary containing the parameters as key-value pairs |
| report_error | void function that takes a string for error reporting |
- Returns:
- the configured recommender
static T Configure< T > |
( |
T |
recommender, |
|
|
string |
parameters | |
|
) |
| | [inline, static] |
Configure a recommender.
- Parameters:
-
| recommender | the recommender to configure |
| parameters | a string containing the parameters as key-value pairs |
static T Configure< T > |
( |
T |
recommender, |
|
|
string |
parameters, |
|
|
takes_string |
report_error | |
|
) |
| | [inline, static] |
Configure a recommender.
- Parameters:
-
| recommender | the recommender to configure |
| parameters | a string containing the parameters as key-value pairs |
| report_error | void function that takes a string for error reporting |
- Returns:
- the configured recommender
static ItemRecommender CreateItemRecommender |
( |
Type |
type |
) |
[inline, static] |
Create an item recommender from a type object.
- Parameters:
-
- Returns:
- an item recommender object of type type
static ItemRecommender CreateItemRecommender |
( |
string |
typename |
) |
[inline, static] |
Create an item recommender from the type name.
- Parameters:
-
| typename | a string containing the type name |
- Returns:
- an item recommender object of type typename if the recommender type is found, null otherwise
static RatingPredictor CreateRatingPredictor |
( |
Type |
type |
) |
[inline, static] |
Create a rating predictor from a type object.
- Parameters:
-
- Returns:
- a rating recommender object of type type
static RatingPredictor CreateRatingPredictor |
( |
string |
typename |
) |
[inline, static] |
Create a rating predictor from the type name.
- Parameters:
-
| typename | a string containing the type name |
- Returns:
- a rating recommender object of type typename if the recommender type is found, null otherwise
static string [] List |
( |
string |
prefix |
) |
[inline, static] |
List all recommenders in a given namespace.
- Parameters:
-
| prefix | a string representing the namespace |
- Returns:
- an array of strings containing the recommender descriptions
static string Needs |
( |
IRecommender |
recommender |
) |
[inline, static] |
Describes the kind of data needed by this recommender.
- Parameters:
-
| recommender | a recommender |
- Returns:
- a string containing the additional datafiles needed for training this recommender
static void SetProperty |
( |
IRecommender |
recommender, |
|
|
string |
key, |
|
|
string |
val | |
|
) |
| | [inline, static] |
Sets a property of a MyMediaLite recommender.
- Parameters:
-
| recommender | An IRecommender |
| key | the name of the property (case insensitive) |
| val | the string representation of the value |
delegate void takes_string |
( |
string |
s |
) |
|
Delegate definition necessary to define Configure.
The documentation for this class was generated from the following file: