Class NoisyStats

java.lang.Object
dk.alexandra.fresco.stat.anonymisation.NoisyStats
All Implemented Interfaces:
dk.alexandra.fresco.framework.builder.Computation<List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>

public class NoisyStats
extends Object
implements dk.alexandra.fresco.framework.builder.Computation<List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
Compute differentially private estimates for the coefficients of a linear model fitted on a dataset. The method is based on the paper Differentially Private Simple Linear Regression by Alabi et. al.
  • Constructor Summary

    Constructors 
    Constructor Description
    NoisyStats​(List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>> x, List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>> y, double epsilon)  
  • Method Summary

    Modifier and Type Method Description
    dk.alexandra.fresco.framework.DRes<List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>> buildComputation​(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric root)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NoisyStats

      public NoisyStats​(List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>> x, List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>> y, double epsilon)
  • Method Details

    • buildComputation

      public dk.alexandra.fresco.framework.DRes<List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>> buildComputation​(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric root)
      Specified by:
      buildComputation in interface dk.alexandra.fresco.framework.builder.Computation<List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>