原创 邏輯迴歸模型 Logistic Regression 詳細推導 (含 Numpy 與PyTorch 實現)

邏輯迴歸模型 Logistic Regression 詳細推導 (含 Numpy 與PyTorch 實現) 文章目錄邏輯迴歸模型 Logistic Regression 詳細推導 (含 Numpy 與PyTorch 實現)內容概括

原创 1382. Balance a Binary Search Tree**

1382. Balance a Binary Search Tree** https://leetcode.com/problems/balance-a-binary-search-tree/ 題目描述 Given a binar

原创 1379. Find a Corresponding Node of a Binary Tree in a Clone of That Tree**

1379. Find a Corresponding Node of a Binary Tree in a Clone of That Tree** https://leetcode.com/problems/find-a-cor

原创 1282. Group the People Given the Group Size They Belong To**

1282. Group the People Given the Group Size They Belong To** https://leetcode.com/problems/group-the-people-given-t

原创 1038. Binary Search Tree to Greater Sum Tree**

1038. Binary Search Tree to Greater Sum Tree** https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree

原创 TensorFlow feature_column 介紹與體驗

TensorFlow feature_column 介紹與體驗 Tensorflow 提供了名爲 tf.feature_column 的強大工具用於特徵處理, 後續可以很方便的用於基於 Estimator 的模型, 這一點在官方提

原创 PySpark SQL 加載使用 tab 鍵分隔的文件

PySpark SQL 加載使用 tab 鍵分隔的文件 數據文件準備 爲了方便後面的實驗, 先生成數據文件 data.txt, Python 代碼如下: data = [ 'x1\t1\t2', 'x2\t2\t2

原创 Mac 下 TensorFlow C++ API 的編譯與測試

Mac 下 TensorFlow C++ API 的編譯與測試 文章目錄Mac 下 TensorFlow C++ API 的編譯與測試準備工作開始編譯測試用例參考資料 在前篇博客介紹了從源碼編譯 TensorFlow 的 .whl

原创 FM 算法介紹以及 libFM 源碼簡析

FM 算法介紹以及 libFM 源碼簡析 libFM 的大名如雷貫耳, 然而一直沒有機會看看它的具體實現; 週末查看了一下 FM 算法的原理以及源碼實現, 現在記錄下心得. 另外發現大佬很多, 像博主 zhiyong_will 寫

原创 PyTorch 中的 tensordot 以及 einsum 函數介紹

PyTorch 中的 tensordot 以及 einsum 函數介紹 文章目錄PyTorch 中的 tensordot 以及 einsum 函數介紹前言從例子出發靈魂畫手參考資料 前言 最近發現這兩個函數用得越來越頻繁, 比如在

原创 Deep Cross Network (深度交叉網絡, DCN) 介紹與代碼分析

Deep Cross Network (深度交叉網絡, DCN) 介紹與代碼分析 文章目錄Deep Cross Network (深度交叉網絡, DCN) 介紹與代碼分析文章信息主要內容Deep Cross Network特徵輸入

原创 944. Delete Columns to Make Sorted*

944. Delete Columns to Make Sorted* https://leetcode.com/problems/delete-columns-to-make-sorted/ 題目描述 We are given

原创 1403. Minimum Subsequence in Non-Increasing Order*

1403. Minimum Subsequence in Non-Increasing Order* https://leetcode.com/problems/minimum-subsequence-in-non-increas

原创 邏輯迴歸模型 Logistic Regression

邏輯迴歸模型 Logistic Regression 文章目錄邏輯迴歸模型 Logistic Regression內容概括LR 模型介紹符號說明Sigmoid 函數LR 模型LR 模型的優化目標似然函數與損失函數模型參數更新 --

原创 1338. Reduce Array Size to The Half**

1338. Reduce Array Size to The Half** https://leetcode.com/problems/reduce-array-size-to-the-half/ 題目描述 Given an ar