Next Article in Journal
Current Aspects on the Plastic Nano- and Microparticles Toxicity in Zebrafish—Focus on the Correlation between Oxidative Stress Responses and Neurodevelopment
Next Article in Special Issue
Discriminant Analysis Approach in Morphometric Differentiation and Characterization of Serbian Autochthonous Goats
Previous Article in Journal
Alien vs. Predator: Impacts of Invasive Species and Native Predators on Urban Nest Box Use by Native Birds
Previous Article in Special Issue
The Effect of Lameness on Milk Production of Dairy Goats
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Effect of the Onset of Intramammary Infection on the Electrical Conductivity of Ewe’s Milk and Study of Various Algorithms for Its On-Line Detection

1
Servicio de Apoyo Técnico a la Docencia y la Investigación, Universidad Miguel Hernández de Elche, 03312 Orihuela, Spain
2
C/Anabel Segura, 7, 28108 Madrid, Spain
3
Centro de Investigación e Innovación Agroalimentaria y Agroambiental (CIAGRO), Universidad Miguel Hernández de Elche, 03312 Orihuela, Spain
*
Authors to whom correspondence should be addressed.
Animals 2023, 13(11), 1808; https://doi.org/10.3390/ani13111808
Submission received: 11 May 2023 / Revised: 25 May 2023 / Accepted: 26 May 2023 / Published: 30 May 2023
(This article belongs to the Special Issue Feature Papers in the 'Small Ruminants' Section)

Abstract

:

Simple Summary

This article studies the effect of the onset of intramammary infection (IMI) in dairy sheep on milk production, electrical conductivity (EC), SCC and milk quality, together with other physiological variation factors. In addition, it analyses the performance of different algorithms that use the variable EC of gland milk (a variable that can be automated in the milking parlour) for economic and early detection of IMI. The onset of IMI was found to cause an increase in SCC and a significant drop in production, more pronounced in bilaterally than unilaterally infected ewes, while EC was significantly higher when infection occurred bilaterally. The best algorithm for IMI detection using EC achieved 50% sensitivity and 100% specificity.

Abstract

The aim of this study was to determine the effect of the onset of intramammary infection (IMI) on the electrical conductivity (EC) of ewe milk and assess the detection capability of various algorithms based on daily glandular milk EC measurement. An experiment was carried out with 26 Manchega sheep located at the farm of the Miguel Hernández University, Elche, Spain. The variables in milk from the gland (production, EC) were monitored daily for 2 weeks during the morning and evening milking; once infection was established in the gland, the variables were measured for a further 4 weeks. In addition, the SCC, sodium, potassium, chloride and milk macro-compositions were analysed. The sensitivity, specificity and positive and negative predictive values for IMI detection of different algorithms were calculated using the EC variable. It was observed that the onset of IMI resulted in an increase in SCC and a significant decrease in yield, and EC rose significantly when infection occurred bilaterally. The best results for IMI detection were obtained with the algorithm that detected deviations greater than 3σ of the conductivity ratio between collateral glands with respect to a moving average calculated with a time horizon of 10 days (50% sensitivity and 100% specificity).

1. Introduction

Mastitis in dairy sheep, both clinical and subclinical, causes economic losses due to a drop in production and cheese yield [1]. In a sheep flock with 75% infected glands, a decrease in production of 12.2% was observed [1], whereas in goats, with the same percentage of infected glands, the losses were 2.3%. A production loss related to the increase in SCC was also reported [2], reaching 16% when the threshold of 500 × 103 cells/mL was exceeded, emphasising the importance of implementing SCC control programmes in sheep. Mastitis also causes an alteration in milk composition and a consequent decrease in cheese yield, more pronounced in sheep than in cattle or goats [3]. Another problem associated with subclinical mastitis is that, because it is not detected, no treatment is applied to infected animals, so the disease often persists in subsequent lactations [4]. For this reason, it is of great importance to develop techniques for the early and efficient detection of cases of mastitis in sheep, in order to minimise the economic losses caused by this disease.
The main advantage of measuring EC as a method for detecting mastitis is the ease with which it can be automated by installing EC sensors in short milk tubes. This allows us to record and analyse data from each gland as the ewes are being milked. However, in sheep, there are several non-infectious factors that affect EC (stage of lactation, number of lactations, etc.) in such a way that setting absolute EC thresholds for mastitis detection does not achieve desirable sensitivity or specificity results [5], as is also seen in goats [6] and cows [7]. Accordingly, the collection of multiple EC measurements in the milking parlour is more appropriate than the use of portable equipment and spot measurements to detect high SCC in sheep [8].
To improve the detection of mastitis using the measurement of EC in milk, calculation algorithms capable of obtaining a specificity (Sp) of 95% and sensitivity (Se) of 96 and 100% for clinical and subclinical mastitis, respectively, were developed for cattle, with a confidence interval of 95%, using the tracking signal approach (Tracking Signal Method) [9]. Among the literature consulted, the most commonly used algorithm is based on the comparison of the EC value of the current milking with the moving average of the last milking, setting an increment from which the alarm signal is given. With this method, using the data from the last 14 milkings, Se of 87 and 89% for clinical and subclinical mastitis, respectively, and a Sp of 88% have been obtained [10].
In small ruminants, albeit to a lesser extent, the use of algorithms that include EC for mastitis detection has also been studied. In goats, during the days immediately following the onset of intramammary infection, there was a significant rise in EC which varied in magnitude depending on the causative pathogen [11]. In a subsequent work in goats [12], the use of algorithms that compared the daily and individual measurement of glandular milk EC with its moving average was studied; the authors were able to classify all cases of clinical mastitis, although they obtained different results in subclinical cases depending on the algorithm. The highest Se (58.3%) was obtained by considering those cases in which the EC of the day in question deviated by at least three times the standard deviation of its moving average (calculated with the values of the four previous days) as positive, with 75% Sp. A study, in which EC sensors in commercial liners which allowed for the measurement of EC per gland on-line were used [13], managed to obtain a Se of 80% but Sp between 25 and 42.9%, depending on the calculation algorithm used for mastitis detection in Saanen goats. The same group, in a previous work using the Fuzzy Logic model, had obtained better results: Se of 81% with Sp of 69% [14]. Another study on goats [12] concluded that the best algorithm to choose would depend on the level of prevalence and type of mastitis. In cases of low prevalence and subclinical mastitis (as is common in small ruminants on technified farms), priority should be given to avoiding unnecessary treatment, which implies prioritising the Sp.
In sheep, studies are very scarce. One observed that mastitis causes an increase in milk EC and proposed two thresholds for mastitis detection [15]: one of 5 mS/cm to diagnose glands with mastitis, achieving a Se of 60.2% and a Sp of 91.4%, with 87.9% of the samples correctly classified; the other consists of using a difference of 0.3 mS/cm in EC between the two glands of the same animal, finding better results (70% Se, 93% Sp and 89.1% of samples classified correctly). Another study [16] found no significant differences between the impedance (inverse property of EC) of healthy and infected glands, although they did obtain a negative correlation, but of low value, between impedance and SCC (r = −0.27). In more recent studies, based on the EC measured in samples taken at gland level in Sardinian ewes and using ROC (Receiver Operation Characteristic) analysis, an EC of 4.835 mS/cm was chosen as the discrimination threshold, with which the values of Se, Sp and area under the curve were 73.08%, 75.46% and 0.804%, respectively [17]. They then tested a prototype developed for real-time measurement of EC, with which, using this threshold, they were able to correctly classify 64.7% of the samples that presented SCC > 700,000 cells/mL and 76.5% of samples with low SCC (<700,000 cells/mL), with the authors highlighting the low percentage of false negatives obtained (8.8%).
In order to determine the effect of the onset of intramammary infection on the EC of ewe’s milk, this trial was designed with two objectives in mind: to study the effect of the onset of intramammary infection on the EC of glandular milk and its evolution post-infection and to assess the mastitis detection capability of various algorithms based on daily glandular milk EC measurement.

2. Materials and Methods

2.1. Experimental Location and Animals Used

The experiment was carried out at the Small Ruminants Training and Experimental Farm of the Higher Polytechnic School of Orihuela, belonging to the Miguel Hernández University (UMH) of Spain. The farming system was intensive, with permanent stabling and a Unifeed diet (consistent throughout the experiment). The reproductive rhythm was one lambing per year, with mating in October–November and lambing scheduled for mid-April. Twenty-six multiparous Manchega ewes were used: 11 ewes at first lambing, 5 ewes at second, 4 ewes at fourth and 6 ewes at fifth parturition. Average prolificacy was 1.54 (±0.51). The ewes suckled the lambs until they were weaned, and the milk not consumed by the lambs was milked once a day to avoid a drop in production. The lambs were weaned at one month of age and the ewes were milked twice a day (8:00 a.m. and 4:00 p.m.) in a Casse 1 × 12 × 12 low-line milking parlour, with the following milking parameters: 36 kPa vacuum level, 180 pulses per minute and 50% pulsation ratio. The glands were milked separately, collecting the milk in volumetric meters.
Feeding of the ewes, consisting of 2.5 kg of special complete mix (Unifeed) for high milk production ewes per ewe per day and administered in two doses, was kept constant throughout the experiment. The animals were also provided with vitamin–mineral blocks as well as cereal straw ad libitum. Water was supplied freely in cup troughs with a constant-level buoy.

2.2. Experimental Design and Variables Analysed

The experiment lasted 7 weeks: a 1-week pre-experiment period, used to select the animals, and a 6-week experimental period.
After weaning the lambs, the pre-experimental period began, during which the 50 lactating ewes on the farm were sampled twice at seven-day intervals. In these controls, 5 mL of milk was taken aseptically from each gland before the morning milking and used for bacteriological analysis. Subsequently, the glands of each ewe were milked separately, and the milk was collected in volumetric meters, from which a representative sample of 100 mL was extracted after recording the production. This sample was used to analyse the SCC, EC and macroscopic composition (fat, caseins, whey proteins, lactose and ash) and mineral content (Na+, K+, Cl−). With the information gathered during this period, 26 animals (15 ewes producing less than 400 mL/gland and 11 producing more than 400 mL/gland) free of intramammary infection were selected and used in the experimental period.
The experimental period began three days after the second pre-experimental sampling and lasted six weeks, split into two phases. In the first phase (two weeks), in order to establish conditions prior to the onset of infection, the production and EC of both glands of each animal were measured daily at both milkings (morning and evening). After this initial phase, the animals were subjected to a number of unhealthy situations (UHS) that can occur on commercial farms and increase the likelihood of pathogen entry through the teats during milking. These unfavourable situations were:
(a)
Consecutively milking a healthy ewe after another ewe with an intramammary infection, having decreased the diameter of the short milk tubes (thus decreasing the evacuation volume) and plugging liner openings, which favours immersion of the teat in milk and the consequent transmission of infection, while at the same time causing cross-fluctuations by allowing sudden air ingress through a teatcup;
(b)
Raising the vacuum level (VL) at milking to 40 kPa;
(c)
Overmilking for 3 min;
(d)
And, finally, the elimination of teat sealing with iodine after milking.
The glands were subjected to UHS until a sufficient number of cases of infected glands were obtained (Table 1). After resolution of the UHS, the experiment was extended for another four weeks to observe the evolution of the variables studied after the onset of intramammary infection.
Health status definition. The glands were classified according to their health status, based on the results of the bacteriological analysis and SCC. For the classification between positive and negative cultures, the National Mastitis Council recommendations were applied (Harmon et al., 1990). In the positive samples, the microorganisms were isolated and frozen in milk with 2% glycerol at −4 °C until the end of the experiment, at which time, identification of the bacterial genus was performed. Identification was performed using Gram staining and catalase test in colonies with morphology compatible with Gram-positive microorganisms. Finally, in the case of staphylococci, the bacterial species was identified using the Apistah kit (Bio Merieux, France), while those compatible with enterobacteria were identified using the BBL Enterotube II kit (BD Diagnostic Systems, Germany). Glands with positive bacteriological analysis and SCC higher than 400 × 103 cells/mL were classified as infected glands. Glands in which the bacteriological analysis was negative and the SCC was less than 400 × 103 cells/mL were classified as healthy glands. There were no cases in which the bacteriological analysis was positive without SCC elevation or SCC elevations with negative bacteriological analysis.
Bacteriological analysis was performed at different frequencies, depending on the phase of the experiment. Three bacteriological culture studies were performed 14, 7 and 3 days before glands were subjected to UHS and on the same day as the onset of UHS before morning milking. Subsequently, cultures were taken daily to confirm the health status of the glands and the day the infection set in. Once the onset of the infection was confirmed, the experiment was prolonged for 4 more weeks, and 6 cultures were taken at 4, 7, 11, 14, 14, 21 and 28 days after onset of the infection to confirm its presence and/or persistence.
Milk production was determined daily in the morning and evening milkings using volumetric meters, from which a representative sample of the total amount milked (100 mL) was obtained and used to determine the EC and other variables at the frequency set for each milking.
The SCC (×103 cells/mL) was analysed at the Valencian Community Interprofessional Milk Laboratory (Laboratorio Interprofesional de Leche de la Comunidad Valenciana, LICOVAL) using the fluoro-opto-electronic method (Fossomatic 5000; Foss, Hillerød, Denmark) in samples to which azidiol had been added. SCC was determined in milk from the two milkings 14 and 7 days prior to subjecting the glands to UHS, daily from 3 days before to 14 days after the UHS, and four more controls were performed at 18, 21 and 28 days after onset of the infection.
The gross composition (fat, caseins, whey proteins, lactose and ash) and mineral content (Na+, K+, Cl−) were analysed in milk samples taken at the two milkings on days 14, 7 and 3 days before UHS, on the day of the UHS initiation and 4, 7, 11, 14, 18, 21 and 28 days after the onset of infection. The gross composition was analysed using infrared spectroscopy (Milko Scan FT 120; Foss-electric, Hillerød, Denmark), expressing the results as a percentage of wet matter. Na+ and K+ contents (mg/L) were determined using flame photometry (PFP, JENWAY, Staffordshire, UK). To determine the Cl− content (mg/L), the Mohr method adapted for milk (AOAC, 1995) was used, with the analyses always being carried out by the same person to avoid operator effect. Samples were preserved by freezing (−18 °C) until mineral analysis.
EC (mS/cm) was analysed daily at the morning and evening milkings using a laboratory conductivity meter (GLP 32, Crison, Alella, Spain) with automatic temperature compensation at 25 °C.

2.3. Statistical Analyses

Effect of the onset of intramammary infection on the variables. To understand the evolution of EC, SCC and gland production as a function of gland health status (INF) over time periods close to the onset of infection (PER), the EC and SCC variables were transformed to logarithm base 10 (LCE, LSCC) to normalise the data distribution. The relationship between LCE and LSCC was studied using a Linear Mixed Model (Proc Mixed, SAS V. 9.2, SAS Institute, Cary, NC, USA, 2012) with the following fixed effects: health status of the glands (INFi, with four levels. 0: Both collateral glands of animals remained free from infection throughout the experiment. 1: Healthy gland during the experiment whose collateral became infected during the experiment. 2: Infected gland whose collateral remained free of infection throughout the experiment. 3: Both collateral glands of bilaterally infected animals during the experiment); the milking session (ORDj, with two levels: morning or evening milking); the time period with respect to the time of onset of infection (PERk, at seven levels; k = 1: from 9 to 7 days before infection; k = 2: from 6 to 4 days before infection; k = 3: from 3 days to 1 day before infection; k = 4: from 1 to 3 days after infection; k = 5: from 4 to 6 days after infection; k = 6: from 7 to 9 days after infection; k = 7: from 10 to 12 days after infection). Finally, the interaction of gland health status with period and milking session was included. As a random effect, the gland (RL: right or left) nested within the ewe (EW) was considered to model the covariance between the observations of the glands within each ewe [18]. A “compound symmetry” type correlation adjustment model of the variance between repeated measures from the same animal was used, given that it was the one that provided the best fit (lowest) according to the Akaike Iteration Criterion (AIC) and the Bayesian Iteration Criterion (BIC).
To analyse the evolution of the variables studied in ewes free of intramammary infection, each healthy animal was assigned a reference infected animal of similar productive level to the one it had before infection and, therefore, the same day of infection (in this case, of non-infection).
Relationship of milk composition and mineral content to EC. To study the relationship between the physicochemical composition of milk and EC, a linear regression was performed using the Proc Reg program of the SAS statistical package (SAS V.9.2. SAS Institute, Cary, NC, USA, 2012). The independent variables were: fat, casein, lactose, whey proteins, chlorides, sodium and potassium. Whey protein, chloride and sodium contents were not significant, so they were discarded from the final model.
Correlation of EC with SCC in milk. The correlation between EC and SCC was studied globally and by SCC intervals (SCC < 400 × 103 cells/mL and SCC ≥ 400 × 103 cells/mL), for which the Proc Corr program of the SAS statistical package (V.9.2. SAS Institute, Cary, NC, USA, 2012) was used.
Study of different computational algorithms for automatic mastitis detection
The study was carried out with the glandular milk EC measurements and the EC ratio between collateral glands (RELEC) (an indicator of the animal’s udder health status) recorded daily. Based on the health status of the ewes’ glands, the RELEC was calculated as follows:
  • The ratio between the EC of the infected gland and the healthy gland in animals with unilateral infection;
  • The ratio between the EC of the right gland and the EC of the left gland, in the case of healthy or bilaterally infected animals.
  • The algorithms tested were:
  • EC deviations from the moving average.
Rule 1 (R1): The onset of infection is expected to cause an increase in the EC, so positive cases were classified as those in which the EC was higher than that of the moving average for the previous 4, 8, 10 or 14 days by 5, 10, 20 or 30%, applying the following formula:
EC/Moving average (EC) (4, 8, 10, 14 days) > 1.05; 1,.10; 1.20 or 1.30.
Rule 2 (R2): In the case of RELEC, the onset of a bilateral intramammary infection may result in an increase (infection in the numerator gland) or a decrease (infection in the denominator gland) in the variable. In order to consider both possibilities, positive cases were classified as those in which the RELEC was 5, 10, 15, 20 or 30% higher or lower than the moving average for the previous days. The formula applied was:
0.70; 0.80; 0.90; 0.95 > RELEC/Moving average (RELEC) (4, 8, 10, 14 days) > 1.05; 1.10; 1.20; 1.30.
  • Deviations from standard deviation
Deviations from the normal were interpreted as occurring when the variable (EC or RELEC) deviated from the mean (ECmean or RELECmean) by more than 3 or 4 times the standard deviation (σ) of the mean.
Rule 3 (R3): EC - ECmean (4, 8, 10, 14 days) > 3 or 4 σ (4, 8, 10, 14 days).
Rule 4 (R4): In this case, in order to consider both increases and decreases in RELEC that could occur, the cases in which the absolute value of the difference between RELEC and the mean RELEC for the previous 4, 8, 10 or 14 days was greater than 3 or 4 times the σ were deemed positive.
|RELEC—RELECmean (4, 8, 10, 14 days)| > 3 or 4 σ (4, 8, 10, 14 days)
The described algorithms were evaluated by observation during the five days after the onset of infection in two ways. First, the five days were monitored separately. Second, the five days following the onset of infection were considered together: For a case to be classified as negative, the threshold should not be exceeded on any of the five days. If there was at least one positive case within five days from the onset of infection after applying the tested algorithm, the gland was classified as positive. This was intended to prevent the EC elevation caused in the first days after the onset of infection from raising the mean and resulting in false negatives in subsequent days, as it is more difficult to exceed that mean.
Following the application of the different algorithms, positive cases were classified as true positives (TP) if they corresponded to an infected gland and otherwise as false positives (FP). Negative cases were classified as true negatives (TN) when they corresponded to healthy glands and false negatives (FN) when they corresponded to infected glands.
Based on the data obtained for the EC and RELEC variables, the capacity for detection of intramammary infection (sensitivity, specificity, positive predictive value and negative predictive value) was calculated using the algorithms described:
  • Sensitivity (Se): The ability of the method to detect positive cases, or the likelihood that a positive sample will be classified as such (TP/(TP + FN)).
  • Specificity (Sp): The ability of the method to detect negative cases, or the likelihood that a negative sample will be classified as such (TN/(TN + FP)).
  • Positive Predictive Value (PPV): Probability that a sample classified as positive is actually infected (TP/(TP+FP)).
  • Negative Predictive Value (NPV): Probability that a sample classified as negative is actually healthy (TN/(TN + FN)).

3. Results

3.1. Incidence and Prevalence of Infection

The experiment was started with 26 ewes whose glands were free of intramammary infection. After being subjected to UHS, twelve ewes were infected, nine bilaterally and three unilaterally (Table 1), making a total of 21 infected glands; so the prevalence after UHS was 42.87% in glands and 46.15% in ewes. Starting from healthy animals, the incidence throughout the experiment coincides with the prevalence after UHS. All of them were subclinical, with no case of clinical mastitis.
Most of the pathogens isolated (71.43%) belong to the family Enterobacteriaceae (Table 2). When infection was established unilaterally, an increase in EC was only observed in the gland in which enterobacteria were isolated, although the increase in EC (0.16 and 0.11 mS/cm in the morning and evening milkings, respectively) was not as high as that observed in ewes infected bilaterally by the same pathogen (0.44 and 0.48 mS/cm in the morning and evening milkings, respectively). In cases where infection occurred bilaterally, a high increase in EC was observed when the infection was caused by Serratia marcescens (0.81 mS/cm for evening milking), Pantogea agglomerans (0.23 mS/cm in the morning milking and 0.64 mS/cm in the evening), enterobacteria (0.44 and 0.48 mS/cm in the morning and evening milkings, respectively), all considered major pathogens, or by Staphylococcus spp. (0.25 mS/cm).

3.2. Effect of the Onset of Intramammary Infection on the Variables Studied

The time period with respect to the time of infection onset (PER) had a significant effect on the three variables studied, as did the milking session, the latter being the most responsible for the variations observed in EC and production (Table 3). Regarding SCC, the major factor responsible for its variation was PER, followed by milking session (F = 39.68 and 38.85, respectively).
Udder health status only had a significant effect on SCC, but its interaction with PER and milking session did have a significant effect on all three variables. In the case of EC and production, this indicates that although no significant differences were observed between the different infective stages of the glands, their behaviour did vary throughout the experiment and at each of the two milkings.
Overall, the EC measured in the evening milking was lower than that recorded in the morning milking throughout the experiment and in all four gland types (Table 4).
In the glands that remained healthy throughout the experiment, (INF = 0 and INF = 1) only slight oscillations of the EC were observed throughout the experiment, without any significant variation in the EC due to the reference period of onset of the infection, the variation of the EC being similar in the two milkings in the case of the glands with INF = 0, (animals free of infection in both glands). In glands with INF = 1 (glands free of infection from animals infected in one gland) an upward trend in EC was observed in the evening milking, which was not seen in the morning milking, although no significant differences were found in any milking after the onset of infection in the collateral gland.
In infected glands belonging to ewes that were unilaterally infected (INF = 2), although there was a slight increase in EC in both milkings after the onset of infection, no significant differences were observed between the period before and after the onset of infection. In contrast, in the glands of bilaterally infected ewes, there was a significant increase of 0.17 mS/cm in the morning milking and 0.26 mS/cm in the evening milking in the first period after the onset of infection compared to the previous period. This increase was maintained in the second period after the onset of infection, and then decreased significantly 7 days after infection, to values similar to those recorded in the periods prior to infection.
Regarding gland production (Table 5), a fluctuation in production was observed throughout the experiment in the glands free of infection in both healthy and unilaterally infected animals. It is noteworthy that in the period prior to the reference day of the onset of infection, an increase in production was observed in both groups of glands.
Only in the glands of ewes with bilateral infection was a significant and relevant decrease in production observed after the onset of infection compared to the three previous periods. In the second period after the onset of infection, production returned to the levels recorded in the previous periods, but from the seventh day after the onset of infection, there was a significant decrease, maintained until the end of the experiment in both milkings. In the infected glands of unilaterally infected animals, no effect of the onset of infection in the evening milking was observed. At the morning milking, the variable fluctuated in the periods prior to the onset of infection in a similar way to that observed in glands free of infection, and decreased significantly in the first three days after the onset of infection compared to the previous period, before increasing again in the following period, in a pattern similar to the variations observed in the periods prior to infection.
Contrary to what was observed in EC and production, the SCC measured at the evening milking was generally higher than that recorded in the morning milking (Table 6).
In healthy glands, the SCC fluctuated throughout the periods studied. In the healthy glands of unilaterally infected animals, the SCC did not show a clear trend, varying throughout the experiment with no significant differences between consecutive periods, as was the case with production.
In infected glands, both those belonging to unilaterally infected ewes (INF = 2) and ewes that were bilaterally infected (INF = 3), there was a significant and high increase in SCC in the period following the onset of infection. This increase was maintained in the infected glands of bilaterally infected ewes until the end of the experiment, but in the glands of unilaterally infected ewes in the following periods, the SCC decreased to values similar to, but slightly higher than, those obtained in the periods prior to the onset of infection.

3.3. Relationship of EC with the Physicochemical Composition of Milk and Correlation of Milk EC with SCC

A high coefficient of determination (R2 = 0.83) of the EC with the physicochemical composition of the milk was found (Table 7), with lactose content being the main factor responsible for the variations observed in the EC, followed by milk casein, potassium and fat contents. The only component that showed a positive relationship with EC was potassium, so a decrease in lactose, casein or milk fat was related to an increase in EC. The remaining milk minerals analysed (chlorides and sodium) did not have a significant effect, so they were discarded from the final model, along with whey protein.
All the correlation coefficients obtained between SCC and EC were significant, with those obtained in the evening milking being higher than those from the morning milking, both globally and in the two SCC intervals (Table 8). In the case of SCC > 400,000 cell/mL, correlation coefficients higher than those recorded for SCC < 400,000 cell/mL were obtained; the highest correlation coefficient between EC and SCC occurred in the evening milking when SCC was higher than 400 × 103 cell/mL (r = 0.47).

3.4. Performance of Different Computational Algorithms for Mastitis Detection

When the behaviour of the algorithms was studied separately for the five days following the onset of infection, similar results were obtained for both milking sessions. The increase in the discrimination threshold in all cases led to a decrease in Se and an increase in Sp, regardless of the rule applied or the time horizon considered for the calculation of the mean and σ. The Se obtained by applying the rules to the RELEC was higher than that obtained by applying them to the EC, contrary to what was observed in the Sp. At both milking sessions (morning and evening), the best results were achieved when applying the R2 with a threshold of 5% and considering a time horizon of 14 days (Se of 47.7% and 51.1% and Sp of 77.1% and 86.2%, at morning and evening milkings, respectively), but despite this, there would still be around 30% of cases (both positive and negative) incorrectly classified.
The results obtained when considering the five days after the onset of infection together are better than those obtained when considering the five days separately. In general, the same behaviour is observed in both milking sessions (morning and evening) as when considering the data separately: as the alarm threshold increases, there is a decrease in the Se of the methods, which is accompanied by an increase in the Sp. At the morning milking, better results were obtained than at the evening milking (Table 9). In the morning milking, higher Se and Sp were obtained when applying R1 with a threshold of 5%. Regardless of the time horizon, the values recorded are around 70% for Se and Sp, the same as the values for PPV and NPV. On this occasion, R2 obtained higher Se (91.7%) but lower Sp than R1 (45.5–63.6%). The best results were obtained by applying R4 with a discrimination threshold of 3σ and a time horizon of 10 days, achieving Se of 91.7% and Sp of 90.9%, with PPV and NPV also around 90%.

4. Discussion

The incidence and prevalence of intramammary infection was very high (46.15% in ewes and 42.87% in glands), compared to the literature consulted, in which prevalence values range from 5% [19] through 10.4% [20] to 39.9% [21] at gland level and 15% [16] and 32% [22] at the individual level. It was also higher than those obtained by the authors of [5], who obtained an infection rate of 18.75% and 9.52% in multiparous and primiparous ewes, respectively, in the first year and 18.33% in the second year. The high incidence of infection in this experiment is due to the experimental design per se. The various UHSs imposed increased the likelihood of the glands acquiring intramammary infection when the teats were exposed to milking and/or handling practices considered “at risk” for cross-transmission of mastitis. All infections were subclinical, probably due to the fact that bacteriological culture studies were performed from the beginning of the UHS and the SCC was analysed daily, so that when the intramammary infection appeared and before clinical symptoms were observed, the infected glands were no longer subjected to UHS. Most bilateral mastitides were caused by major pathogens, with enterobacteria isolated from 77.78% of infected ewes. This is a very high percentage compared to that reported by [23], who only found enterobacteria in 2.07% of the isolates. The high prevalence of environmental microorganisms is explained by the imposition of UHS, as these practices favour infection by microorganisms located on the teat skin, coming from the bedding or other contaminated objects, being similar to a study [24] that isolated E. coli in 41.9% of the cases of mastitis found in 380 Comisana ewes and attributed it to a lack of hygiene and exposure of the ewes to a stressful environment and handling.
The significant effect of milking (morning or evening) on the variables was due to the different intervals between milkings, with 8 h elapsing from the morning milking to the evening and 16 h from the evening milking to the milking the following morning. The higher production in the morning milking generates a dilution effect that causes the SCC to be lower [25,26]. This effect can also occur in the different milk components, affecting its composition and leading to variations in the EC, which has also been observed in cattle [27,28] and sheep reporting an increase in fat at the evening milking [29].
In infected glands belonging to unilaterally infected ewes, no significant variation in EC was observed, similar to what was observed in goats by [11], who attributed it to the fact that for the EC to increase, the infection must cause sufficient tissue damage to modify the permeability of salts to the alveolar lumen, one of the main factors for the increase of EC in milk [30]. The results of the regression study on EC with milk composition as explanatory variables indicate that lactose and caseins are mainly responsible for EC variations (R2partial = 0.81). Both components are synthesised by lactocytes, so that damage to them will cause a decrease in these components [31], which have a negative relationship with the EC.
The onset of bilateral infection caused a significant increase in EC, as observed in several studies in cattle [32,33], in goats [11,34] and in sheep [15,35]. At the morning milkings, the EC increased significantly in the first period after the onset of infection (1–3 days), although the maximum value of EC (4.41 mS/cm) was not reached until the second period after the onset of infection (4–7 days). At the evening milkings, the maximum value (4.26 mS/cm) was reached immediately after the onset of infection. These values are lower than those reported by [15], who observed an EC of 4.40 mS/cm in Manchega ewes free from intramammary infection, reaching values between 5.04 mS/cm and 10.28 mS/cm in glands infected by S. epidermidis and S. aureus, respectively. Additionally, in sheep, a higher EC (5.0 ± 0.56 mS/cm) than those measured in this experiment was found [36], and a high variability in the EC was observed, which was attributed to variations in milk fat content. In more recent studies, an overall mean EC in Sarda ewes of 4.73 ± 0.54 mS/cm, with an EC of 5.20 mS/cm when the SCC was higher than 700 × 103 cells/mL (the threshold used for mastitis classification) and of 4.63 mS/cm in ewes with SCC below this threshold, was recorded [17]. In the same work, the authors proposed a threshold of 4.835 mS/cm to differentiate between healthy and infected glands, with which they obtained 73.08 and 75.46% of Se and Sp, respectively. This threshold is higher than the maximum EC value recorded in this trial, which corroborates the need to consider other factors affecting EC in addition to mastitis (breed, lactation status, number of lambings, etc.). Therefore, the same absolute threshold of EC for the detection of mastitis in all dairy sheep would not be valid [5,8].
The significant effect of the onset of infection on bilaterally infected animals suggests that the use of mastitis detection systems based on daily EC readings could detect increases in the variable and, with it, disease in bilaterally affected glands. In contrast, in animals in which the infection was unilaterally established, in the absence of significant changes in the EC, the disease would not be detected.
Regarding production, variation was recorded during the periods prior to the reference day of infection onset in both the glands of ewes that remained free of infection and those that were unilaterally infected, so the decline observed in the period immediately following the onset of infection appears to be a continuation of normal fluctuations that may be affected by other factors, similar to what was observed by [11]. In this work, unilateral infection was not observed to cause a decrease in the production of the infected gland, nor a compensatory increase in the collateral gland, which contradicts what was previously observed in Manchega sheep by [37,38], who reported a production drop in infected glands close to 50% in both Manchega and Lacaune ewes.
In the glands of bilaterally infected ewes, there was a decrease in production in both milkings in the first period after the onset of infection, dropping from the levels recorded in the periods prior to the onset of infection. This decrease was 21.41 and 19.44% in the morning and evening milkings, respectively, which is greater than what was observed in other studies that quantified production losses due to a bilateral infection caused by major pathogens at 10% [23] and 16% when the SCC exceeded 500 × 103 cells/mL [2].
In Manchega sheep, the SCC values in healthy and infected glands are both higher than those reported in infected glands [39]. As the experiment progressed, a significant increase in SCC was observed in infected glands, especially in the first period after the onset of infection, which is in agreement with the literature consulted [16,21,23,26].
The correlation of SCC with EC was significant, although moderate, in both milkings, being higher in the high-count interval (SCC > 400,000 cells/mL), which shows that EC can be an indicator of gland health status, similar to studies in sheep [8], cattle [32,39] and goats [11].
When applying different calculation algorithms for mastitis detection by daily measurement of EC in the five days after the onset of infection treated separately, moderate Se values were obtained. The cases in which a high Se was obtained were accompanied by low Sp, i.e., many false alarms would be occurring, which would result in unnecessary treatment of healthy animals or the need to use a complementary method to the EC sensors to confirm the disease using colour [40] or lactose, EC and production [41] to achieving good results.
When considering the five days after infection as a whole, high values of Se and Sp were recorded in the morning milkings. Applying R4, which employs the collateral gland EC ratio (RELEC) and 3σ threshold, with a 10-day time horizon, both Se and Sp, PPV and NPV were greater than 90%. Using the same rule, considering the five days separately, we obtained a Se of only 22.7%. This low Se is due to the fact that the onset of intramammary infection causes an increase in EC, which also increases the RELEC. If this increase in RELEC occurs on the first or second day after the onset of infection, it causes an increase in the mean calculated by the algorithm, so that the difference is not large enough for the method to give us the alarm signal, giving rise to FNs.
The authors of [12] studied the use of algorithms that compared the daily and individual measurement of glandular milk EC with its moving average in goats and were able to classify all cases of clinical mastitis, although they obtained different results in subclinical cases depending on the algorithm. The highest Se (58.3%) was achieved by considering the cases in which the EC of the day in question deviated by at least three times the standard deviation from its moving average (calculated with the values of the four previous days) as positive. The authors of [13], in a study in which they included EC sensors in commercial liners that allowed them to measure EC per gland on-line, managed to achieve a Se of 80%, but Sp between 25 and 42.9%, depending on the calculation algorithm used for mastitis detection in Saanen goats. The same group, in a previous work using the Fuzzy Logic model, obtained better results: Se of 81% with a Sp of 69% [14].
In sheep, studies are very scarce; [15] observed that mastitis causes an increase in milk EC and proposed two thresholds for mastitis detection. One of them of 5 mS/cm to diagnose glands with mastitis, achieving a Se of 60.2% and a Sp of 91.4%, with 87.9% of the samples correctly classified. The other threshold consisted of using a difference of 0.3 mS/cm in EC between the two glands of the same animal, finding better results (70% Se, 93% Sp and 89.1% of samples classified correctly). The authors of [16] found no significant differences between the impedance (inverse property of EC) of healthy and infected glands, although they did obtain a negative correlation, but of low value, between impedance and SCC (r = −0.27). In a more recent study [17], based on the EC measured in samples taken at gland level in Sardinian ewes and using ROC analysis, the authors chose an EC of 4.835 mS/cm as the discrimination threshold, with which the values of Se, Sp and area under the curve were 73.08%, 75.46% and 0.804%, respectively. They then tested a prototype developed for real-time measurement of EC, with which, using this threshold, they were able to correctly classify 64.7% of the samples that presented SCC > 700,000 cells/mL and 76.5% of samples with low SCC (<700,000 cells/mL), with the authors highlighting the low percentage of false negatives obtained (8.8%).

5. Conclusions

The onset of an intramammary infection leads to an increase in the SCC and a significant drop in production, more pronounced in ewes infected bilaterally than unilaterally. In contrast, milk EC was significantly elevated only when infection occurred bilaterally. The daily measurement of glandular EC (by means of equipment inserted in the short milk tubes that allow the recording of the EC of the glandular milk) would be a good tool for mastitis detection using the appropriate algorithms. The best outcomes were achieved with the rules based on the detection of anomalous variations of RELEC, applying a threshold of 3σ and considering a time horizon of 10 days to calculate the moving average and the set of the five days after onset of the infection. Variations were observed in the performance of the different rules applied depending on the milking session. In general, rules based on deviations from the moving average (R1 and R2) performed better in the morning milking, while those based on deviations from the standard deviation (R3 and R4) performed better in the evening milking. These differences should be considered in the development of systems for the automatic detection of IMI during milking using EC in sheep.

Author Contributions

Conceptualization, G.R. and J.R.D.; methodology, A.R., R.M. and G.R.; validation, J.R.D.; investigation, A.R., M.A. and R.M.; data curation, A.R. and G.R.; writing—original draft preparation, A.R.; writing—review and editing, A.R. and G.R.; supervision, J.R.D.; project administration, J.R.D.; funding acquisition, J.R.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Ministry of Science and Innovation of Spain, grant number AGL2009–10695.

Institutional Review Board Statement

The animal study protocol was approved by the Institutional Review Board (or Ethics Committee) of Miguel Hernández University of Elche (protocol code UMH.DTA-JDS-001-09) for studies involving animals.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors warmly thank the technical personnel of the UMH goat farm who participated in this study.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Leitner, G.; Silanikove, N.; Merin, U. Short communication: Estimate of milk and curd yield loss of sheep and goats with intramammary infection and its relation to somatic cell count. Small Rumin. Res. 2008, 74, 221–225. [Google Scholar] [CrossRef]
  2. Sutera, A.; Portolano, B.; Gerlando, R.D.; Sardina, M.T.; Mastrangelo, S.; Tolone, M. Determination of milk production losses and variations of fat and protein percentages according to different levels of somatic cell count in Valle del Belice dairy sheep. Small Rumin. Res. 2018, 162, 39–42. [Google Scholar] [CrossRef]
  3. Leitner, G.; Merin, T.; Silanikove, N. Effects of glandular bacterial infection and stage of lactation on milk clotting parameters: Comparison among cows, goats and sheep. Int. Dairy J. 2011, 21, 279–285. [Google Scholar] [CrossRef]
  4. Gonzalo, C.; Tardáguila, J.A.; De La Fuente, L.F.; San Primitivo, F. Effects of selective and complete dry therapy on prevalence of intramammary infection and on milk yield in the subsequent lactation in dairy ewes. J. Dairy Res. 2004, 71, 33–38. [Google Scholar] [CrossRef]
  5. Romero, G.; Roca, A.; Alejandro, M.; Muelas, R.; Díaz, J.R. Relationship of mammary gland health status and other non-infectious factors with electrical conductivity of milk in Manchega ewes. J. Dairy Sci. 2017, 100, 1555–1567. [Google Scholar] [CrossRef]
  6. Díaz, J.R.; Romero, G.; Muelas, R.; Sendra, E.; Pantoja, J.C.F.; Paredes, C. Analysis of the influence of variation factors on electrical conductivity of milk in Murciano-Granadina goats. J. Dairy Sci. 2011, 94, 3385–3394. [Google Scholar] [CrossRef]
  7. Hamann, J.; Zecconi, A. Evaluation of the electrical conductivity of milk as a mastitis indicator. Bull. IDF 1998, 334, 5–22. [Google Scholar]
  8. Uhrinčať, M.; Tančin, V.; Tvarožková, K.; Mačuhová, L.; Vršková, M.; Ptáček, M.; Holko, I. The electrical conductivity of sheep’s milk and the possibility of mastitis detection. Potravin. Slovak J. Food Sci. 2019, 13, 562–565. [Google Scholar] [CrossRef]
  9. De Mol, R.M.; Keen, A.; Kroeze, G.H.; Achten, J.M.F.H. Description of a detection model for oestrus and diseases in dairy cattle based on time series analysis combined with a Kalman filter. Comput. Electron. Agric. 1999, 22, 171–185. [Google Scholar] [CrossRef]
  10. Mele, M.; Secchiari, P.; Serra, A.; Ferruzzi, G.; Paoletti, F.; Biagioni, M. Application of the “tracking signal” meted to the monitoring of udder health and Oestrus in dairy cows. Livest. Prod. Sci. 2001, 72, 279–284. [Google Scholar] [CrossRef]
  11. Díaz, J.R.; Romero, G.; Muelas, R.; Alejandro, M.; Peris, C. Effect of intramammary infection on milk electrical conductivity in Murciano-Granadina goats. J. Dairy Sci. 2012, 95, 718–726. [Google Scholar] [CrossRef]
  12. Romero, G.; Reinemann, D.; Alejandro, M.; Díaz, J.R. Goat mastitis detection using daily records of milk conductivity: Comparative results of different algorithms. Czech J. Anim. Sci. 2014, 59, 428–434. [Google Scholar] [CrossRef]
  13. Zaninelli, M.; Agazzi, A.; Costa, A.; Tangorra, F.M.; Rossi, L.; Saivoni, G. Evaluation of the Fourier Frecuency Spectrum Peaks of milk electrical conductivity signals as indexes to monitor the dairy goats’ health status by on-line sensors. Sensors 2015, 15, 20698–20716. [Google Scholar] [CrossRef] [PubMed]
  14. Zaninelli, M.; Rossi, L.; Tangorra, F.M.; Costa, A.; Agazzi, A.; Savoini, G. On-line monitoring of milk electrical conductivity by fuzzy logic technology to characterise health status in dairy goats. Ital. J. Anim. Sci. 2014, 13, 3170. [Google Scholar] [CrossRef]
  15. Peris, C.; Molina, M.P.; Fernandez, N.; Rodriguez, M.; Torres, A. Variation in Somatic Cell Count, California Mastitis Test, and Electrical Conductivity Among Various Fractions of Ewe’s Milk. In Proceedings of the 4th International Symposium on Machine Milking of Small Ruminants, Tel-Aviv, Israel, 13–19 September 1989; pp. 389–405. [Google Scholar]
  16. McDougall, S.; Pankey, W.; Delaney, C.; Barlow, J.; Murdough, P.A.; Scruton, D. Prevalence and incidence of subclinical mastitis in goats and dairy ewes in Vermont, USA. Small Rumin. Res. 2002, 46, 115–121. [Google Scholar] [CrossRef]
  17. Caria, M.; Chessa, G.; Murgia, L.; Todde, G.; Pazzona, A. Development and test of a portable device to monitor the health status of Sarda breed sheep by the measurement of the milk electrical conductivity. Ital. J. Anim. Sci. 2016, 15, 275–282. [Google Scholar] [CrossRef]
  18. Barkema, H.W.; Schukken, Y.H.; Lam, T.J.G.M.; Galligan, D.T.; Beiboer, M.L.; Brand, A. Estimation of interdependence among quarters of the bovine udder with subclinical mastitis and implications for analysis. J. Dairy Sci. 1997, 80, 1592–1599. [Google Scholar] [CrossRef] [PubMed]
  19. Contreras, A.; Sierra, D.; Corrales, J.C.; Marco, J.C.; Paape, M.J.; Gonzalo, C. Mastitis in small ruminants. Small Rumin. Res. 2007, 68, 145–153. [Google Scholar] [CrossRef]
  20. Al-Majali, A.M.; Jawabreh, S. Period prevalence and etiology of subclinical mastitis in Awassi sheep in southern Jordan. Small Rumin. Res. 2003, 47, 243–248. [Google Scholar] [CrossRef]
  21. Leitner, G.; Chaffer, M.; Zamir, S.; Mor, T.; Glickman, A.; Windler, M.; Weisblit, L.; Saran, A. Udder disease etiology, milk somatic cell counts and NAGase activity in Israeli Assaf sheep throughout lactation. Small Rumin. Res. 2001, 39, 107–112. [Google Scholar] [CrossRef]
  22. Leitner, G.; Chaffer, M.; Caraso, Y.; Ezra, E.; Kababea, D.; Winkler, M.; Glickman, A.; Saran, A. Udder infection and milk somatic cell count, NAGase activity and milk composition—Fat, protein and lactose—In Israeli-Assaf and Awassi sheep. Small Rumin. Res. 2003, 49, 157–164. [Google Scholar] [CrossRef]
  23. Gonzalo, C.; Ariznabarreta, A.; Carriedo, J.A.; San Primitivo, F. Mammary pathogens and their relationship to somatic cell count and milk yield losses in dairy ewes. J. Dairy Sci. 2002, 85, 1460–1467. [Google Scholar] [CrossRef]
  24. Albenzio, M.; Taibil, L.; Muscio, A.; Sevi, A. Prevalence and etiology of subclinical mastitis in intensively managed flocks and related changes in the yield and quality of ewe milk. Small Rumin. Res. 2002, 43, 219–226. [Google Scholar] [CrossRef]
  25. Arias, R.; Oliete, B.; Ramón, M.; Arias, C.; Gallego, R.; Montoro, V.; Gonzalo, C.; Pérez-Guzmán, M.D. Long-term of environmental effects on test-day somatic cell count and milk yield in Manchega sheep. Small Rumin. Res. 2012, 106, 92–97. [Google Scholar] [CrossRef]
  26. Santos, R.A.; Mendonça, C.L.; Afonso, J.A.B.; Simão, L.C.V. Aspectos clínicos e característicos do leite em ovelhas com mastite induzida experimentalmente com Staphylococcus aureus. Pesqui. Veterinária Bras. 2007, 27, 6–12. [Google Scholar] [CrossRef]
  27. Fernando, R.S.; Spahr, S.; Jaster, E.H. Comparison of electrical conductivity of milk with other indirect methods for detection of subclinical mastitis. J. Dairy Sci. 1985, 68, 449–456. [Google Scholar] [CrossRef] [PubMed]
  28. Hillerton, J.E.; Walton, A.W. Identification of subclinical mastitis with a hand-held electrical conductivity meter. Vet. Rec. 1991, 128, 513–515. [Google Scholar] [CrossRef] [PubMed]
  29. McKusick, B.C.; Thomas, D.L.; Berger, Y.M.; Marnet, P.G. Effect of Milking Interval on alveolar versus cisternal milk accumulation and milk production and composition in dairy ewes. J. Dairy Sci. 2002, 85, 2197–2206. [Google Scholar] [CrossRef]
  30. Linzell, J.L.; Peaker, M.; Rowell, J.G. Electrical conductivity of foremilk for detecting subclinical mastitis in cows. J. Agric. Sci. 1974, 83, 309–325. [Google Scholar] [CrossRef]
  31. Shuster, D.E.; Harmon, R.J.; Jackson, J.A.; Hemken, R.W. Suppression of milk production during endotoxin-induced mastitis. J. Dairy Sci. 1991, 74, 3763–3774. [Google Scholar] [CrossRef]
  32. Bruckmaier, R.M.; Ontsouka, C.E.; Blum, J.W. Fractionized milk composition in dairy cows with subclinical mastitis. Vet. Med. Czech 2004, 49, 283–290. [Google Scholar] [CrossRef]
  33. Holdaway, R.J.; Holmes, C.W.; Steffert, I.J. A comparison of indirect methods for diagnosis of subclinical intramammary infection in lactating dairy cows. Aust. J. Dairy Technol 1996, 51, 64–82. [Google Scholar]
  34. Ying, C.W.; Wang, H.T.; Hsu, J.T. Relationship of somatic cell count, physical, chemical and enzymatic properties to the bacterial standard plate count in different breeds of dairy goats. Asian-Australas. J. Anim. Sci. 2004, 17, 554–559. [Google Scholar] [CrossRef]
  35. Peris, C.; Molina, M.P.; Fernandez, N.; Rodriguez, M.; Torres, A. Variation in somatic cell count, california mastitis test, and electrical conductivity among various fractions of ewe’s milk. J. Dairy Sci. 1991, 74, 1553–1560. [Google Scholar] [CrossRef] [PubMed]
  36. Barth, K.; Burow, E.; Knappstein, K. EC and CMT detect subclinical mastitis in dairy sheep but less sensitive than in dairy cows. Landbauforsch. Volkenrode 2008, 58, 65–69. [Google Scholar]
  37. Rovai, M.; Rusek, N.; Caja, G.; Saldo, J.; Leitner, G. Effect of subclinical intrammamay infection on milk quality in dairy sheep: I. Fresh-soft cheese produced from milk of uninfected and infected glands and from their blends. Small Rumin. Research 2015, 125, 127–136. [Google Scholar] [CrossRef]
  38. Yildiz, H.; Kaygusuzoglu, E.; Simsek, H. Somatic cell count, electrical conductivity and biochemical parameters in mastitis milk in cows. Indian Vet. J. 2006, 83, 498–500. [Google Scholar]
  39. Martí De Olives, A.; Díaz, J.R.; Molina, M.P.; Peris, C. Quantification of milk yield and composition changes as affected by subclinical mastitis during the current lactation in sheep. J. Dairy Sci. 2013, 96, 7698–7708. [Google Scholar] [CrossRef]
  40. Song, X.; van der Tol, R. Automatic detection of clinical mastitis in Astronaut A3TM milking robot. In Proceedings of the First North American Conference on Precision Dairy Management, Toronto, ON, Canada, 2–5 March 2010; pp. 154–155. [Google Scholar]
  41. Ebrahimie, E.; Ebrahimie, F.; Ebrahimie, M.; Tomlinsonf, S.; Petrovski, K.R. Hierarchical pattern recognition in milking parameters predicts mastitis prevalence. Comput. Electron. Agric. 2018, 147, 6–11. [Google Scholar] [CrossRef]
Table 1. Health status of the glands before and after being subjected to unfavourable situations for mammary gland health (UHS).
Table 1. Health status of the glands before and after being subjected to unfavourable situations for mammary gland health (UHS).
First Part of the ExperimentSecond Part of the Experiment
after Subjecting Glands to UHS
HealthyUnilateral infectionBilateral infectionHealthyUnilateral infectionBilateral infectionTotal infected
Ewes23 + 3 10011 + 3 13912
Glands49002831821
1 Sheep that had only one functional gland.
Table 2. EC of infected glands in the 3 days before and 3 days after the onset of infection according to the isolated microorganism.
Table 2. EC of infected glands in the 3 days before and 3 days after the onset of infection according to the isolated microorganism.
EC (mS/cm) ± SD
INFECTIONNº of GlandsMilking3 Days before Infection3 Days after Infection
UNILATERAL
S. caprae1 (4.76%)Morning4.03 ± 0.234.06 ± 0.08
Evening3.88 ± 0.253.87 ± 0.11
Staphylococcus spp. 1 (4.76%)Morning4.22 ± 0.054.14 ± 0.11
Evening4.02 ± 0.024.13 ± 0.14
Enterobacterales1 (4.76%)Morning4.01 ± 0.074.17 ± 0.38
Evening3.93 ± 0.094.04 ± 0.18
BILATERAL
S. xylosus2 (9.52%)Morning4.62 ± 0.244.62 ± 0.12
Evening4.32 ± 0.184.32 ± 0.11
Staphylococcus spp. 2 (9.52%)Morning3.93 ± 0.054.07 ± 0.22
Evening3.73 ± 0.093.98 ± 0.23
Serratia marcescens2 (9.52%)Morning4.87 ± 0.134.84 ± 0.81
Evening4.49 ± 0.115.30 ± 1.76
Klebsiella pneumoniae4 (19.05%)Morning4.54 ± 0.144.47 ± 0.28
Evening4.22 ± 0.154.24 ± 0.19
Pantogea agglomerans2 (9.52%)Morning3.20 ± 0.163.43 ± 0.23
Evening3.25 ± 0.163.89 ± 0.24
Other Enterobacterales6 (28.57%)Morning4.18 ± 0.284.62 ± 0.59
Evening3.97 ± 0.194.45 ± 0.72
Table 3. Results of the statistical analysis (F-value and significance level) of the variables LCE, LSCC and gland milk production of infected glands in the 3 days before and 3 days after the onset of infection according to the isolated microorganism.
Table 3. Results of the statistical analysis (F-value and significance level) of the variables LCE, LSCC and gland milk production of infected glands in the 3 days before and 3 days after the onset of infection according to the isolated microorganism.
lECLSCCProduction
EFFECTFSLFSLFSL
Period6.09<0.000139.68<0.000112.12<0.0001
Milking86.30<0.000138.85<0.0001593.74<0.0001
Infection0.220.88408.24<0.00011.500.2133
Infection × Period × Milking3.56<0.000114.20<0.00012.61<0.0001
Table 4. Evolution of LEC (mean ± standard error, antilogarithm of LEC (mS/cm)) according to the health status of the glands and the period relative to the onset of infection.
Table 4. Evolution of LEC (mean ± standard error, antilogarithm of LEC (mS/cm)) according to the health status of the glands and the period relative to the onset of infection.
Morning Milking
INFDays Prior to InfectionDays after Infection
9-76-43-11-34-67-910-12
00.6194 ab0.6194 ab0.6227 a0.6194 ab0.6194 ab0.6194 ab0.6131 b
±0.0101±0.0101±0.0101±0.0102±0.0102±0.0101±0.0101
(4.16) *−4.15−4.19−4.16−4.15−4.13−4.1
10.61010.6170.60010.6060.59570.61080.6062
±0.0229±0.0231±0.0237±0.0231±0.0231±0.0229±0.0229
−4.07−4.14−3.98−4.04−3.94−4.08−4.04
20.60910.60740.60870.61510.61450.61990.6092
±0.0229±0.0231±0.0237±0.0229±0.0229±0.0229±0.0229
−4.07−4.05−4.06−4.12−4.12−4.17−4.07
30.6111 a0.6141 a0.6250 b0.6413 c0.6446 c0.6242 b0.6307 b
±0.0125±0.0125±0.0125±0.0125±0.0125±0.0125±0.0125
−4.08−4.11−4.22−4.38−4.41−4.21−4.27
Evening milking
INFDays prior to infectionDays after infection
9-76-43-11-34-67-910-12
00.6018 a0.6064 a0.6060 a0.6036 a0.5955 b0.6001 ab0.5955 b
±0.0102±0.0101±0.0102±0.0101±0.0102±0.0101±0.0101
(4.00) *−4.04−4.04−4.01−3.94−3.98−3.94
10.5673 a0.5978 bcd0.6094 bd0.6119 b0.6122 b0.5759 ac0.5874 ad
±0.0229±0.0231±0.0237±0.0231±0.0231±0.0229±0.0229
−3.69−3.96−4.07−4.09−4.09−3.77−3.87
20.58720.59060.59550.60320.60660.59320.5946
±0.0229±0.0231±0.0237±0.0229±0.0229±0.0229±0.0229
−3.87−3.9−3.94−4.01−4.04−3.92−3.93
30.5953 a0.6041 ab0.6017 ab0.6289 c0.6221 c0.6099 b0.6033 ab
±0.0126±0.0125±0.0125±0.0125±0.0126±0.0125±0.0125
−3.94−4.02−4−4.26−4.19−4.07−4.01
INF: Glandular health status. 0: Both collateral glands free of infection throughout the experiment. 1: Free of infection throughout the experiment whose collateral was infected during the experiment. 2: Infected during the experiment whose collateral remained free of infection. 3: Both collateral glands infected during the experiment. (*) LEC antilogarithm. (mS/cm). abcd Different superscripts in the same row indicate significant differences (p < 0.05).
Table 5. Evolution of production (mL) (mean ± standard error) according to the health status of the glands and the period relative to the onset of infection.
Table 5. Evolution of production (mL) (mean ± standard error) according to the health status of the glands and the period relative to the onset of infection.
Morning Milking
INFDays Prior to InfectionDays after Infection
9-76-43-11-34-67-910-12
0367.38 abc343.49 acd388.66 b334.10 ade353.78 a300.86 e315.46 de
±35.90±35.87±35.87±35.89±35.90±35.87±35.87
1471.11431.44452.59418.92369.81415.56376.44
±88.79±89.69±92.58±89.69±89.69±88.79±88.79
2686.67 ab560.84 c722.54 a539.44 cd636.67 ac565.00 c441.67 bd
±88.79±89.69±92.57±88.79±88.79±88.79±88.79
3420.09 a412.04 a439.44 a345.35 b403.52 a319.44 b342.15 b
±43.40±43.40±43.40±43.45±43.40±43.40±43.40
Evening milking
INFDays prior to infectionDays after infection
9-76-43-11-34-67-910-12
0210.74 ab198.30 ab215.18 a190.34 ab191.81 ab179.29 b222.41 ab
±35.87±35.87±35.87±35.89±35.87±35.87±35.87
1335.00 a233.81 ab287.25 ab278.30 ab232.92 b230.67 b231.56 b
±88.79±89.69±92.58±89.69±89.69±88.79±88.79
2403.33 a308.34 ab315.21 ab328.78 ab274.44 b299.33 b267.78 b
±88.79±89.69±92.57±88.79±88.79±88.79±88.79
3257.28 a251.61 ac260.81 a208.71 b221.88 ab196.04 b211.69 bc
±43.45±43.40±43.40±43.45±43.40±43.40±43.40
INF: Glandular health status. 0: Both collateral glands free of infection throughout the experiment. 1: Free of infection throughout the experiment whose collateral was infected during the experiment. 2: Infected during the experiment whose collateral remained free of infection. 3: Both collateral glands infected during the experiment. abcde Different superscripts in the same row indicate significant differences (p < 0.05).
Table 6. Evolution of LSCC (103 cel/mL, mean ± standard error) according to the health status of the glands and the period relative to the onset of infection.
Table 6. Evolution of LSCC (103 cel/mL, mean ± standard error) according to the health status of the glands and the period relative to the onset of infection.
Morning Milking
Days Prior to InfectionDays after Infection
INF9-76-43-11-34-67-910-12
01.9208 ab1.8760 a1.8897 a2.1006 b1.9991 ab2.0127 ab1.9714 ab
±0.0126±0.0856±0.0749±0.0752±0.0754±0.0749±0.0752
(83.33) *−75.16−77.57−126.07−99.79−102.97−93.63
11.98442.01331.9282.15532.33862.12152.3242
±0.2699±0.2438±0.2156±0.2156±0.1909±0.1909±0.1909
−96.47−103.11−84.72−142.99−218.07−132.28−210.96
22.2019 ac2.2950 ac2.2024 a3.4904 b2.5748 ac2.7265 c2.5922 ac
±0.2699±0.2437±0.2154±0.1969±0.1909±0.1909±0.1909
−159.18−197.24−159.37(3.093.14)−375.66−532.72−391.02
31.634 a1.6885 a1.6730 a3.4273 b2.5172 c2.4537 c2.2613 d
±0.1240±0.1013±0.0908±0.0908±0.0902±0.0902±0.0905
−42.99−48.81−47.1(2.674.85)−329−284.25−182.52
Evening milking
Days prior to infectionDays after infection
INF9-76-43-11-34-67-910-12
02.1487 abc2.0911 ac2.0562 a2.2897 b2.2262 bc2.1100 ac2.1285 ac
±0.1026±0.0862±0.0754±0.0748±0.0749±0.0748±0.0749
(140.83) *−123.34−113.82−194.85−168.34−128.82−134.43
12.38752.41552.23722.37992.53682.34762.5762
±0.3179±0.2699±0.2280±0.21561±0.20431±0.1909±0.1970
−244.06−260.32−172.66−239.83−344.19−222.64−376.88
22.5034 a2.6141 a2.5281 a3.5394 b2.6991 a2.9043 a2.8518 a
±0.2699±0.2699±0.2154±0.1909±0.1909±0.1909±0.1969
−318.71−411.24−337.36−3462.58−500.15−802.23−710.89
31.9015 a1.9022 a1.9335 a3.6772 b2.5636 c2.6009 c2.3974 d
±0.124±0.1021±0.0912±0.0916±0.0908±0.09122±0.09052
−79.71−79.84−85.8−4755.54−366.1−398.93−249.69
INF: Glandular health status. 0: Both collateral glands free of infection throughout the experiment. 1: Free of infection throughout the experiment whose collateral was infected during the experiment. 2: Infected during the experiment whose collateral remained free of infection. 3: Both collateral glands infected during the experiment. (*) LSCC Antilogarithm (×103 cel/mL). abcd Different superscripts in the same row indicate significant differences (p < 0.05).
Table 7. Relationship of EC to milk composition and mineral content.
Table 7. Relationship of EC to milk composition and mineral content.
VariablesStatisticModel
ParameterSEPartial R2
Intercept1.7280±0.0497 N = 1872
R2 = 0.83
p-value: <0.0001
F-value: 193.63
LACTOSE (%)−0.1982±0.00990.4325
CASEIN (%)−0.0544±0.00410.3871
POTASSIUM (mg/L)0.00002±0.000010.0049
FAT (%)−0.0032±0.00150.0050
SE: Standard error; R2: Coefficient of determination; N: Number of observations.
Table 8. Correlation of EC and SCC.
Table 8. Correlation of EC and SCC.
SCC Interval
(×103 cell/mL)
MilkingTotal
MorningEvening
rnrnrn
SCC < 4000.12 ***7050.15 **6630.06 *1368
SCC ≥ 4000.39 ***1310.47 ***1560.43 ***287
Total0.30 ***8360.39 ***8190.33 ***1655
r: Correlation coefficient; n: Number of observations used. * p < 0.05; ** p < 0.01; *** p < 0.001.
Table 9. Se, Sp, PPV and NPV results when applying the algorithms * to the EC measurements, considering the 5 days post-infection jointly.
Table 9. Se, Sp, PPV and NPV results when applying the algorithms * to the EC measurements, considering the 5 days post-infection jointly.
Morning Milking
Time HorizonR1R2R3R4
5%10%20%30%5%10%20%30%
4 daysSe (%)77.336.418.213.691.758.325.00.040.936.475.058.3
Sp (%)70.492.696.396.354.5100.0100.0100.081.585.236.481.8
PPV (%)68.080.080.075.068.8100.0100.00.064.366.756.377.8
NPV (%)79.264.159.157.885.768.855.047.862.962.257.164.3
8 daysSe (%)72.745.518.213.691.758.325.00.031.827.391.758.3
Sp (%)77.892.696.396.345.5100.0100.0100.092.696.363.690.9
PPV (%)72.783.380.075.064.7100.0100.00.077.885.773.387.5
NPV (%)77.867.659.157.883.368.855.047.862.561.987.566.7
10 daysSe (%)72.740.918.213.691.750.025.00.036.422.791.766.7
Sp (%)85.292.696.396.363.6100.0100.0100.096.396.390.990.9
PPV (%)80.081.880.075.073.3100.0100.00.088.983.391.788.9
NPV (%)79.365.859.157.887.564.755.047.865.060.590.971.4
14 daysSe (%)77.345.518.213.691.758.325.00.031.827.375.058.3
Sp (%)74.196.396.396.345.5100.0100.0100.096.396.390.9100.0
PPV (%)70.890.980.075.064.7100.0100.00.087.585.790.0100.0
NPV (%)80.068.459.157.883.368.855.047.863.461.976.968.8
Evening milking
Time horizonR1R2R3R4
5%10%20%30%5%10%20%30%
4 daysSe (%)72.731.813.613.691.750.016.716.745.540.983.350.0
Sp (%)70.496.396.310036.490.910010092.696.345.572.7
PPV (%)66.787.575.010061.185.710010083.390.062.566.7
NPV (%)76.063.457.858.780.062.552.452.467.666.771.457.1
8 daysSe (%)68.236.413.613.691.750.016.78.345.536.441.725.0
Sp (%)85.296.310010036.410010010096.310090.9100.0
PPV (%)78.988.910010061.110010010090.910083.3100.0
NPV (%)76.765.058.758.780.064.752.450.068.465.958.855.0
10 daysSe (%)63.640.913.613.691.758.316.78.340.931.850.033.3
Sp (%)85.296.310010045.5100100100100100100100
PPV (%)77.890.010010064.7100100100100100100100
NPV (%)74.266.758.758.783.368.852.450.067.564.364.757.9
14 daysSe (%)68.240.918.213.6100.058.316.78.331.818.233.316.7
Sp (%)70.492.610010054.5100100100100100100100
PPV (%)65.281.810010070.6100100100100100100100
NPV (%)73.165.860.058.7100.068.852.450.064.360.057.952.4
* See Section 2 for the definition of the rules. Se: Sensitivity; Sp: Specificity; PPV: Positive Predictive Value; NPV: Negative Predictive Value.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Roca, A.; Muelas, R.; Alejandro, M.; Romero, G.; Díaz, J.R. Effect of the Onset of Intramammary Infection on the Electrical Conductivity of Ewe’s Milk and Study of Various Algorithms for Its On-Line Detection. Animals 2023, 13, 1808. https://doi.org/10.3390/ani13111808

AMA Style

Roca A, Muelas R, Alejandro M, Romero G, Díaz JR. Effect of the Onset of Intramammary Infection on the Electrical Conductivity of Ewe’s Milk and Study of Various Algorithms for Its On-Line Detection. Animals. 2023; 13(11):1808. https://doi.org/10.3390/ani13111808

Chicago/Turabian Style

Roca, Amparo, Raquel Muelas, Manuel Alejandro, Gema Romero, and José Ramón Díaz. 2023. "Effect of the Onset of Intramammary Infection on the Electrical Conductivity of Ewe’s Milk and Study of Various Algorithms for Its On-Line Detection" Animals 13, no. 11: 1808. https://doi.org/10.3390/ani13111808

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop