Interface IModel
Interface for model.
Inherited Members
Namespace:numl.Supervised
Assembly:numl.dll
Syntax
public interface IModel : IModelBase
Methods
View SourcePredict(Vector)
Predicts the given o.
Declaration
double Predict(Vector y)
Parameters
Type | Name | Description |
---|---|---|
Vector | y | The Vector to process. |
Returns
Type | Description |
---|---|
System.Double | An object. |
Predict(Object)
Predicts the given o.
Declaration
object Predict(object o)
Parameters
Type | Name | Description |
---|---|---|
System.Object | o | The object to process. |
Returns
Type | Description |
---|---|
System.Object | An object. |
Predict<T>(T)
Predicts the given o.
Declaration
T Predict<T>(T o)
Parameters
Type | Name | Description |
---|---|---|
T | o | The object to process. |
Returns
Type | Description |
---|---|
T | A T. |
Type Parameters
Name | Description |
---|---|
T |
PredictValue(Object)
Predicts the raw label value
Declaration
object PredictValue(object o)
Parameters
Type | Name | Description |
---|---|---|
System.Object | o | Object to predict |
Returns
Type | Description |
---|---|
System.Object | Predicted value |
Save(String)
Saves the given IModel to a file.
Declaration
void Save(string file)
Parameters
Type | Name | Description |
---|---|---|
System.String | file | The file to load. |