Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/43.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 基于机器学习算法的配方标签分类_Python_Json_Tags_Svm_Prediction - Fatal编程技术网

Python 基于机器学习算法的配方标签分类

Python 基于机器学习算法的配方标签分类,python,json,tags,svm,prediction,Python,Json,Tags,Svm,Prediction,我正在做一个项目,其中我有大约15000个样本配方,标题为Ingr(edients)、摘要、准备和JSON文件中的标记 示例配方如下所示: { }, 我想知道对这些数据进行分类的算法或方法,最终目标是能够基于其他四个类预测标记。我是机器学习新手,没有真正使用过JSON文件,也没有太多的Python实践。您想看看建议或推荐系统:对于这些,有几个类。除此之外,如果您给出显示您尝试的代码,那么SO上的人更有可能回答。现在的问题是,这可以被认为是一个“购物问题”,它往往会产生太多自以为是的答案,因此可能

我正在做一个项目,其中我有大约15000个样本配方,标题为Ingr(edients)、摘要、准备和JSON文件中的标记

示例配方如下所示:

{

},


我想知道对这些数据进行分类的算法或方法,最终目标是能够基于其他四个类预测标记。我是机器学习新手,没有真正使用过JSON文件,也没有太多的Python实践。

您想看看建议或推荐系统:对于这些,有几个类。除此之外,如果您给出显示您尝试的代码,那么SO上的人更有可能回答。现在的问题是,这可以被认为是一个“购物问题”,它往往会产生太多自以为是的答案,因此可能会被搁置。请注意,还有一个问题与设计它(相对于编程它)相关,如果
"title": "Turtle Cheesecake",
"summary": "Cheesecake is a staple at the Market, but it’s different nearly every day because we vary the toppings, crusts, and flavorings. Cookie crusts are particularly good with cheesecakes. If you prefer your cheesecake plain, just serve it without the topping",
"ingr": [
  "1½ cups graham cracker crumbs",
  "½ cup finely chopped pecans (pulse in a food processor several times)",
  "6 tablespoons ( ¾ stick) unsalted butter, melted",
  "1½ pounds cream cheese, softened",
  "¾ cup sugar",
  "2 tablespoons all purpose flour",
  "3 large eggs",
  "1large egg yolk",
  "½ cup heavy cream",
  "2 teaspoons pure vanilla extract",
  "1 cup sugar",
  "1 cup heavy cream",
  "½ teaspoon pure vanilla extract",
  "½ cup coarsely chopped pecans, toasted",
  "2 ounces semisweet chocolate, melted"
],
"prep": "To Make the Crust:\n\n\n\n Grease a 9-inch springform pan. Wrap the outside of the pan, including the bottom, with a large square of aluminum foil. Set aside.\n\n\n\..."
"tag": [
  "Moderate",
  "Casual Dinner Party",
  "Family Get-together",
  "Formal Dinner Party",
  "dessert",
  "dinner",
  "cake",
  "cheesecake",
  "dessert"
]