Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 841 Bytes

README.md

File metadata and controls

34 lines (20 loc) · 841 Bytes

MLModelTraining

this is the code for part2 of CMT307 coursework in Cardiff School of Computer Science and Informatics

  1. download the project to local. git clone url url= https://github.com/Little-Ann/MLModelTraining.git

  2. open a terminal in the project

  3. make sure your computer installed Python3, and all these module:numpy,nltk,sklearn,operator,requests ,pandas,bs4 ,jieba. if not , please install them first.

pip3 install numpy

pip3 install nltk

pip3 install sklearn

pip3 install operator

pip3 install requests

pip3 install pandas

pip3 install bs4

pip3 install jieba

  1. input python3 part2code_1826583.py to run the code

Q: if there a ModuleNotFoundError,please use pip3 install 'module name' to install the module e.g. ModuleNotFoundError: No module named 'jieba' use : pip3 install jieba then rerun the .py code