04 2018 档案

摘要:ctrl + alt + T 命令行 ctrl + alt + F7 ctrl + alt + F1-6 ls 列出所有文件 / 根目录 ~ /home/username cd 切换路径 . 当前目录 .. 上级目录 mkdir B 创建文件夹 nano sum.c 使用nano编辑指定文件,若不存 阅读全文
posted @ 2018-04-27 00:30 cbattle 阅读(213) 评论(0) 推荐(0)
摘要:# coding: utf-8 # In[19]: # 0.78468 # In[20]: import numpy as np import pandas as pd import warnings warnings.filterwarnings('ignore') from sklearn import preprocessing # In[21]: train_path... 阅读全文
posted @ 2018-04-23 16:09 cbattle 阅读(194) 评论(0) 推荐(0)
摘要:What is Data Leakage¶ Data leakage is one of the most important issues for a data scientist to understand. If you don't know how to prevent it, leakag 阅读全文
posted @ 2018-04-14 15:22 cbattle 阅读(651) 评论(0) 推荐(0)
摘要:The Cross-Validation Procedure In cross-validation, we run our modeling process on different subsets of the data to get multiple measures of model qua 阅读全文
posted @ 2018-04-14 11:12 cbattle 阅读(350) 评论(0) 推荐(0)
摘要:# Most scikit-learn objects are either transformers or models. # Transformers are for pre-processing before modeling. The Imputer class (for filling i 阅读全文
posted @ 2018-04-14 11:00 cbattle 阅读(159) 评论(0) 推荐(0)
摘要:# Partial dependence plots# 改变单变量对最终预测结果的影响# 先fit出一种模型,然后取一行,不断改变某一特征,看它对最终结果的印象。# 但是,只使用一行不具有典型性# 所以对所有行执行上述操作,求均值 阅读全文
posted @ 2018-04-14 10:45 cbattle 阅读(414) 评论(0) 推荐(0)
摘要:kaggle House_Price_final 代码 import numpy as np import pandas as pd from sklearn.ensemble import RandomForestRegressor from sklearn.metrics import mean 阅读全文
posted @ 2018-04-12 22:22 cbattle 阅读(395) 评论(0) 推荐(0)
摘要:kaggle gradient_descent 1.描述 自写梯度下降 2.代码 阅读全文
posted @ 2018-04-12 21:59 cbattle 阅读(171) 评论(0) 推荐(0)
摘要:GO是批处理的标志,是一条或多条SQL语句的集合,SQL Server将批处理语句编译成一个可执行单元,此单元称为执行计划。 GO语句把程序分成一个个代码块,即使一个代码块执行错误,它后面的代码块任然会执行。 每个被GO分隔的语句都是独立的事务,一个语句执行失败不会影响其它语句执行: 第一个查询失败 阅读全文
posted @ 2018-04-10 23:20 cbattle 阅读(16341) 评论(0) 推荐(3)