原创 Introduction to Advanced Machine Learning, 第一週, week01_pa(hse-aml/intro-to-dl,簡單註釋,答案,附圖)

這是俄羅斯高等經濟學院的系列課程第一門,Introduction to Advanced Machine Learning,第一週編程作業。 這個作業一共六個任務,難易程度:容易。 1. 計算probability 2. 計算los

原创 Introduction to Advanced Machine Learning, 第五週,RNN-task(hse-aml/intro-to-dl,簡單註釋,答案,附圖)

這是俄羅斯高等經濟學院的系列課程第一門,Introduction to Advanced Machine Learning,第五週第一個編程作業,目的是通過訓練一個language model,用來生成名字。 這個作業只有一個任務,難易

原创 Python筆記: class,object,method

class,object,method這些概念對於小白還是有點抽象,本篇以實例爲主,第二個例子和代碼都來自於MIT的公開課。《Introduction to Computer Science and Programming in Pyth

原创 Python筆記:string,tuple,list,dictionary的區別(之二,高級用法與類型轉換)

上一篇《Python筆記:string,tuple,list,dictionary的區別(之一,基本用法與區別)》講述了這四種類型的基本用法與區別,本篇講述的是高級用法與類型轉換。 tuple的用法 平時寫代碼tuple用的不多。具體的用

原创 Introduction to Advanced Machine Learning, 第四周,Autoencoders-task(hse-aml/intro-to-dl,簡單註釋,答案,附圖)

這是俄羅斯高等經濟學院的系列課程第一門,Introduction to Advanced Machine Learning,第四周第一個編程作業。 這個作業一共四個任務,難易程度:容易。 0. 使用dense做autoencode

原创 in the end,at the end, at an end的用法區別

in the end,最終,after all,at last, finally, ultimately at the end,末端; 盡頭,extreme limit at an end,結束,終結,finished in the

原创 Python筆記:string,tuple,list,dictionary的區別(之一,基本用法與區別)

Python的數據結構中,string,tuple,list,dictionary,互相之間既有相似,又有區別,容易混淆。筆記一共兩篇,本篇主要記錄各自的基本用法與區別,下一篇《Python筆記:string,tuple,list,dic

原创 Matlab中如何清除persistent 變量

MATLAB中persistent變量相當於C中局部靜態變量,只能在所定義的函數內部訪問到,並且一旦定義一直存在。這樣會有一個問題,就是下次繼續訪問這個函數的時候,裏面的變量是被初始化了的,而且保留的是上一次寫入的結果。會造成諸多不便。有