主頁 >  其他 > Coursera - 機器學習基石 - 林軒田 | 作業一 - 題目 & 答案 & 決議

Coursera - 機器學習基石 - 林軒田 | 作業一 - 題目 & 答案 & 決議

2020-09-13 22:12:02 其他

機器學習基石 | 作業一

個人基礎不太好,做題花了挺長時間,分享一下自己的解題方法,基礎不太好嘛,可能比較啰嗦,

原題目和編程題的程式(Jupyter Notebook 源檔案),還有本解答的 PDF 版本都放在了 此鏈接 中,


題目

見檔案 作業一_Coursera_2020-03-23.html


Q1

§ Q1 題目


Which of the following problems are best suited for machine learning?

(i) Classifying numbers into primes and non-primes

(ii) Detecting potential fraud in credit card charges

(iii) Determining the time it would take a falling object to hit the ground

(iv) Determining the optimal cycle for traffic lights in a busy intersection

(v) Determining the age at which a particular medical test is recommended

?? (i) and (ii)
?? (ii), (iv), and (v)
?? none of the other choices
?? (i), (ii), (iii), and (iv)
?? (i), (iii), and (v)

Q1 決議

(i) ?? 判斷一個數是否為質數,這個問題可以簡單地用編程實作,比如:判斷一個數是否只能被 1 和它自身整除,

(ii) ?? 檢測潛在的信用卡詐騙問題,

(iii) ?? 確定物體下落到地面的時間,自由落體運動可以簡單地用編程實作:\(h = \frac{1}{2}gt^2\)

(iv) ?? 確定繁忙交通路口的最佳交通信號燈周期,

(v) ?? 確定某種醫療檢查的推薦年齡,

Q1 知識點

Key Essence of Machine Learning: Machine Learning Foundations - Slide 01 - P10

  • exists some ‘underlying pattern’ to be learned
    —so ‘performance measure’ can be improved
  • but no programmable (easy) definition
    —so ‘ML’ is needed
  • somehow there is data about the pattern
    —so ML has some ‘inputs’ to learn from

Q2-Q5

For Questions 2--5, identify the best type of learning that can be used to solve each task below.

§ Q2 題目


Play chess better by practicing different strategies and receive outcome as feedback.

?? active learning
?? reinforcement learning
?? supervised learning
?? none of other choices
?? unsupervised learning

Q2 決議

本題目的關鍵點在于 recieve outcome as feedback,強化學習通過接識訓境對動作的獎勵(反饋)獲得學習資訊并更新模型引數,

Q2 知識點

Learning with Different Data Label \(y_n\): Machine Learning Foundations - Slide 03 - P14

  • supervised: all \(y_n\)
  • unsupervised: no \(y_n\)
  • semi-supervised: some \(y_n\)
  • reinforcement: implicit \(y_n\) by goodness(\(\widetilde{y}_n\))

§ Q3 題目


Categorize books into groups without pre-defined topics.

?? none of other choices
?? active learning
?? unsupervised learning
?? supervised learning
?? reinforcement learning

Q3 決議

本題關鍵在于 without pre-defined topics,是典型的非監督學習中的聚類學習問題,


Q4 題目


Recognize whether there is a face in the picture by a thousand face pictures and ten thousand non-face pictures.

?? unsupervised learning
?? supervised learning
?? active learni
?? reinforcement learning
?? none of other choices

Q4 決議

facenon-face 都是給圖片打的標簽,本題是典型的監督學習問題,


§ Q5 題目


Selectively schedule experiments on mice to quickly evaluate the potential of cancer medicines.

?? reinforcement learning
?? unsupervised learning
?? supervised learning
?? active learning
?? none of other choices

Q5 決議

slides 中對主動學習(active learning)的定義是:improve hypothesis with fewer labels
(hopefully) by asking questions strategically.

Active Learning 的主要方式是模型通過與用戶或專家進行互動,拋出 “query” (unlabel data) 讓專家來確定資料的標簽,如此反復,以期讓模型利用較少的標記資料獲得較好“性能”[1]

本題可以理解為機器選擇性地拋出“需要驗證的可能會帶來很大進展的實驗”,讓專家執行給出的實驗判斷其是否真的有用,將結果回傳給機器以學習,

Q5 知識點

Learning with Different Protocol \(f \Rightarrow (\mathbf{x}_n, y_n)\): Machine Learning Foundations - Slide 03 - P20

  • batch: all known data
  • online: sequential (passive) data
  • active: strategically-observed data

Q6-Q8

Question 6-8 are about Off-Training-Set error.

Let \(\mathcal{X} = \{\mathbf{x}_1,\mathbf{x}_2,\ldots,\mathbf{x}_N,\mathbf{x}_{N {\!+\!} 1},\ldots,\mathbf{x}_{N {\!+\!} L}\}\) and \(\mathcal{Y} = \{-1,+1\}\) (binary classification). Here the set of training examples is \(\mathcal{D}=\Bigl\{(\mathbf{x}_n,y_n)\Bigr\}^{N}_{n=1}\), where \(y_n \in \mathcal{Y}\), and the set of test inputs is \(\Bigl\{\mathbf{x}_{N {\!+\!} \ell}\Bigr\}_{\ell=1}^L\). The Off-Training-Set error (\(\mathit{OTS}\;\)) with respect to an underlying target \(\mathit{f}\;\) and a hypothesis \(\mathit{g}\;\) is \(E_{OTS}(g, f)= \frac{1}{L} \sum_{\ell=1}^{L}\bigl[\bigl[ g(\mathbf{x}_{N {\!+\!} \ell}) \neq f(\mathbf{x}_{N {\!+\!} \ell})\bigr]\bigr]\) .

§ Q6 題目


Consider \(f(\mathbf{x})=+1\) for all \(\mathbf(x)\) and \(g(\mathbf{x})=\left \{\begin{array}{cc}+1, & \mbox{ for } \mathbf{x} = \mathbf{x}_k \mbox{ and } k \mbox{ is odd } \mbox{ and } 1 \le k \le N+L\\-1, & \mbox{ otherwise}\end{array}\right.\)

\(E_{OTS}(g,f)=?\) (Please note the difference between floor and ceiling functions in the choices)

?? \({\frac{1}{L} \times ( \lfloor \frac{N+L}{2} \rfloor - \lceil \frac{N}{2} \rceil )}\)

?? \({\frac{1}{L} \times ( \lceil \frac{N+L}{2} \rceil - \lceil \frac{N}{2} \rceil )}\)

?? \({\frac{1}{L} \times ( \lceil \frac{N+L}{2} \rceil - \lfloor \frac{N}{2} \rfloor )}\)

?? \({\frac{1}{L} \times ( \lfloor \frac{N+L}{2} \rfloor - \lfloor \frac{N}{2} \rfloor )}\)

?? none of the other ch oices

Q6 決議

這其實是一道閱讀理解題 ??

一起讀一下題:

  1. 第一句話表明這是一個二分類問題
  2. 第二句話表明資料分為兩部分:
    • 訓練集 \(\mathcal{D}\) - 從 \(\mathbf{x}_1\)\(\mathbf{x}_N\) (含對應的 \(y\) 標簽)總共 \(N\) 個樣本
    • 測驗集 - 從 \(\mathbf{x}_{N\!+\!1}\)\(\mathbf{x}_{N\!+\!L}\) (含對應的 \(y\) 標簽)總共 \(L\) 個樣本
  3. 第三句話在講什么是 Off-Training-Set error, 就是 \(g\) 在測驗集上的錯誤率,即在 \(g\) 測驗集上錯誤點的個數除以測驗集總樣本數
  4. 第四句話說 \(f\) 恒為 \(+1\)\(g\) 在整個資料集上第奇數個 \(\mathbf{x}\) 上是 \(+1\),在第偶數個 \(\mathbf{x}\) 上是 \(-1\)
  5. \(E_{OTS}(g, f)\). 由第四句我們知道 \(g\) 在第偶數個 \(\mathbf{x}\) 時是錯的(與 \(f\) 值不相等)

所以這題目這么長,竟然就在考 \(N+1\)\(N+L\) 總共有多少個偶數???

下面來解題:

  1. \(N\!+\!1\)\(N\!+\!L\) 偶數的個數) = (\(1\)\(N\!+\!L\) 偶數個數) - (\(1\)\(N\) 偶數個數)
  2. 上式右側等式減號兩邊用的是同樣的演算法,排除選項中兩個前后 floor ceiling 不同的選項
  3. \(1\)\(N\) 有多少個偶數?想不明白的用賦值法,假如 \(N = 2\),那么有 \(1\) 個偶數,正好是 \(\frac{N}{2}\);假如 \(N=3\),那么還是只有一個偶數,\(\frac{N}{2} = 1.5\) 需要向下取整為 \(1\),故該項為 \(\lfloor{\frac{N}{2}}\rfloor\)

§ Q7 題目


We say that a target function \(f\) can "generate'' \(\mathcal{D}\) in a noiseless setting if $f(\mathbf{x}_n) = y_n $for all \((\mathbf{x}_n,y_n) \in \mathcal{D}\).

For all possible \(f: \mathcal{X} \rightarrow \mathcal{Y}\), how many of them can generate \(\mathcal{D}\) in a noiseless setting?

Note that we call two functions \(f_1\) and \(f_2\) the same if \(f_1(\mathbf{x})=f_2(\mathbf{x})\) for all \(\mathbf{x} \in \mathcal{X}\).

?? \(1\)

?? \(2^L\)

?? \(2^{N+L}\)

?? none of the other choices

?? \(2^N\)

Q7 決議

這仍然是一道閱讀理解題,

讀題:

  1. 第一句解釋了 \(f\) can "generate'' \(\mathcal{D}\) in a noiseless setting 的定義:在訓練集 \(\mathcal{D}\) 上,對所有樣本都有\(f(\mathbf{x}_n)=y_n\).
  2. 結合上一題資訊:
    • 訓練集 \(\mathcal{D}\) - 從 \(\mathbf{x}_1\)\(\mathbf{x}_N\) (含對應的 \(y\) 標簽)總共 \(N\) 個樣本
    • 測驗集 - 從 \(\mathbf{x}_{N\!+\!1}\)\(\mathbf{x}_{N\!+\!L}\) (含對應的 \(y\) 標簽)總共 \(L\) 個樣本
  3. 第三句說如果對整個資料集上(訓練集 + 測驗集)的 \(\mathbf{x}\)\(f(\mathbf{x}_n)=y_n\) 得到的 \(y\) 都是一樣的話,那么稱這些 \(f\) 是相同的

分析一下:

  1. \(f\) can "generate'' \(\mathcal{D}\) 說明這些 \(f\)訓練集上 所有資料是相同的
  2. 不同的 \(f\)整個資料集(訓練集 + 測驗集) 上不能完全相同,又由于他們在訓練集上相同,所以只能在 測驗集上 不同
  3. 由上題資訊,\(y\) 只能取 \(\left\{-1, +1\right\}\) ,測驗集上有 \(L\) 個點,所以有 \(2^{L}\) 種不同的組合方式

§ Q8 題目


A determistic algorithm \(\mathcal{A}\) is defined as a procedure that takes \(\mathcal{D}\) as an input, and outputs a hypothesis \(g\). For any two deterministic algorithms \(\mathcal{A}_1\) and \(\mathcal{A}_2\), if all those \(f\) that can "generate'' \(\mathcal{D}\) in a noiseless setting are equally likely in probability,

?? For any given \(f\) that "generates" \(\mathcal{D}\), \(E_{OTS}(\mathcal{A}_1(\mathcal{D}), f) = E_{OTS}(\mathcal{A}_2(\mathcal{D}), f)\).

?? none of the other choices

?? \(\mathbb{E}_f\left\{E_{OTS}(\mathcal{A}_1(\mathcal{D}), f)\right\} = \mathbb{E}_f\left\{E_{OTS}(f, f)\right\}\)

?? \(\mathbb{E}_f\left\{E_{OTS}(\mathcal{A}_1(\mathcal{D}), f)\right\} = \mathbb{E}_f\left\{E_{OTS}(\mathcal{A}_2(\mathcal{D}), f)\right\}\)

?? For any given \(f'\) that does not "generate" \(\mathcal{D}\), \(\left\{E_{OTS}(\mathcal{A}_1(\mathcal{D}), f')\right\} = \left\{E_{OTS}(\mathcal{A}_2(\mathcal{D}), f')\right\}\)

Q8 決議

  1. \(\mathcal{D} \xrightarrow{\mathcal{A}} g\)
  2. 在訓練集中,由于所有 \(f\) 等概,所以對任意一個樣本點,\(f\)\(-1\)\(+1\) 的概率都為 \(\frac{1}{2}\),任一 \(g\) 在每個點上錯誤概率的期望都為 \(\frac{1}{2}\),因此對每個 \(\mathcal{A}\),對應的 \(E_{OTS}\) 的期望都相等

Q9-Q12

For Questions 9-12, consider the bin model introduced in class. Consider a bin with infinitely many marbles, and let \(\mu\) be the fraction of orange marbles in the bin, and \(\nu\) is the fraction of orange marbles in a sample of 10 marbles.

§ Q9 題目


If \(\mu = 0.5\), what is the probability of \(\nu=\mu\)? Please choose the closest number.

?? \(0.12\)

?? \(0.90\)

?? \(0.56\)

?? \(0.24\)

?? \(0.39\)

Q9 決議

\(\mu =\) fraction of orange marbles in bin
\(\nu =\) fraction of orange marbles in sample

\(n_{sample} = 10\)

題干中沒有提到霍夫丁不等式的題目,都用普通的排列組合方法去求準確的答案,

題目可以理解為:在橙球概率為 \(0.5\) 的罐子中隨機取出 \(10\) 個小球,其中有 \(5\) 個小球為橙球的概率是多少?

\[\begin{equation} \begin{aligned} P_{Q_9} &= (10\ 選\ 5) \times (5\ 個橙球\ 5\ 個綠球的概率)\\ &= \dbinom{10}{5} \times (0.5)^{5} \times (1-0.5)^{10-5}\\ &= 0.24 \end{aligned} \end{equation} \]

Q9 知識點

排列組合基礎知識

放一張之前復習排列組合的思維導圖,參考了 知乎 | 如何通俗的解釋排列公式和組合公式的含義?- 浣熊老師的回答[2]

image-mindmap-排列組合基礎知識


§ Q10 題目


If \(\mu = 0.9\), what is the probability of \(\nu=\mu\)? Please choose the closest number.

?? \(0.39\)

?? \(0.90\)

?? \(0.12\)

?? \(0.56\)

?? \(0.24\)

Q10 決議

解法同上題,只是換了個資料,

\[\begin{equation} \begin{aligned} P_{Q_{10}} &= (10\ 選\ 9) \times (9\ 個橙球\ 1\ 個綠球的概率)\\ &= \dbinom{10}{9} \times (0.9)^9 \times (1-0.9)^{10-9}\\ &= 0.39 \end{aligned} \end{equation} \]

§ Q11 題目


If \(\mu = 0.9\), what is the actual probability of \(\nu \le 0.1\)?

?? \(9.1 \times 10^{-9}\)

?? \(0.1 \times 10^{-9}\)

?? \(4.8 \times 10^{-9}\)

?? \(1.0 \times 10^{-9}\)

?? \(8.5 \times 10^{-9}\)

Q11 決議

\(\nu \le 0.1\) 有兩種情況:\(10\) 個球里只有 \(0\) 個或 \(1\) 個橙球,兩種情況的概率相加即可,

\[\begin{equation} \begin{aligned} P_{Q_{11}} &= {10\ 個球里沒有橙球的概率} + {10\ 個球里只有\ 1\ 個橙球的概率}\\ &= {(10\ 選\ 0) \times (0\ 個橙球\ 10\ 個綠球的概率)} + {(10\ 選\ 1) \times (1\ 個橙球\ 9\ 個綠球的概率)}\\ &= {\dbinom{10}{0} \times (1-0.9)^{10-0}} + {\dbinom{10}{1} \times (0.9)^1 \times (1-0.9)^{10-1}}\\ &= 9.1 \times 10^{-9} \end{aligned} \end{equation} \]

§ Q12 題目


If \(\mu = 0.9\), what is the bound given by Hoeffding's Inequality for the probability of \(\nu \le 0.1\)?

?? \(5.52 \times 10^{-6}\)

?? \(5.52 \times 10^{-10}\)

?? \(5.52 \times 10^{-4}\)

?? \(5.52 \times 10^{-12}\)

?? \(5.52 \times 10^{-8}\)

Q12 決議

本題要計算的是代入霍夫丁不等式后得到的邊界值,而不是計算實際的概率(如上題),

霍夫丁不等式:\(P[|\nu - \mu| > \epsilon] \le 2\exp(-2{\epsilon^2}N)\).

\(\exp(n)\)\(e^n\).

已知 \(\mu = 0.9\),要使 \(\nu \le 0.1\),需有 \(\epsilon \ge 0.8\).

等號右側式子隨 \(\epsilon\) 增加而減小,故在 \(\epsilon\) 取最小值 \(0.8\) 時得到式子的上界,代入 \(N = 10\),得到 \(2\exp(-2{\epsilon^2}N) = 5.52 \times 10^{-6}\)

Q12 知識點

Hoeffding’s Inequality: Machine Learning Foundations - Slide 04 - P11

Slide 04 - P13 的課后題,第 ③ ④ 選項知道分別是怎么得出的,就能舉一反三求得 Q9-Q12.


Q13-Q14

Questions 13--14 illustrate what happens with multiple bins using dice to indicate 6 bins. Please note that the dice is not meant to be thrown for random experiments in this problem. They are just used to bind the six faces together. The probability below only refers to drawing from the bag.

Consider four kinds of dice in a bag, with the same (super large) quantity for each kind.

A: all even numbers are colored orange, all odd numbers are colored green

B: all even numbers are colored green, all odd numbers are colored orange

C: all small (1~-3) are colored orange, all large numbers (4-~6) are colored green

D: all small (1-~3) are colored green, all large numbers (4~-6) are colored orange

§ Q13 題目


If we pick \(5\) dice from the bag, what is the probability that we get \(5\) orange 1's?

?? \(\frac{1}{256}\)

?? \(\frac{8}{256}\)

?? \(\frac{31}{256}\)

?? \(\frac{46}{256}\)

?? none of the other choices

Q13 決議

注意理解題目 They are just used to bind the six faces together. 取出的每一個骰子,都有六面(六個數字),只是骰子每一面涂顏色的方法不同而已,不要理解為取一個骰子只能有一個數字,

骰子種類 抽到每種骰子的概率 骰子上的 1 被涂成橙色?
Type A \(P_A = \frac{1}{4}\) ??
Type B \(P_B = \frac{1}{4}\) ??
Type C \(P_C = \frac{1}{4}\) ??
Type D \(P_D = \frac{1}{4}\) ??

\(P_{Q_{13}} = \left(P_B+P_C\right)^{5} = \left(\frac{1}{4} + \frac{1}{4}\right)^{5} = \frac{1}{32} = \frac{8}{256}\)

Q13 知識點

dice: dice - volabulary.com

The noun dice is the plural form of the singular die. Although many people use the word dice when they're talking about a single die, it's actually only correct to call two or more of the dotted cubes dice. You can also use the word as a verb to mean "chop into tiny pieces or cubes." You might, for example, read a recipe instruction that says: "Dice three tomatoes."

英語中,dice 是復數形式,指兩個或以上的骰子;它的單數形式是 die. 所以題干中是 5 dice 而不是 5 dices.

但包括在英語母語人群中,也有很多誤用成 a dice 的情況,


§ Q14 題目


If we pick \(5\) dice from the bag, what is the probability that we get "some number" that is purely orange?

?? \(\frac{1}{256}\)

?? \(\frac{8}{256}\)

?? \(\frac{31}{256}\)

?? \(\frac{46}{256}\)

?? none of the other choices

Q14 決議

骰子種類 抽到每種骰子的概率 1 2 3 4 5 6
Type A \(P_A = \frac{1}{4}\) green orange green orange green orange
Type B \(P_B = \frac{1}{4}\) orange green orange green orange green
Type C \(P_C = \frac{1}{4}\) orange orange orange green green green
Type D \(P_D = \frac{1}{4}\) green green green orange orange orange

為使某個數字全為橙色:

數字 組合(包括僅有組合中單種骰子的情況,如:全 B 時數字 1 也為全 orange)
1 BC
2 AC
3 BC
4 AD
5 BD
6 AD

取他們的并集,得到可能的組合有:AC, AD, BC, BD

其中,AC 組合與 AD 組合的交集是全 A,故全 A 重復計算了一次,其他項同理,要從組合概率和中減去重復的部分:

\[\begin{equation} \begin{aligned} P_{Q_{14}} &= P_\text{AC 組合} + P_\text{AD 組合} + P_\text{BC 組合} + P_\text{BD 組合} - P_\text{全 A} - P_\text{全 B} - P_\text{全 C} - P_\text{全 D}\\ &= \frac{4 \times (\text{5 個骰子,每個骰子有 2 種取法}) - 4 \times (\text{5 個骰子,每個骰子有 1 種取法})}{\text{5 個骰子,每個骰子有 4 種取法}}\\ &= \frac{4\times2^5 - 4\times1^5}{4^5}\\ &= \frac{31}{256} \end{aligned} \end{equation} \]


Q15-Q17

見檔案 my_hw1_Q15~Q17.html


Q18-Q19

見檔案 my_hw1_Q18~Q20.html


參考


  1. 知乎專欄 | 主動學習(Active Learning)-少標簽資料學習 ??

  2. 知乎 | 如何通俗的解釋排列公式和組合公式的含義?- 浣熊老師的回答 ??

轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/27896.html

標籤:其他

上一篇:北斗校時服務器(GPS時鐘服務器)在電力調度系統應用

下一篇:Flutter中如何使用WillPopScope

標籤雲
其他(157675) Python(38076) JavaScript(25376) Java(17977) C(15215) 區塊鏈(8255) C#(7972) AI(7469) 爪哇(7425) MySQL(7132) html(6777) 基礎類(6313) sql(6102) 熊猫(6058) PHP(5869) 数组(5741) R(5409) Linux(5327) 反应(5209) 腳本語言(PerlPython)(5129) 非技術區(4971) Android(4554) 数据框(4311) css(4259) 节点.js(4032) C語言(3288) json(3245) 列表(3129) 扑(3119) C++語言(3117) 安卓(2998) 打字稿(2995) VBA(2789) Java相關(2746) 疑難問題(2699) 细绳(2522) 單片機工控(2479) iOS(2429) ASP.NET(2402) MongoDB(2323) 麻木的(2285) 正则表达式(2254) 字典(2211) 循环(2198) 迅速(2185) 擅长(2169) 镖(2155) 功能(1967) .NET技术(1958) Web開發(1951) python-3.x(1918) HtmlCss(1915) 弹簧靴(1913) C++(1909) xml(1889) PostgreSQL(1872) .NETCore(1853) 谷歌表格(1846) Unity3D(1843) for循环(1842)

熱門瀏覽
  • 網閘典型架構簡述

    網閘架構一般分為兩種:三主機的三系統架構網閘和雙主機的2+1架構網閘。 三主機架構分別為內端機、外端機和仲裁機。三機無論從軟體和硬體上均各自獨立。首先從硬體上來看,三機都用各自獨立的主板、記憶體及存盤設備。從軟體上來看,三機有各自獨立的作業系統。這樣能達到完全的三機獨立。對于“2+1”系統,“2”分為 ......

    uj5u.com 2020-09-10 02:00:44 more
  • 如何從xshell上傳檔案到centos linux虛擬機里

    如何從xshell上傳檔案到centos linux虛擬機里及:虛擬機CentOs下執行 yum -y install lrzsz命令,出現錯誤:鏡像無法找到軟體包 前言 一、安裝lrzsz步驟 二、上傳檔案 三、遇到的問題及解決方案 總結 前言 提示:其實很簡單,往虛擬機上安裝一個上傳檔案的工具 ......

    uj5u.com 2020-09-10 02:00:47 more
  • 一、SQLMAP入門

    一、SQLMAP入門 1、判斷是否存在注入 sqlmap.py -u 網址/id=1 id=1不可缺少。當注入點后面的引數大于兩個時。需要加雙引號, sqlmap.py -u "網址/id=1&uid=1" 2、判斷文本中的請求是否存在注入 從文本中加載http請求,SQLMAP可以從一個文本檔案中 ......

    uj5u.com 2020-09-10 02:00:50 more
  • Metasploit 簡單使用教程

    metasploit 簡單使用教程 浩先生, 2020-08-28 16:18:25 分類專欄: kail 網路安全 linux 文章標簽: linux資訊安全 編輯 著作權 metasploit 使用教程 前言 一、Metasploit是什么? 二、準備作業 三、具體步驟 前言 Msfconsole ......

    uj5u.com 2020-09-10 02:00:53 more
  • 游戲逆向之驅動層與用戶層通訊

    驅動層代碼: #pragma once #include <ntifs.h> #define add_code CTL_CODE(FILE_DEVICE_UNKNOWN,0x800,METHOD_BUFFERED,FILE_ANY_ACCESS) /* 更多游戲逆向視頻www.yxfzedu.com ......

    uj5u.com 2020-09-10 02:00:56 more
  • 北斗電力時鐘(北斗授時服務器)讓網路資料更精準

    北斗電力時鐘(北斗授時服務器)讓網路資料更精準 北斗電力時鐘(北斗授時服務器)讓網路資料更精準 京準電子科技官微——ahjzsz 近幾年,資訊技術的得了快速發展,互聯網在逐漸普及,其在人們生活和生產中都得到了廣泛應用,并且取得了不錯的應用效果。計算機網路資訊在電力系統中的應用,一方面使電力系統的運行 ......

    uj5u.com 2020-09-10 02:01:03 more
  • 【CTF】CTFHub 技能樹 彩蛋 writeup

    ?碎碎念 CTFHub:https://www.ctfhub.com/ 筆者入門CTF時時剛開始刷的是bugku的舊平臺,后來才有了CTFHub。 感覺不論是網頁UI設計,還是題目質量,賽事跟蹤,工具軟體都做得很不錯。 而且因為獨到的金幣制度的確讓人有一種想去刷題賺金幣的感覺。 個人還是非常喜歡這個 ......

    uj5u.com 2020-09-10 02:04:05 more
  • 02windows基礎操作

    我學到了一下幾點 Windows系統目錄結構與滲透的作用 常見Windows的服務詳解 Windows埠詳解 常用的Windows注冊表詳解 hacker DOS命令詳解(net user / type /md /rd/ dir /cd /net use copy、批處理 等) 利用dos命令制作 ......

    uj5u.com 2020-09-10 02:04:18 more
  • 03.Linux基礎操作

    我學到了以下幾點 01Linux系統介紹02系統安裝,密碼啊破解03Linux常用命令04LAMP 01LINUX windows: win03 8 12 16 19 配置不繁瑣 Linux:redhat,centos(紅帽社區版),Ubuntu server,suse unix:金融機構,證券,銀 ......

    uj5u.com 2020-09-10 02:04:30 more
  • 05HTML

    01HTML介紹 02頭部標簽講解03基礎標簽講解04表單標簽講解 HTML前段語言 js1.了解代碼2.根據代碼 懂得挖掘漏洞 (POST注入/XSS漏洞上傳)3.黑帽seo 白帽seo 客戶網站被黑帽植入劫持代碼如何處理4.熟悉html表單 <html><head><title>TDK標題,描述 ......

    uj5u.com 2020-09-10 02:04:36 more
最新发布
  • 2023年最新微信小程式抓包教程

    01 開門見山 隔一個月發一篇文章,不過分。 首先回顧一下《微信系結手機號資料庫被脫庫事件》,我也是第一時間得知了這個訊息,然后跟蹤了整件事情的經過。下面是這起事件的相關截圖以及近日流出的一萬條資料樣本: 個人認為這件事也沒什么,還不如關注一下之前45億快遞資料查詢渠道疑似在近日復活的訊息。 訊息是 ......

    uj5u.com 2023-04-20 08:48:24 more
  • web3 產品介紹:metamask 錢包 使用最多的瀏覽器插件錢包

    Metamask錢包是一種基于區塊鏈技術的數字貨幣錢包,它允許用戶在安全、便捷的環境下管理自己的加密資產。Metamask錢包是以太坊生態系統中最流行的錢包之一,它具有易于使用、安全性高和功能強大等優點。 本文將詳細介紹Metamask錢包的功能和使用方法。 一、 Metamask錢包的功能 數字資 ......

    uj5u.com 2023-04-20 08:47:46 more
  • vulnhub_Earth

    前言 靶機地址->>>vulnhub_Earth 攻擊機ip:192.168.20.121 靶機ip:192.168.20.122 參考文章 https://www.cnblogs.com/Jing-X/archive/2022/04/03/16097695.html https://www.cnb ......

    uj5u.com 2023-04-20 07:46:20 more
  • 從4k到42k,軟體測驗工程師的漲薪史,給我看哭了

    清明節一過,盲猜大家已經無心上班,在數著日子準備過五一,但一想到銀行卡里的余額……瞬間心情就不美麗了。最近,2023年高校畢業生就業調查顯示,本科畢業月平均起薪為5825元。調查一出,便有很多同學表示自己又被平均了。看著這一資料,不免讓人想到前不久中國青年報的一項調查:近六成大學生認為畢業10年內會 ......

    uj5u.com 2023-04-20 07:44:00 more
  • 最新版本 Stable Diffusion 開源 AI 繪畫工具之中文自動提詞篇

    🎈 標簽生成器 由于輸入正向提示詞 prompt 和反向提示詞 negative prompt 都是使用英文,所以對學習母語的我們非常不友好 使用網址:https://tinygeeker.github.io/p/ai-prompt-generator 這個網址是為了讓大家在使用 AI 繪畫的時候 ......

    uj5u.com 2023-04-20 07:43:36 more
  • 漫談前端自動化測驗演進之路及測驗工具分析

    隨著前端技術的不斷發展和應用程式的日益復雜,前端自動化測驗也在不斷演進。隨著 Web 應用程式變得越來越復雜,自動化測驗的需求也越來越高。如今,自動化測驗已經成為 Web 應用程式開發程序中不可或缺的一部分,它們可以幫助開發人員更快地發現和修復錯誤,提高應用程式的性能和可靠性。 ......

    uj5u.com 2023-04-20 07:43:16 more
  • CANN開發實踐:4個DVPP記憶體問題的典型案例解讀

    摘要:由于DVPP媒體資料處理功能對存放輸入、輸出資料的記憶體有更高的要求(例如,記憶體首地址128位元組對齊),因此需呼叫專用的記憶體申請介面,那么本期就分享幾個關于DVPP記憶體問題的典型案例,并給出原因分析及解決方法。 本文分享自華為云社區《FAQ_DVPP記憶體問題案例》,作者:昇騰CANN。 DVPP ......

    uj5u.com 2023-04-20 07:43:03 more
  • msf學習

    msf學習 以kali自帶的msf為例 一、msf核心模塊與功能 msf模塊都放在/usr/share/metasploit-framework/modules目錄下 1、auxiliary 輔助模塊,輔助滲透(埠掃描、登錄密碼爆破、漏洞驗證等) 2、encoders 編碼器模塊,主要包含各種編碼 ......

    uj5u.com 2023-04-20 07:42:59 more
  • Halcon軟體安裝與界面簡介

    1. 下載Halcon17版本到到本地 2. 雙擊安裝包后 3. 步驟如下 1.2 Halcon軟體安裝 界面分為四大塊 1. Halcon的五個助手 1) 影像采集助手:與相機連接,設定相機引數,采集影像 2) 標定助手:九點標定或是其它的標定,生成標定檔案及內參外參,可以將像素單位轉換為長度單位 ......

    uj5u.com 2023-04-20 07:42:17 more
  • 在MacOS下使用Unity3D開發游戲

    第一次發博客,先發一下我的游戲開發環境吧。 去年2月份買了一臺MacBookPro2021 M1pro(以下簡稱mbp),這一年來一直在用mbp開發游戲。我大致分享一下我的開發工具以及使用體驗。 1、Unity 官網鏈接: https://unity.cn/releases 我一般使用的Apple ......

    uj5u.com 2023-04-20 07:40:19 more