潇洒蜜蜂

文章
9
资源
0
加入时间
3年0月8天

socket 函数 setsockopt()用法

资料来源: 微软MSDN在线帮助setsockopt(s, level, optname, optval, optlen) 函数https://msdn.microsoft.com/library/windows/desktop/ms740476.aspxlevel = SOL_SOCKEToptname编码TypeDescriptionSO_BROAD...

The Suspects POJ - 1611(并查集)

题目链接VjudjeSevere acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize transmission to others, the best stra...

OpenCV Jpeg编解码

源码来自:https://code.google.com/p/opencvjp-sample/source/browse/trunk/cpp/encode_decode_test.cpp?r=63此文主要miao

python分层抽样案例2分层抽样实现2

import pandas as pdimport numpy as npimport randomdf_credit = pd.read_csv("./train.csv")print(df_credit["Credit Default"].value_counts())n_sample=1000print(pd.__version__)aa=df_credit.groupby('Credit Default').sample(n=n_sample,re