public function AcquiaLiftReportDataSourceInterface::getConfidenceReport in Acquia Lift Connector 7
Returns a confidence report for the specified agent and timeframe.
Parameters
$agent_name: The name of the agent.
string $date_start: The start date in the format YYYY-MM-DD or null to use today's date.
string $date_end: The end date in the format YYYY-MM-DD or null to get a report for just a single day.
string $point: An optional decision point to limit the report to.
array $options: An array of report options to be passed to Acquia Lift where the keys are the parameter names and the values are the parameter values. Support includes:
- features: An array of features to include in the report. Defaults to "none" but can also be set to "all" for all features.
- confidence-measure: The confidence measure to use between 0 and 1.
- aggregated-over-dates: Aggregates the data over the time span or reports on individual dates
Return value
array The report as an associative array
Throws
2 methods override AcquiaLiftReportDataSourceInterface::getConfidenceReport()
File
- includes/
acquia_lift.classes.inc, line 1469 - Provides an agent type for Acquia Lift
Class
Code
public function getConfidenceReport($agent_name, $date_start = NULL, $date_end = NULL, $point = NULL, $options = array());