small extensions
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 269 KiB After Width: | Height: | Size: 263 KiB |
@@ -587,15 +587,17 @@ MAE was selected for its intuitive interpretability.
|
||||
In particular, the fertility probability target lends itself well to an absolute error interpretation,
|
||||
making MAE a natural choice for evaluating prediction accuracy.
|
||||
|
||||
To enable a more nuanced comparison of model performance,
|
||||
we complement the overall MAE with targeted evaluations at biologically relevant subregions of the prediction sequence.
|
||||
Rather than relying solely on the aggregate error across the full time series,
|
||||
we compute MAE for specific intervals—such as before, during, and after the fertile window,
|
||||
as well as for individual days relative to ovulation.
|
||||
To complement this, we also report the mean squared error (MSE):
|
||||
\begin{align}
|
||||
\text{MSE} = \frac{1}{n} \sum_{i=1}^{n} (y_i - \hat{y}_i)^2
|
||||
\end{align}
|
||||
MSE penalizes larger errors more heavily than MAE, making it useful for highlighting substantial deviations.
|
||||
This is particularly relevant for model comparison, where disproportionate errors can skew performance.
|
||||
Moreover, since the fertility probability target was trained using an MSE-based loss function,
|
||||
this metric directly reflects the optimization objective.
|
||||
|
||||
As discussed in Section~\ref{subsubsec:physiological_signs},
|
||||
the five days leading up to ovulation are the most relevant for both contraception and natural family planning (NFP).
|
||||
These days are therefore evaluated individually.
|
||||
To enable a more nuanced comparison of model performance,
|
||||
we complement the overall error metrics with targeted evaluations at biologically relevant subregions of the prediction sequence.
|
||||
|
||||
This decomposition allows us to identify localized strengths and weaknesses in different models—
|
||||
for example, a model may accurately capture the onset of fertility but underperform closer to ovulation.
|
||||
@@ -621,19 +623,20 @@ Tables~\ref{tab:fertility_mae_metrics} and~\ref{tab:ov_over_mae_metrics} summari
|
||||
\toprule
|
||||
\textbf{Metric Name} & \textbf{Description} \\
|
||||
\midrule
|
||||
Fertility Overall & Mean absolute error (MAE) over the entire sequence. \\
|
||||
Pre-Fertility & MAE before the fertile window. \\
|
||||
Post-Fertility & MAE after the fertile window. \\
|
||||
\multicolumn{2}{@{}l}{\textbf{Mean Absolute Error}} \\
|
||||
\midrule
|
||||
Fertility Overall & MAE over the entire sequence. \\
|
||||
During-Fertility & MAE during the fertile phase. \\
|
||||
First fertile day & MAE on the first fertile day (start of fertile phase). \\
|
||||
Second fertile day & MAE on the second fertile day. \\
|
||||
Third fertile day & MAE on the third fertile day. \\
|
||||
Fourth fertile day & MAE on the fourth fertile day. \\
|
||||
Fifth fertile day & MAE on the fifth fertile day. \\
|
||||
Sixth fertile day & MAE on the sixth fertile day (end of fertile phase). \\
|
||||
Non-Fertility & MAE on the non-fertile days. \\
|
||||
\midrule
|
||||
\multicolumn{2}{@{}l}{\textbf{Mean Squared Error}} \\
|
||||
\midrule
|
||||
Fertility Overall & MSE over the entire sequence. \\
|
||||
During-Fertility & MSE during the fertile phase. \\
|
||||
Non-Fertility & MSE on the non-fertile days. \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\caption{Evaluation metrics of the fertility probability target based on mean absolute error (MAE) at various points across the predicted fertility window.}
|
||||
\caption{Evaluation metrics of the fertility probability target based on mean absolute error (MAE) at various intervals across the predicted fertility window.}
|
||||
\label{tab:fertility_mae_metrics}
|
||||
\end{table}
|
||||
|
||||
@@ -645,21 +648,40 @@ Tables~\ref{tab:fertility_mae_metrics} and~\ref{tab:ov_over_mae_metrics} summari
|
||||
\toprule
|
||||
\textbf{Metric Name} & \textbf{Description} \\
|
||||
\midrule
|
||||
OV-Over Overall & Mean absolute error (MAE) over the entire sequence. \\
|
||||
\multicolumn{2}{@{}l}{\textbf{Mean Absolute Error}} \\
|
||||
\midrule
|
||||
OV-Over Overall & MAE over the entire sequence. \\
|
||||
Pre-OV & MAE before the ovulation. \\
|
||||
Post-OV & MAE after the ovulation. \\
|
||||
Four days before & MAE four days before the ovulation (beginning of fertile phase). \\
|
||||
Three days before & MAE three days before the ovulation. \\
|
||||
Two days before & MAE two days before the ovulation. \\
|
||||
One day before & MAE one day before the ovulation. \\
|
||||
Day of OV & MAE on the day of the ovulation. \\
|
||||
One day after & MAE one day after the ovulation (end of fertile phase). \\
|
||||
\midrule
|
||||
\multicolumn{2}{@{}l}{\textbf{Mean Squared Error}} \\
|
||||
\midrule
|
||||
OV-Over Overall & MSE over the entire sequence. \\
|
||||
Pre-OV & MSE before the ovulation. \\
|
||||
Post-OV & MSE after the ovulation. \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\caption{Evaluation metrics of the ovulation-over target based on mean absolute error (MAE) at various points across the predicted fertility window.}
|
||||
\caption{Evaluation metrics of the ovulation-over target based on mean absolute error (MAE) at various intervals across the predicted fertility window.}
|
||||
\label{tab:ov_over_mae_metrics}
|
||||
\end{table}
|
||||
|
||||
\subsubsection{Regular and Irregular Cycles}\label{subsubsec:methodology_regular_and_irregular_cycles}
|
||||
|
||||
A perfectly regular menstrual pattern does not require a sophisticated algorithm to predict ovulation—
|
||||
the next ovulation day is likely to be identical or very close to the previous one.
|
||||
To evaluate how different algorithms handle varying degrees of cycle variability,
|
||||
we compare model performance on two distinct user groups: one with highly regular cycles and another with highly irregular cycles.
|
||||
|
||||
These groups are defined by the standard deviation of ovulation day across cycles.
|
||||
Specifically, we select the 100 users with the lowest standard deviation (regular group)
|
||||
and the 100 users with the highest standard deviation (irregular group).
|
||||
This comparison allows us to assess not only overall performance,
|
||||
but also whether ovulation can be meaningfully predicted in the presence of strong temporal irregularity.
|
||||
|
||||
For a user to be included in the analysis, they must have at least five completed cycles.
|
||||
Additionally, ovulation must occur no later than cycle day 150, as later values likely indicate measurement errors or
|
||||
biologically atypical cases that fall outside the scope of this study.
|
||||
|
||||
\subsubsection{Baseline Comparisons}\label{subsubsec:baseline_comparisons}
|
||||
|
||||
To place model results into context, a set of simple baseline models was established.
|
||||
|
||||
Reference in New Issue
Block a user