IBM InfoSphere Streams Version 4.1.0

Monitor output port

The monitor port is an optional output port that outputs operator coefficients. You can use these coefficients for troubleshooting issues or as a reference for future use.

When you send a Monitor control signal to the optional control input port, the operator outputs the existing coefficients to the monitor output port. Analysts can use these values for analysis or for future reference. The monitor output port supports the following custom function: coefficients().

This function returns the internal coefficients in the map{rsrting,map{uint64,float64}} format. This format is different for each of the operators. The following list contains the operators that support the optional monitor output port and the operator coefficient format:
  • ARIMA operator:
    • Format: {"AR":{0u:{0u:1.1,1u:1.2},1u:{0u:1.2,1u:1.3}},"MA":{0u:{0u:1.1,1u:1.2}}
  • Holtwinters operator:
    • Format: {"Alpha":{0u:0.5,1u:1.3},"Beta":{0u:0.5,1u:1.3},"Gamma":{0u:0.5,1u:1.3}}
  • LPC operator:
    • Format: {{0u:{0u:1.1,1u:1.2},1u:{0u:1.2,1u:1.3}}
  • VAR operator:
    • Format: {{0u:{0u:[1.1,1.2],1u:[1.2,1.3]},1u:{0u:[1.1,1.2],1u:[1.1,1.2]}}…}
  • DSPFilter operator:
    • Format: {"xcoeff":{0u:1.1,1u:1.2},"ycoef":{0u:1.2,1u:1.3}}

Exceptions

An operator throws an exception and terminates in the following case:
  • A Monitor control signal is sent to the optional control input port and the output port is not defined.