comments's Introduction
comments's People
comments's Issues
【Ch3】Hands on Machine Learning
【Ch3】Hands on Machine Learning
本章使用的数据集是MNIST数据集,有70000张手写的数字图像(这个数据集也被称为是机器学习的“hello world”)
Scikit-Learn 提供了一些函数来下载常用的数据集,下面的代码可以下载MNIST数据集:
from sklearn.datasets import fetch_openml mnist = fetch_openml('mnist_784', version=1) mnist.keys() 通过 Scikit-Learn下载的数据是字典的结构,包含key和value,比如DESCRkey表示数据集的描述,data key表示数据集,target key表示数据集的标签
使用Scikit-Learn下载太慢,所以在openml官网下载了csv格式的数据,再使
下载EGA数据
下载EGA数据
目前比较简单的方法是利用EGA download client—pyEGA3来下载
下载和安装 这个工具是python版本的,在下载的时候需要端口8443和8052开启,可以通过下面的命令来检查:
openssl s_client -connect ega.ebi.ac.uk:8443
openssl s_client -connect ega.ebi.ac.uk:8052
如果返回CONNECTED就表示端口可以连接: 接下来就需要安装pyEGA3,可以通过pip,conda或者克隆github仓库来安装
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.