原创 LeetCode:M-36. Valid Sudoku
Link Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially
原创 Python時間序列LSTM預測系列教程(6)-單變量
單變量LSTM預測模型(6) 教程原文連接 前置教程: Python時間序列LSTM預測系列教程(1)-單變量 Python時間序列LSTM預測系列教程(2)-單變量 Python時間序列LSTM預測系列教程(3)-
原创 Python時間序列LSTM預測系列教程(5)-單變量
單變量LSTM預測模型(5) 教程原文連接 前置教程: Python時間序列LSTM預測系列教程(1)-單變量 Python時間序列LSTM預測系列教程(2)-單變量 Python時間序列LSTM預測系列教程(3)
原创 LeetCode:M-19. Remove Nth Node From End of List
LeetCode鏈接 Given a linked list, remove the nth node from the end of list and return its head. For example, Given
原创 Python時間序列LSTM預測系列教程(7)-多變量
多變量LSTM預測模型(1) 教程原文鏈接 空氣污染預測案例 數據格式 No year month day hour pm2.5 DEWP TEMP PRES cbwd Iws Is Ir 1 2010 1 1 0 NA
原创 Python時間序列LSTM預測系列教程(4)-單變量
單變量LSTM預測模型(4) 教程原文連接 完整的LSTM案例 本案例將結合Python時間序列LSTM預測系列教程(2)~(3)中的案例 步驟概覽 1、加載csv文件 2、數據格式轉換 1)轉換成監督數據 2)將數據
原创 Python時間序列LSTM預測系列教程(3)-單變量
單變量LSTM預測模型(3) 教程原文連接 LSTM 建模 LSTM基礎 Keras 中 LSTM 的層維護一個 batch 的狀態 一個 batch = 來自訓練數據的確定個數的 rows , 他確定了在更新整個網絡權
原创 LeetCode:M-142. Linked List Cycle II
LeetCode鏈接 Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Note: Do
原创 LeetCode:M-236. Lowest Common Ancestor of a Binary Tree
LeetCode鏈接 Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According to
原创 LeetCode:M-5. Longest Palindromic Substring
LeetCode鏈接 Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of
原创 Python時間序列LSTM預測系列教程(8)-多變量
多變量LSTM預測模型(2) 教程原文鏈接 前置教程: Python時間序列LSTM預測系列教程(7)-多變量 LSTM數據預處理 1、轉換成有監督數據 用歷史的污染數據、天氣數據預測當前時刻的污染值 2、數據歸一化 # codi
原创 LeetCode:M-560. Subarray Sum Equals K
LeetCode鏈接 Given an array of integers and an integer k, you need to find the total number of continuous subarrays wh
原创 Python時間序列LSTM預測系列教程(9)-多變量
多變量LSTM預測模型(3) 教程原文鏈接 前置教程: Python時間序列LSTM預測系列教程(7)-多變量 Python時間序列LSTM預測系列教程(8)-多變量 定義&訓練模型 1、數據劃分成訓練和測試數據 本教程用第一年
原创 Python時間序列LSTM預測系列教程(2)-單變量
單變量LSTM預測模型(2) 教程原文連接 數據準備 3步走: 1、將時間序列轉換成監督學習問題 2、將時間序列進行處理,使之穩定 3、將觀測值進行縮放 1、時間序列轉監督學習數據 # coding=utf-8
原创 Python時間序列LSTM預測系列教程(10)-多步預測
Multi-Step LSTM預測(1) 教程原文鏈接 關聯教程: Python時間序列LSTM預測系列教程(10)-多步預測 Python時間序列LSTM預測系列教程(11)-多步預測 數據集 Python時間序列LS