# What is an Operating System? 一個特別管理電腦硬體與軟體資源的系統程式。 Permanent Software:電腦啟動後永遠存在,沒有它電腦就不會運作 Abstracts 硬體資源:把底層的各種資源變成一堆 API 給使用者方便使用 OS 主要功能 / 系統觀點 資源分配者 (resource allocator) manages 和 allocates resources 來確保公平性和效率 是一套控制程式 (control program) 監控使用者與程式的行為防止不正常的運作造成對系統的危害 目標 /...

# Mainframe Systems 大型電腦系統 世界最早電腦之一,擁有很大的體積 I/O 慢、做的事情單一 提供較好的可靠性與安全性。 以下列的順序做進展: Batch 批次處理 Multi-programming 多元程式系統 Time-sharing 分時處理系統 # Batch 批次處理 運作方式: 電腦管理者 (operator)...

# 作業系統 (Operating System) 筆記版面介紹 2026/1 開始的為期作業系統筆記統整計畫。 經由參考書的資料與前輩大佬們的筆記取經,也是給自己的一個作業和交代。力求 深入淺出 考點討論 練習題探討 若有 PDF 筆記也會開放在文末下載參考。 此篇目主要介紹筆記的版面結構和內容安排,更好地導航和利用這些資源。 .right-text { text-align: right; /* 文本右对齐 */ } -2026/01/09 by 棉花糖 # 筆記總覽 # 作業系統筆記目錄 # 基本筆記架構介紹 # 資源 # 參考書目 Silberschatz, Galvin,...

# Linear Model Selection and Regularization Recall the linear model (Can also apply to GLM) Y=β0+β1X1+β2X2+...+βpXp+ϵY=\beta_0+\beta_1X_1+\beta_2X_2+...+\beta_pX_p+\epsilon Y=β0​+β1​X1​+β2​X2​+...+βp​Xp​+ϵ Then we consider even more general non-linear models the linear model has...

# Why resampling? These methods refit a model of interest by sampling from the training set, in order to obtain additional information about the fitted model Can be computationally expensive because they involve fitting the same statistical method multiple times using different subsets of the...

# Logistic Regression Write p(X)=Pr(Y=1∣X)p(X)=Pr(Y=1|X)p(X)=Pr(Y=1∣X) for short and consider using balance to predict default. Logistic regression uses the form: E(Y∣X)=p(X)=eβ0+β1X1+eβ0+β1X, Y∣X∼Bernoulli(p(X))E(Y|X)=p(X)=\frac{e^{\beta_0+\beta_1 X}}{1+e^{\beta_0+\beta_1...

# Linear Regression 線性回歸是一種簡單的監督式學習方法,假設 𝑌 對 𝑋1,𝑋2,…𝑋𝑝 的依賴是線性的。 雖然看起來過於簡單,但線性回歸在概念和實踐上都非常有用。 # Simple Linear Regression We assume a model: Y=β0+β1X+ϵY = \beta_0 + \beta_1 X + \epsilonY=β0​+β1​X+ϵ, where β0\beta_0β0​ and β1\beta_1β1​ are unknown constants, that represent the...

# Notation XXX: predictor variable (feature) We can refer to the input vector collectively as X=(X1,X2,...,Xp)X=(X_1, X_2, ..., X_p)X=(X1​,X2​,...,Xp​) Vectors are represented as a column vector X=(x11x12⋮x1p) X = \begin{pmatrix} x_{11} \\ x_{12} \\ \vdots...

# 需安裝軟體 種類 用途 相關資料 Anaconda 環境架構 4 Pandas DataFrame Rows: records (cases) Cols: features (variables) - 官網教學 - 基本語法 Seaborn Visualization Intro # Python 套件 # Python scientific computing https://scipy-lectures.org/ https://github.com/jakevdp/PythonDataScienceHandbook # Python for R and Matlab...