Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
better docstring for Loss
  • Loading branch information
g-bauer committed Dec 13, 2022
commit 4cce7d5a464037515d6b34d80bcade5f22f1ef88
6 changes: 3 additions & 3 deletions src/estimator/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ impl From<EstimatorError> for PyErr {
#[macro_export]
macro_rules! impl_estimator {
($eos:ty, $py_eos:ty) => {
/// Loss function that is applied to the residuals to
/// weight to in- and outliers.
/// Collection of loss functions that can be applied to residuals
/// to handle outliers.
#[pyclass(name = "Loss")]
#[derive(Clone)]
pub struct PyLoss(Loss);
Expand Down Expand Up @@ -129,7 +129,7 @@ macro_rules! impl_estimator {
/// The equation of state that is used.
/// loss : Loss
/// The loss function that is applied to residuals
/// to distinguish between in- and outliers.
/// to handle outliers.
///
/// Returns
/// -------
Expand Down