All out of nutmeg? The same algorithms that predicts your friends on Facebook can also figure out ingredient substitutions for your pumpkin pie this Thanksgiving. Courtesy of Lada Adamic. hide caption itoggle caption Courtesy of Lada Adamic. The Salt Could Nate Silver Predict How Good Your Pumpkin Pie Will Be? November 19, 2012 Scientists have come up with an algorithm to guess how many stars a recipe will receive online. By building "social networks" for ingredients, the algorithms also reveal how we mix and match spices, make dishes more healthful and customize flavor profiles.