A system for determining an amount of food consumed by a cow, the system comprising: at least one sensor configured to be positioned on a collar and/or ear-tag of a cow, wherein the sensor is configured to collect data associated with head movements of the cow; a processor in communication with a memory module, the memory module having stored thereon program code, the program code executable by the processor to: receive signals from the at least one sensor ; preprocess the received signals by classifying different time blocks of the received signal into classes of behaviors of the cow; extract a plurality of features based, at least in part, on classified meal time blocks associated with eating behaviour, wherein at least one algorithm is applied to at least one of the extracted features to rank the amount of food consumed by each cow in relation to the amount of food consumed by other cows in the same group of cows to which the cow belongs; receive input data associated with the amount of food provided to the group of cows; and calculate the amount of food consumed by the cow based on the one or more extracted features, wherein the amount of food calculation is based at least on the rank of the amount of food consumed by each cow in relation to the amount of food consumed by other cows in the same group to which that cow belongs and on the input data associated with the amount of food provided to the group of cows. at least one sensor configured to be positioned on a collar and/or ear-tag of a cow, wherein the sensor is configured to collect data associated with head movements of the cow; a processor in communication with a memory module, the memory module having stored thereon program code, the program code executable by the processor to: receive signals from the at least one sensor ; preprocess the received signals by classifying different time blocks of the received signal into classes of behaviors of the cow; extract a plurality of features based, at least in part, on classified meal time blocks associated with eating behaviour, wherein at least one algorithm is applied to at least one of the extracted features to rank the amount of food consumed by each cow in relation to the amount of food consumed by other cows in the same group of cows to which the cow belongs; receive input data associated with the amount of food provided to the group of cows; and calculate the amount of food consumed by the cow based on the one or more extracted features, wherein the amount of food calculation is based at least on the rank of the amount of food consumed by each cow in relation to the amount of food consumed by other cows in the same group to which that cow belongs and on the input data associated with the amount of food provided to the group of cows. receive signals from the at least one sensor ; preprocess the received signals by classifying different time blocks of the received signal into classes of behaviors of the cow; extract a plurality of features based, at least in part, on classified meal time blocks associated with eating behaviour, wherein at least one algorithm is applied to at least one of the extracted features to rank the amount of food consumed by each cow in relation to the amount of food consumed by other cows in the same group of cows to which the cow belongs; receive input data associated with the amount of food provided to the group of cows; and calculate the amount of food consumed by the cow based on the one or more extracted features, wherein the amount of food calculation is based at least on the rank of the amount of food consumed by each cow in relation to the amount of food consumed by other cows in the same group to which that cow belongs and on the input data associated with the amount of food provided to the group of cows. <EOS>