Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

udacity/MLND-cn-trial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

机器学习工程师纳米学位(试学班)

项目0:预测你的下一道世界料理

准备工作

这个项目需要安装 Python3 和以下的 Python 函数库:

pip install pandas numpy matplotlib nltk scikit-learn jupyter notebook
python -c "import nltk; nltk.download('wordnet')"

优达学城推荐学生安装 Anaconda,这是一个常用的 Python 集成编译环境,且已包含了本项目中所需的全部函数库(除nltk外)。

代码

代码的模版已经在 PredictYourCuisine.ipynb 文件中给出。你还会用到菜系数据集来完成这个项目。我们已经为你提供了一部分代码,但还有些功能需要你来实现才能以完成这个项目。

运行

在终端或命令行窗口中,选定 MLND-cn-trial/ 的目录下(包含此README文件),运行下方的命令:

jupyter notebook PredictYourCuisine.ipynb

这样就能够启动 Jupyter notebook 软件,并在你的浏览器中打开文件。

数据

此项目的数据集来自Kaggle What's Cooking 竞赛。共 39774/9944 个训练和测试数据点,涵盖了中国菜、越南菜、法国菜等的信息。

特征

  1. id: 数据编号,例如, "24717".
  2. ingredients: 此菜所包含的原料,例如["tumeric", "vegetable stock", ...]

目标变量

cuisine: 菜名,例如,"indian".

Archival Note

This repository is deprecated; therefore, we are going to archive it. However, learners will be able to fork it to their personal Github account but cannot submit PRs to this repository. If you have any issues or suggestions to make, feel free to:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •