So, first of all, you would need to install Anaconda distribution which can be downloaded from the link https://www.anaconda.com/download/ (for Windows users only).

因此,首先,您需要安装Anaconda发行版 ,可以从链接https://www.anaconda.com/download/下载(仅限Windows用户)。

The installation is pretty simple just keep on clicking next and agree to terms and conditions. So, the reason for installing Anaconda is that it comes with a lot of preinstalled packages and Spyder is one of them. After installing the software just click on the anaconda icon on the desktop or go to the search option in windows 10 and type in anaconda navigator, for the Ubuntu users you can install anaconda using the terminal. As you open the navigator you will see the anaconda GUI which looks like this:

安装非常简单,只需继续单击下一步并同意条款和条件即可。 因此,安装Anaconda的原因是它附带了许多预安装的软件包,而Spyder就是其中之一。 安装软件后,只需单击桌面上的anaconda图标或转到Windows 10中的搜索选项,然后键入anaconda导航器,对于Ubuntu用户,您可以使用终端安装anaconda。 打开导航器时,您将看到anaconda GUI,如下所示:

Screenshot-0

屏幕截图-0

From here just click on the launch button below the Spyder and a new Spyder GUI will be opened in a separate window:

在这里,只需单击Spyder下方的启动按钮,就会在单独的窗口中打开一个新的Spyder GUI:

Screenshot-1

屏幕截图1

.minHeight{ min-height: 250px; } @media (min-width: 1025px){ .minHeight{ min-height: 90px; } } .minHeight{ min-height: 250px; } @media (min-width: 1025px){ .minHeight{ min-height: 90px; } }

As you can see by default a new .py file named untitled2.py has been created. Untitled2 is the name of the file in which you will be writing your python code.

如您所见,默认情况下,已创建一个名为untitled2.py新.py文件Untitled2是将在其中编写python代码的文件的名称。

Here, I would be highlighting some of the basic features that important features and would be explaining them to you:

在这里,我将重点介绍一些重要功能的一些基本功能,并向您解释它们:

Screenshot-2

屏幕截图2

The portion marked in sky blue is used to set the directory of the file to be opened, in the previous article (Linear Regression in Machine Learning) I had mentioned in my code that I have stored the source code and .csv file in the same folder so after you save those 2 files in the same folder you can just go to this set directory option and select the folder in which you have stored the two files.

在上一篇文章( 机器学习中的线性回归)中 ,用天蓝色标记的部分用于设置要打开的文件的目录,我在代码中提到将源代码和.csv文件存储在同一目录中。文件夹,因此在将这2个文件保存在同一文件夹中之后,您只需转到此设置目录选项,然后选择存储两个文件的文件夹即可。

The portion marked in orange is the variable explorer this basically shows us the info about all the variables that we have created, after selecting your code using ctrlA and compiling your code using shift-enter just click on this option you will see the following:

用橙色标记的部分是变量浏览器,它基本上向我们显示了我们创建的所有变量的信息,在使用ctrlA选择代码并使用shift-enter编译代码之后,只需单击此选项,您将看到以下内容:

Screenshot-3

屏幕截图3

On the upper right of this screen you will see a box containing some names below the name column such as x_test, x_train etc these are the variables I have used and below the type column, you’ll see their datatype. As you move further right you can see size as well as the values stored.

在此屏幕的右上角,您将在名称列下方看到一个包含一些名称的框,例如x_test , x_train等,这些是我使用的变量,在类型列下方,您将看到其数据类型。 向右移动时,您可以看到大小以及存储的值。

As you go back to screenshot-2 you will see another portion marked in dark blue. The area marked is known as the file explorer and the main purpose of the file explorer is to select the files and load it on your Spyder. It also allows you to have a glimpse of the files present in the particular directory that you have selected.

回到屏幕快照2,您将看到另一部分标记为深蓝色。 标记为的区域称为文件浏览器,文件浏览器的主要目的是选择文件并将其加载到Spyder上。 它还使您可以浏览所选特定目录中的文件。

And at last but not the least you’ll see the IPython console option marked with black ink in screenshot-2. IPython is basically a command shell for interactive computing in multiple programming languages, originally developed for the Python programming language, that offers introspection, rich media, shell syntax, tab completion, and history.

最后但并非最不重要的一点是,您将在screenshot-2中看到用黑色墨水标记的IPython控制台选项。 IPython基本上是用于多种编程语言进行交互式计算的命令外壳,最初是为Python编程语言开发的,提供自省,富媒体,外壳语法,制表符补全和历史记录。

These are some of the basic features that Spyder offers, however, there are my more just install Anaconda see for yourself.

这些是Spyder提供的一些基本功能,但是,我还有更多安装Anaconda的功能。

翻译自: https://www.includehelp.com/ml-ai/spyder-a-powerful-weapon-for-machine-learning-in-python.aspx

Spyder:Python中机器学习的强大武器相关推荐

  1. [转载]Scikit Learn: 在python中机器学习

    原址:http://my.oschina.net/u/175377/blog/84420 目录[-] Scikit Learn: 在python中机器学习 载入示例数据 一个改变数据集大小的示例:数码 ...

  2. Python中机器学习的特征选择工具

    特征选择,即在数据集中查找和选择最有用的特征的过程,是机器学习的关键步骤.不必要的特征会降低训练速度.模型的可解释性,最重要的是会降低测试集的泛化性能. 我对临时的特征选择方法感到很失望,但是在解决机 ...

  3. Python中机器学习的特征选择技术

    Introduction 介绍 Feature selection is the selection of reliable features from the bundle of large num ...

  4. Python中机器学习神器——sklearn模块

    参考文章 Python机器学习笔记:sklearn库的学习 ML神器:sklearn的快速使用 机器学习与Sklearn的初识 传统的机器学习任务从开始到建模的一般流程是:获取数据 → 数据预处理 → ...

  5. Scikit Learn: 在python中机器学习

    Warning 警告:有些没能理解的句子,我以自己的理解意译. 翻译自:Scikit Learn:Machine Learning in Python 作者: Fabian Pedregosa, Ga ...

  6. python有哪些作用-Python中的NumPy是什么?有什么作用?

    Python中的NumPy是什么?NumPy或NumericPython是用于科学计算的通用数组处理python软件包.它包含许多强大的功能,其中包括:具有许多有用功能的健壮的多维数组对象.用于将其他 ...

  7. python中的赋值

    一.python有简单的赋值,如x= 1 二.序列赋值,如 a, b, c = 1, 2, 3 或者[a, b, c] = 1, 2, 3 又或者 (a, b, c) =1, 2, 3 序列赋值要求等 ...

  8. Python中的装饰器是什么?装饰器是如何工作的?

    Python很早就引入了装饰器--在PEP-318中,作为一种简化函数和方法定义方式的机制,这些函数和方法在初始定义之后必须进行修改. 这样做的最初动机之一是,使用classmethod和static ...

  9. python中list是有序的吗_python list有序吗

    摘要 腾兴网为您分享:python list有序吗,榛果民宿,一加商店,小牛,先锋影音等软件知识,以及腾讯qq2013,我的世界游戏盒,游戏赚app,大阆网,iis日志分析工具,吃饭表情包,爱彼此家居 ...

最新文章

  1. R语言构建xgboost模型:指定特征交互方式、单调性约束的特征、获取模型中的最终特征交互形式(interaction and monotonicity constraints)
  2. 【git】 重置文件
  3. r语言三维柱状图_R语言三维图的绘制
  4. codeforces Free Cash
  5. 敏捷开发般若敏捷系列之五:如何推广敏捷(中)(无寿者,回报,破我执)...
  6. python实现api server,初学python,准备学习做个restful api server,现在有些困惑
  7. ArrayList、Vector、LinkedList的特点和区别
  8. 云服务器CentOS7上安装Mysql,并使用Navicat连接的最简便快速方法
  9. QuartusII-项目工程的时序仿真
  10. 汇编软件DOSBox使用教程
  11. (双硬盘(SSD+HDD)/单硬盘)双系统win10+ubuntu18.04安装记录
  12. Flash builder 4.6 下载 破解 序列号【你懂的】
  13. 读周公度之《结构化学基础》
  14. apscheduler使用中的时区问题
  15. 题目0171-相同数字的积木游戏1
  16. Delphi使用SpreadSheet
  17. python soup中文歌词_Python调用BeautifuSoup进行html的文本内容提取问题 [ 求问吃鸡主播beautifu1 boy...
  18. 为元宇宙提供动力的关键技术驱动力
  19. 大学英语四级涉及计算机阅读,大学英语四级阅读部分应试技巧 -电脑资料
  20. ORACLE审计管理

热门文章

  1. oracle 中DATETIME与TIMESTAMP区别
  2. LDAP命令介绍---dsreplication
  3. 多主机推送公钥、修改配置、修改密码脚本
  4. 【转】百度站长平台MIP引入工具使用心得
  5. 问题 D: 最小生成树II
  6. Go2Shell 已无法使用
  7. 带控制端的逻辑运算电路_分别完成正整数的平方、立方和阶乘的运算verilog语言...
  8. DEVEXPRESS---TREELIST的使用
  9. [学习笔记]半平面交
  10. zabbix的agent端的主动模式关键三个参数