逆光飛行的玉珮

导航

2019年6月10日 #

np

摘要: from autograd import grad grad(func) 微分 np.shape reshape(-1,1) 重新排列,(-1) 自動排成一列vecter,(-1,1)自動排成維度為1的一列 z.reshape(-1) array([ 1, 2, 3, 4, 5, 6, 7, 8, 阅读全文

posted @ 2019-06-10 04:07 逆光飛行的玉珮 阅读(205) 评论(0) 推荐(0) 编辑

2019年6月9日 #

[pandas] read_csv()

摘要: pandas.read_csv參數整理 讀取CSV(逗號分割)文件到DataFrame 也支持文件的部分導入和選擇迭代 更多幫助參見:http://pandas.pydata.org/pandas-docs/stable/io.html 參數: filepath_or_buffer : str,pa 阅读全文

posted @ 2019-06-09 12:34 逆光飛行的玉珮 阅读(164) 评论(0) 推荐(0) 编辑

2019年2月26日 #

[Jave - JDBC] executeUpdate & executeQuery & execute

摘要: 1. executeUpdate 用於執行INSERT、UPDATE、DELETE語法,以及 DDL語句(如CREATE TABLE 和DROP TABLE)。 返回值為受影響的行數or更新計數(整數),而 CREATE TABLE 或 DROP TABLE 等不操作行的語法,返回值則為零 。 2. 阅读全文

posted @ 2019-02-26 19:20 逆光飛行的玉珮 阅读(108) 评论(0) 推荐(0) 编辑

[SQL Server] sysobjects的介紹

摘要: sysobjects表 數據庫中所創建的每個對象(約束、默認值、日誌、規則、存儲過程等)都各以一行資訊呈現於表中。 而臨時對象只有在tempdb內,才在該表中各佔一行。 sysobjects 表結構: 列名 數據類型 描述 name sysname 對象名,常用列 id int 對象標識號 xtyp 阅读全文

posted @ 2019-02-26 12:08 逆光飛行的玉珮 阅读(164) 评论(0) 推荐(0) 编辑

2019年2月17日 #

[R] [Johns Hopkins] R Programming -- week 3

摘要: library(datasets) head(airquality) #按月分組 s 0) print("positive") else print("negative") } x0) print("positive") else print("negative") } x Na #錯誤處理的思維 input甚麼,如何Call function 所期待的是甚麼,Output? message?... 阅读全文

posted @ 2019-02-17 15:42 逆光飛行的玉珮 阅读(232) 评论(0) 推荐(0) 编辑

[R] 繪圖 Par 函数

摘要: 本篇內文主引用 https://zhuanlan.zhihu.com/p/21394945 之內容再稍加整理並參照下方有用資源 [rdocumentation] https://www.rdocumentation.org/packages/graphics/versions/3.5.2/topic 阅读全文

posted @ 2019-02-17 12:02 逆光飛行的玉珮 阅读(420) 评论(0) 推荐(0) 编辑

2019年2月13日 #

[R] [Johns Hopkins] R Programming -- week 4

摘要: #Generating normal distribution (Pseudo) random number x user time system.time(readlines("http://www.google.com")) #elapsed time < user time hilbert <- function(n){ i <- 1:n 1/outer(i -1, i, "+"... 阅读全文

posted @ 2019-02-13 01:59 逆光飛行的玉珮 阅读(318) 评论(0) 推荐(0) 编辑

2019年2月12日 #

[Ms SQL] 基本創建、修改與刪除

摘要: ##創建 table student, 內涵 id ,name ,tel三種columne,設定id為primary key create table student ( id int primary key, name char(20), tel char(20), ) ##創建 table course,內涵 id ,name ,score三種columne,其中將id與student的... 阅读全文

posted @ 2019-02-12 17:07 逆光飛行的玉珮 阅读(135) 评论(0) 推荐(0) 编辑

2019年2月10日 #

[R] Lexical & Dynamic Scoping / Execution & Calling environments / Closures

摘要: Lexical Scoping :有Java繼承中呼叫子類時先生成父類的概念,呼叫函數後,系統會轉至其定義處,將其 environment 中所具有的東西(有些可能定義在外層)形成 Closure [閉包] Dynamic Scoping :呼叫處起算,逐漸往上層找 有閉包的lexical scop 阅读全文

posted @ 2019-02-10 03:20 逆光飛行的玉珮 阅读(132) 评论(0) 推荐(0) 编辑

2019年2月9日 #

[R] [Johns Hopkins] R Programming 作業 Week 2 - Air Pollution

摘要: Introduction Introduction For this first programming assignment you will write three functions that are meant to interact with dataset that accompanie 阅读全文

posted @ 2019-02-09 20:37 逆光飛行的玉珮 阅读(480) 评论(0) 推荐(0) 编辑