Description Usage Arguments Value References See Also Examples

View source: R/bernstein_polynomials.R

Fits the basis of Bernstein polynomial functions to given real-valued
function `f`

of *[0,1]^d* where *d=*`dims`

, against
a regular lattice of *k+1* points in each dimension for given
`k`

. Note the approximation is not the iterated variant.

1 | ```
bernstein(f, dims, k = 10)
``` |

`f` |
a function to be approximated. |

`dims` |
the function |

`k` |
the lattice resolution of approximation. |

an S3 object of class `bernstein`

.

Francesco Ald<c3><a0> and Benjamin I. P. Rubinstein. "The Bernstein Mechanism: Function Release under Differential Privacy", in Proceedings of the 31st AAAI Conference on Artificial Intelligence (AAAI'2017), pp. 1705-1711, Feb 2017.

`predict.bernstein`

for subsequent evaluation.

1 2 3 4 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.