Struct PyReconciliation
pub struct PyReconciliation {
pub(crate) inner: Reconciliation,
}Expand description
The two explains aligned by axis.
Fields§
§inner: ReconciliationImplementations§
§impl PyReconciliation
impl PyReconciliation
pub(crate) fn __repr__(&self) -> String
pub(crate) fn rows(&self) -> PyRecords
pub(crate) fn rows(&self) -> PyRecords
(axis, predicted, explained, difference, own_gamma, cross_gamma, residual) per leg: the first-order term from risk, the ladder’s leg,
the leg less the prediction, and that difference decomposed into the
leg’s own gamma, its cross gamma with the axes moved before it, and
the residual the two leave. The resets row, present when a print
became known, has both terms equal to the reset step and the three
decomposed terms zero.
pub(crate) fn total_difference(&self) -> f64
pub(crate) fn total_difference(&self) -> f64
The sum of the rows’ differences.
pub(crate) fn total_residual(&self) -> f64
pub(crate) fn total_residual(&self) -> f64
The sum of the rows’ residuals: the prediction’s closure plus residual within round-off.
Trait Implementations§
§impl Clone for PyReconciliation
impl Clone for PyReconciliation
§fn clone(&self) -> PyReconciliation
fn clone(&self) -> PyReconciliation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl DerefToPyAny for PyReconciliation
§impl IntoPy<Py<PyAny>> for PyReconciliation
impl IntoPy<Py<PyAny>> for PyReconciliation
§impl PyClass for PyReconciliation
impl PyClass for PyReconciliation
§impl PyClassImpl for PyReconciliation
impl PyClassImpl for PyReconciliation
§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
#[pyclass(subclass)]
§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]
§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
#[pyclass(mapping)]
§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
#[pyclass(sequence)]
§type ThreadChecker = SendablePyClass<PyReconciliation>
type ThreadChecker = SendablePyClass<PyReconciliation>
This handles following two situations: Read more
§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::ImmutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::ImmutableChild
Immutable or mutable
§type BaseNativeType = PyAny
type BaseNativeType = PyAny
The closest native ancestor. This is
PyAny by default, and when you declare
#[pyclass(extends=PyDict)], it’s PyDict.fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyReconciliation
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyReconciliation
§impl PyMethods<PyReconciliation> for PyClassImplCollector<PyReconciliation>
impl PyMethods<PyReconciliation> for PyClassImplCollector<PyReconciliation>
fn py_methods(self) -> &'static PyClassItems
§impl PyTypeInfo for PyReconciliation
impl PyTypeInfo for PyReconciliation
§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
§fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
Returns the safe abstraction over the type object.
§fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool
fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool
Checks if
object is an instance of this type or a subclass of this type.§fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool
fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool
Checks if
object is an instance of this type.Auto Trait Implementations§
impl Freeze for PyReconciliation
impl RefUnwindSafe for PyReconciliation
impl Send for PyReconciliation
impl Sync for PyReconciliation
impl Unpin for PyReconciliation
impl UnsafeUnpin for PyReconciliation
impl UnwindSafe for PyReconciliation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more