scikit_1's Introduction
搭建机器学习平台和例子 http://www.gumpcs.com/index.php/archives/226/comment-page-1#comment-25 1.python_machine_learning 是安装平台的软件 2.web_traffic.tsv 软件需要的数据集 3.user_guide-0.11 软件的用户使用手册 4.搭建python机器学习环境以及第一个例子.doc ......................................... ......................................... //导入数据 import scipy as sp data=sp.genfromtxt("C:\Users\Administrator\Desktop\machinelearning\web_traffic.tsv",delimiter="\t") print(data[:10]) print(data.shape) sp.sum(sp.isnan(y)) x=x[~sp.innan(y)] ......................................... //数据可视化 import matplotlib.pyplot as plt plt.scatter(x,y) plt.title("web traffic over the last month") plt.xlabel("time") plt.ylabel("hits/hour") plt.xticks([w*7*24 for w in range(10)],) plt.autoscale(tight=True) plt.grid() plt.show() ............................................... //机器学习部分 def error(f,x,y): return sp.sum((f(x)-y)**2) fp1,residuals,rank,sv,rcond=sp.polyfit(x,y,1,full=True) printf("Modle parametaer: %s"% fp1); print(residuals) .................................................. //整个脚本 machine.py 在本目录下 使用 python machine.py 命令运行本脚本
scikit_1's People
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.