搭建机器学习的Linux虚拟机环境

来源:互联网 发布:淘宝设置优惠券要钱吗 编辑:程序博客网 时间:2024/05/01 16:53

研究生在学期间一直使用Matlab来搭建机器学习的环境,而目前Python已经成为AI领域的主流编程语言,于是我参照着网上的例子在Linux虚拟机上了搭建了自己的Python3环境

1.安装 VirtualBox

VirtualBox官网

2. 安装Ubuntu16.04

对于新手来说,Ubuntu还是首选,相关资料和论坛也多一些

Ubuntu16.04, 64位

Ubuntu16.04, 32位

在VirtualBox 软件中安装Ubuntu16.04, 64位虚拟机时,选择不了64bit,
此时需要在BIOS中,将Intel Virtualization Technology选项改为enable。

VirtualBox界面

3.安装Python以及机器学习环境

# 安装 python3.6sudo add-apt-repository ppa:jonathonf/python-3.6sudo apt-get updatesudo apt-get install python3.6# 安装 pip$ sudo apt-get install python3-pip# 安装必备的机器学习库$ pip3 install numpy $ pip3 install Scipy$ pip3 install Pandas$ pip3 install Matplotlib$ pip3 install Statsmodels$ pip3 install Scikit-Learn 

安装机器学习库

引用的博客如下

https://yq.aliyun.com/articles/272202?spm=5176.100240.searchblog.9.basnUy

http://blog.csdn.net/fendoubasaonian/article/details/50601410

阅读全文
0 0
原创粉丝点击