SelfCalibratedModel
public class SelfCalibratedModel : SmoothedLinearModel
Extension of SmoothedLinearModel to include self-calibration
- Assume minimum and average distance between people for entire population is similar over time (e.g. weeks and months).
- Experiments have shown advertised TX power for all test phones are similar while the measured RSSI by different phones differs at the same distance.
- Normalisation of measured RSSI value is required to bring all receivers to a common range, and then use the minimum and median value to determine the intercept and coefficient.
- Histogram normalisation is enabled by a long term histogram of all measured RSSI values by a device.
- Use social norm to set minimum and mean distance between people, then set time duration within minimum and mean distance to derive percentiles for self-calibration based on observed values.
-
Undocumented
Declaration
Swift
public let histogram: RssiHistogram
-
Undocumented
Declaration
Swift
public override func reset()
-
Undocumented
Declaration
Swift
public func update()
-
Undocumented
Declaration
Swift
public override func map(value: Sample)
-
Undocumented
Declaration
Swift
public override func reduce() -> Double?