IPredictorServiceSiteAdmin::get_lCaseCount

Ee784785.c++_off(en-US,CS.10).gifEe784785.vb_on(en-US,CS.10).gif

The lCaseCount property is a read-only Long that contains a count of the number of cases used by a model configuration.

Definition

HRESULT IPredictorServiceSiteAdmin::get_lCaseCount(BSTRsConfigName,long*plCaseCount);

Parameters

sConfigName

[in] A BSTR that contains the model configuration name.

plCaseCount

[out, retval] A pointer to a long that contains the number of cases for the specified model configuration.

Return Values

This method returns an HRESULT indicating whether or not it completed successfully. See the following Error Values section for more details.

Error Values

This method returns S_OK (0x00000000) to indicate success and standard COM HRESULT error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object, which can be accessed using the API function GetErrorInfo. In particular, the GetDescription method of the IErrorInfo interface may return a text description of the error.

Remarks

A case is the set of information known about a particular user. This information might include user profile data, purchase history, URL click history, or other user associated data. The number of cases used to build a model affects the accuracy of that model. In general, predictions will be more accurate when many cases are available for the model. However, the time necessary to build the model increases with the number of cases in the configuration and increases in accuracy are slight when the number of cases becomes very large (typically, greater than 50,000 cases).

Use the slModelConfigs property of the PredictorServiceAdmin object to retrieve a list of the available model configurations.

Connect to the Data Warehouse using the Init method before accessing this property.

For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.

The plCaseCount parameter contains valid data only if the property is accessed successfully.

See Also

PredictorServiceAdmin Object

PredictorServiceSiteAdmin Object

PredModelBuilder Object


All rights reserved.