码迷,mamicode.com
首页 >  
搜索关键字:plot    ( 1118个结果
Python开发【模块】:matplotlib 绘制折线图
matplotlib 1、安装matplotlib ① linux系统 ...
分类:编程语言   时间:2017-05-15 11:12:48    阅读次数:130
Logistic Algorithm分类算法的Octave仿真
本次Octave仿真解决的问题是,根据两门入学考试的成绩来决定学生是否被录取,我们学习的训练集是包含100名学生成绩及其录取结果的数据,需要设计算法来学习该数据集,并且对新给出的学生成绩进行录取结果预测。 首先,我们读取并绘制training set数据集: 然后,我们来学习训练集,直接使用我们逻辑 ...
分类:编程语言   时间:2017-05-14 21:46:34    阅读次数:232
LDA
clc;close all;clear allc1=[2 2 2; 1 2 3];c2=[4 5 6; 3 3 4];c=[c1 c2];plot(c1(1,:),c1(2,:),'*',c2(1,:),c2(2,:),'*');axis([0 8 0 8]);hold onu=mean(c,2); ...
分类:其他好文   时间:2017-05-13 17:02:47    阅读次数:157
PCA1
简单应用 clc;close all;clear all;x=[2 2 2 4 5 6; 1 2 3 3 3 4];plot(x(1,:),x(2,:),'o')axis([0 7 0 5])hold onxmean=mean(x,2);for i=1:2 x(i,:)=x(i,:)-xmean(i ...
分类:其他好文   时间:2017-05-13 16:55:05    阅读次数:155
名字尾字母与性别
Figure 2-7. Conditional frequency distribution: This plot shows the number of female and male names ending with each letter of the alphabet; most name ...
分类:其他好文   时间:2017-05-12 00:19:16    阅读次数:1878
iPython网页启动
安装必要的软件包: pip install "ipython[all]" pip install "ipython[all]" 启动命令:ipython notebook --inline=pylib 自动采用默认浏览器打开 http://localhost:8888/tree 如果想嵌入图表,则需 ...
分类:编程语言   时间:2017-05-07 14:53:26    阅读次数:178
四、Logisitic Regssion练习
转载:http://www.cnblogs.com/tornadomeet/archive/2013/03/16/2963919.html 牛顿法:http://blog.csdn.net/xp215774576/article/details/45974081 http://blog.csdn.n ...
分类:其他好文   时间:2017-05-05 12:45:57    阅读次数:262
Python 可视化Twitter中指定话题中Tweet的词汇频率
CODE: #!/usr/bin/python # -*- coding: utf-8 -*- ''' Created on 2014-7-8 @author: guaguastd @name: plot_frequencies_words.py ''' if __name__ == '__main ...
分类:编程语言   时间:2017-05-05 10:47:32    阅读次数:162
二、Linear Regression 练习(转载)
转载链接:http://www.cnblogs.com/tornadomeet/archive/2013/03/15/2961660.html 前言 本文是多元线性回归的练习,这里练习的是最简单的二元线性回归,参考斯坦福大学的教学网http://openclassroom.stanford.edu/ ...
分类:其他好文   时间:2017-05-05 10:38:38    阅读次数:243
Multiple plot function
From: http://www.cookbook-r.com/Graphs/Multiple_graphs_on_one_page_(ggplot2)/ library(ggplot2) multiplot(p1, p2, p3, p4, cols=2) # Multiple plot funct ...
分类:其他好文   时间:2017-05-04 00:09:18    阅读次数:249
1118条   上一页 1 ... 74 75 76 77 78 ... 112 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!