一箩退、為什么要做A/B Testing?A/B Testing用于產(chǎn)品方案的對比,在快速產(chǎn)品迭代的場景下會出現(xiàn)這個(gè)需求佳谦,使產(chǎn)品不斷的演化戴涝、升級。為了更好的使用A/B Testi...
1 指數(shù)平滑法 移動平均模型在解決時(shí)間序列問題上簡單有效,但它們的計(jì)算比較難咪笑,因?yàn)椴荒芡ㄟ^之前的計(jì)算結(jié)果推算出加權(quán)移動平均值可帽。此外,移動平均法不能很好的處理數(shù)據(jù)集邊緣的數(shù)據(jù)變...
1.Read data and get unique value of a column pd.get_dummies() 可以把一列蒲肋,按這一列當(dāng)中的值蘑拯,轉(zhuǎn)化為好多列的二進(jìn)制...
獲取data data參見這里 RMSE & MSE的對比 例子:我們有一個(gè)三個(gè)臥室的房子要租出去,判斷租金應(yīng)該定多少兜粘? 方法:在網(wǎng)上找和我們的房子類似的房子申窘,看這些房子的平...
Pisa Tower Example 增加一列截距項(xiàng) 計(jì)算residual value 3個(gè)summary of squares TSS=RSS+SSE SSE is the...
計(jì)算判斷的accuracy 計(jì)算sensitivity = true positives / (tp + fn) 計(jì)算specificity = true negatives...
1.Plot vectors 采用如下的方法繪圖 舉例說明: x: 是所有需要繪制的向量起點(diǎn)的橫坐標(biāo),依序排列 y: 是所有需要繪制的向量起點(diǎn)的縱坐標(biāo) U:每個(gè)向量橫跨的長度...
Read several csv into a dictionary Good resource for encodingreferenceRead files with o...
Read csv files of airline data and check datatype Build a basemap constructor llcrnrlat...
Add legend Using ax.plot and turndown tick_params Change color of linesSet color like: ...
1.pd.to_datetime doc 2.DataViz Intro plt.plotThe default plot for plt.plot Add x_value ...
1. Select Rows 2. Set index loc(index_names) 3.Apply Functions Apply functions. 4.Apply...
1. Series documentstackflow運(yùn)用場景:假設(shè)有一個(gè)電影名稱的list, 一個(gè)電影分?jǐn)?shù)的list孔轴,兩邊的index是對齊的剃法。給定一個(gè)電影名,如何迅速知道...
Pandas Basics Get column names and find the column name ends with certain words. Pandas...
1. List 通過sum(list)來對list進(jìn)行求和路鹰,不過看情況需要先將元素轉(zhuǎn)化為數(shù)字贷洲。 2. Numpy 利用Numpy讀取csv到 numpy_ndarray的格式...
跟著Data quest學(xué)Python,記錄一些知識點(diǎn)晋柱。 1. csv.reader() 2. regex 推薦的相關(guān)網(wǎng)站:https://regexone.com/http...
根據(jù)Udacity Data Vis & D3的課程記錄的一些入門練習(xí)优构。d3官方API參考鏈接3.0版本 1- Working in the JS console 從chro...