To this aim, in this paper we presentpyCANON, a Python library and CLI that allows to check if certain anonymity conditions are verified for a dataset, given a set of quasi-identifiers and a set of sensitive attributes. The main idea behind it is to provide researchers, and in general an...
name: Python `str` name given to ops managed by this object. """self._graph_parents = [] self._name = name self._validate_args = validate_argswithself._name_scope("init", values=[skewness, tailweight]): self._skewness = ops.convert_to_tensor(skewness, name="skewness") self._tail...
開發者ID:tgsmith61591,項目名稱:skoot,代碼行數:20,代碼來源:test_skewness.py 示例11: test_KNeighborsRegressor_multioutput_uniform_weight ▲點讚 6▼ # 需要導入模塊: from sklearn.utils import validation [as 別名]# 或者: from sklearn.utils.validation importcheck_random_state[as 別名]deftest_KNei...
self._skewness = ops.convert_to_tensor(skewness, name="skewness") self._tailweight = ops.convert_to_tensor(tailweight, name="tailweight") check_ops.assert_same_float_dtype([self._skewness, self._tailweight])ifvalidate_args: self._tailweight = control_flow_ops.with_dependencie...