The invention relates to the field of
data processing, in particular to a recommendation method and
system based on behavior analysis, and the method comprises the steps: obtaining historical selling data of an unmanned vending
machine, and carrying out the preprocessing of the data; according to the
single item frequency of commodity selling in the preprocessed historical selling data and the combination frequency of the
modes in the
Apriori algorithm, the binding degree of each mode is evaluated, a preset minimum support degree threshold value is adjusted based on the binding degree, the binding degree and the preset minimum support degree threshold value are in an inverse relation, a corrected frequent item set is obtained, and the corrected frequent item set is stored in a
database; formulating a selling scheme of the commodity combination according to the corrected frequent item set; according to the selling frequency of the set
meal and the selling frequency of each commodity in the set
meal, the optimal degree of each set
meal is obtained, and the set meal is adjusted based on the priority degree of the set meal; according to the method, the binding degree between the commodities is evaluated and quantified, and the minimum support degree threshold value is dynamically adjusted, so that the
package demand which better meets the customer is formulated.