new function added to return generated parameter based on feature vector