This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ターゲットごとに8つの特徴量を表示する | |
fig,axes = plt.subplots(4,2,figsize=(10,20)) | |
ax = axes.ravel() | |
for i in range(8): | |
ax[i].hist(survived_data.iloc[:,i],bins=15,color='#66bd63',alpha=.5) | |
ax[i].hist(not_survived_data.iloc[:,i],bins=15,color='#f46d43',alpha=.5) | |
ax[i].set_title(survived_data.columns[i]) | |
ax[i].set_yticks(()) | |
ax[0].set_xlabel("Feature magnitude") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sns.distplot(df[df['Survived']==1]['Fare'],kde=False,rug=False,bins=10,label='Survived') | |
sns.distplot(df[df['Survived']==0]['Fare'],kde=False,rug=False,bins=10,label='Death') | |
plt.legend() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sns.countplot('Pclass',data=df,hue='Survived') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heatmap_data = df[['Age','Pclass','Fare','Survived']] | |
sns.heatmap(heatmap_data.corr(), annot=True, fmt='.2f', cmap='summer') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sns.pairplot(df[["Survived", "Pclass", "SibSp", "Parch", "Age", "Fare"]], hue="Survived") | |
plt.show() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## admittedly,I can't make use of Windows{XP,7,8}. | |
## but,some tools are required to be good at workplace sometimes. | |
## categories are not sorted. | |
## 2013/07/22 Ver1.0 | |
.Sysinternals | |
・fping | |
・WinMerge | |
・NetEnum | |
・Xnview |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##動機## | |
シェルスクリプトってなんだか難しくね. | |
サービス監視スクリプトなどのルーティンワークなどは | |
テンプレ化しようよ。 | |
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: UTF-8 | |
require 'csv' | |
require 'date' | |
require_relative 'kishocho' | |
include Kishocho | |
# puts Kishocho.get_10_min_data(1192, Date.new(2010, 5, 1)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: UTF-8 | |
require 'csv' | |
require 'date' | |
require_relative 'kishocho' | |
include Kishocho | |
# puts Kishocho.get_10_min_data(1192, Date.new(2010, 5, 1)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ab -k -n 100 -c 5 http://example.com/ | |
ab -k -n 1000 -c 100 http://example.com/ |
NewerOlder