## 5 Conclusions  
The application of the proposed algorithm (with the optimization of hyperparameters) for the classification of eggshells into groups from either a healthy flock or from an MS-infected flock produced the following results: for the white eggshell dataset, an F-score over 95% was obtained; for the brown eggshell dataset, 86% was the highest obtained result. The significantly lower F-score for the brown eggshell dataset is due to having the widest range of pigmentation in the samples. Analysis was performed using the wavelengths of DPSS lasers, which are easily available on the market, so further research with different wavelengths may result in better scores. The crucial conclusion drawn from obtained results is that parallel classification of white and brown eggshells requires increasing the number of wavelengths to eight. Only two wavelengths are common among the key ones for both groups: A14 = 671 nm, A15 = 690 nm. The sets differ in the number of key wavelengths and the spectral ranges of those wavelengths.  
\begin{table}
\begin{tabular}{c c c c} \hline \hline
**Ranking Position** & **Number of Wavelengths** & **Combination of Parameters** & **5 CV Mean (\%)** \\ \hline
1 & 6 & A3, **A4**, A5, **A8**, **A14**, **A15** & 86.210 \\
2 & 9 & A3, **A4**, A5, **A6**, **A8**, **A9**, **A14**, **A15** & 86.089 \\
3 & 7 & A3, **A4**, A5, **A7**, **A8**, **A14**, **A15** & 86.034 \\
4 & 8 & A3, **A4**, **A5**, **A6**, **A7**, **A8**, **A14**, **A15** & 85.991 \\
5 & 7 & A3, **A4**, **A5**, **A6**, **A8**, **A14**, **A15** & 85.377 \\
6 & 7 & A3, **A4**, **A6**, **A7**, **A8**, **A14**, **A15** & 84.294 \\
7 & 6 & A3, **A4**, **A7**, **A8**, **A14**, **A15** & 84.07 \\
8 & 7 & A4, **A5**, **A6**, **A7**, **A8**, **A14**, **A15** & 83.981 \\
9 & 5 & A3, **A4**, **A8**, **A14**, **A15** & 83.972 \\
10 & 6 & A3, **A4**, **A6**, **A8**, **A14**, **A15** & 83.366 \\ \hline \hline \end{tabular}
\end{table}
Table 10: Top 10 ranking for multiple wavelength usage for brown eggshells with hyperparameter optimization and decreased C parameter value. Parameters given in bold indicate the key wavelengths for brown eggs examination.  
For white eggshells, an F-score higher than 94% was obtained with seven wavelengths, but to reach the top result (95.755%), eight wavelengths were required. For brown eggshells, five wavelengths were sufficient, with six required to reach the top F score (86.21%).  
Conceptualization, A.P. and S.P.; methodology, A.P.; software, R.K.; validation, S.P.; formal analysis, R.K.; investigation, A.P.; resources, O.K.; data curation, O.K.; writing--original draft preparation, A.P. and R.K.; writing--review and editing, S.P.; visualization, S.P. and R.K.; supervision, A.P.; project administration, A.P.; funding acquisition, A.P. All authors have read and agreed to the published version of the manuscript.  
This research was funded by the Warsaw University of Technology, grant number 504/04557/1143/43.090003.  
Not applicable.  
The data presented in this study are available on request from the corresponding author. The data are not publicly available due to privacy issues.  
The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.