原创 數據科學隨筆

淺談全概率公式和貝葉斯公式 https://blog.csdn.net/u010164190/article/details/81043856 https://www.cnblogs.com/yemanxiaozu/p/7680761.h

原创 迴歸模型評估

 https://blog.csdn.net/qq_37279279/article/details/81041470

原创 常用異常值檢測方法

https://baijiahao.baidu.com/s?id=1638194148356686894&wfr=spider&for=pc 方法 1—均方差 在統計學中,如果一個數據分佈近似正態,那麼大約 68% 的數據值會在均值的一個

原创 pandas進行pm2.5可視化的一個小案例

# coding=utf-8 import pandas as pd from matplotlib import pyplot as plt file_path = "./PM2.5/BeijingPM20100101_201512

原创 One Informe

Hello,everyone.may i have your attention ,please? I'm the student union representative.As the activity cycle is around

原创 字符串與日期處理-2

#include<cstdio> #include<cstring> #include<iostream> #include<algorithm> #include<cmath> #include<string> #include<cc

原创 使用sort排序注意事項

//按照對3求餘的餘數的從小到大排序,餘數相等的按值從小到大排序 bool cmp(int a,int b){ if(a%3!=b%3) return a%3<b%3; else return a<b; } //同一個題中

原创 C用海倫公式計算三角形面積

海倫公式 :     1、p=(a+b+c)/2  2、面積=對p*(p-a)*(p-b)*(p-c)進行開根號 #include<stdio.h> #include<math.h> int main(){ double a

原创 one world one dream and one challenge

how do u think we shoud strengthen ourselves to confront world-changing? Frankly speaking,i think that world is changin

原创 Outsmart, Outlast

Outsmart, Outlast By Darren Tay   1 "Hey, loser! How do you like your new school uniform? I think it looks great on you

原创 mycli(windows下的安裝與使用)

mycli簡介: MySQL基於python的一個工具:mycli mycli是MySQL的 具有自動補全和語法高亮功能的 命令行界面。 安裝mycli 前提:python環境的成功安裝 (安裝過python的就可以直接進行以下操作) 附

原创 實驗2-4-5 簡單實現x的n次方 (10 分)

實驗2-4-5 簡單實現x的n次方 (10 分) 本題要求實現一個計算x ​n ​​ (n≥0)的函數。 函數接口定義: double mypow( double x, int n ); 函數mypow應返回x的n次冪的值。題目保證

原创 大數據應用期末複習

  第二週第二次作業   1、HDFS有哪些侷限性? 不適合低延遲的數據訪問,無法高效存儲大量小文件,不支持多用戶隨機寫入及任意修改文件。 命名空間的限制:分佈式文件系統只有一個名稱節點且保存在內存中,因此名稱節點能夠容納對象的個數受到內

原创 實驗5-7 使用函數求1到10的階乘和 (10 分)

實驗5-7 使用函數求1到10的階乘和 (10 分) 本題要求實現一個計算非負整數階乘的簡單函數,使得可以利用該函數,計算1!+2!+⋯+10!的值。 函數接口定義: double fact( int n ); 其中n是用戶傳入的參數,其

原创 cstdio/stdio.h 的區別/ gets(s+1)的注意事項

#include<stdio.h> //#include<cstdio> using namespace std; const int maxn=10010; const int N=10; //如果是.h 會進行四捨五入 //下面那