99999久久久久久亚洲,欧美人与禽猛交狂配,高清日韩av在线影院,一个人在线高清免费观看,啦啦啦在线视频免费观看www

熱線電話:13121318867

登錄
首頁大數(shù)據(jù)時代python數(shù)據(jù)挖掘的基本流程有哪些?
python數(shù)據(jù)挖掘的基本流程有哪些?
2020-07-14
收藏

使用python對數(shù)據(jù)進行處理時,數(shù)據(jù)挖掘是極為重要的方式和階段,目的是搜集大量數(shù)據(jù),并從中通過算法搜索出隱藏在數(shù)據(jù)中的那些隱含的、先前未知的,并有具有潛在使用價值的信息。那么python數(shù)據(jù)挖掘的具體流程是怎樣的,下面就跟小編一起來看吧。

1.定義挖掘目標

這一步驟主要是分析要python數(shù)據(jù)挖掘的目標,明確系統(tǒng)完成后想要達的效果,定義問題的相關(guān)范圍。

首先結(jié)合具體業(yè)務(wù),分析問題,之后明確用戶需求,最后確定挖掘的方法和計劃。

2.數(shù)據(jù)取樣

在業(yè)務(wù)數(shù)據(jù)集中抽取和挖掘目標相關(guān)的數(shù)據(jù)樣本子集。

抽取數(shù)據(jù)的標準,一是相關(guān)性,與挖掘目標密切相關(guān);二是可靠性,質(zhì)量要有所保證。三是有效性,可以先對數(shù)據(jù)進行篩選。

衡量樣本數(shù)據(jù)質(zhì)量的標準如下:

1)資料完整無缺,各類指標項齊全。

2)數(shù)據(jù)準確無誤,反映的都是正常(而不是異常)狀態(tài)下的水平。

3)數(shù)據(jù)集合部分能顯現(xiàn)出規(guī)律性。

4)數(shù)據(jù)集合要能滿足用戶的需求。

3.數(shù)據(jù)探索

檢驗樣本是否達到我們原來設(shè)想的要求,對數(shù)據(jù)進行探索,審核和必要的加工處理。

這一步驟是是為了把數(shù)據(jù)取樣得到的數(shù)據(jù)進行檢測的操作,從而保證樣本數(shù)據(jù)的質(zhì)量,從而為保證模型質(zhì)量打下基礎(chǔ)。

4.數(shù)據(jù)預(yù)處理

數(shù)據(jù)預(yù)處理是指在主要的處理以前對數(shù)據(jù)進行的一些處理操作。

采樣數(shù)據(jù)中常常包含許多含有噪聲、不完整,甚至不一致的數(shù)據(jù),低質(zhì)量的數(shù)據(jù)將會導致低質(zhì)量的挖掘結(jié)果,因此對數(shù)據(jù)挖掘所涉及的數(shù)據(jù)對象必須進行預(yù)處理。

數(shù)據(jù)預(yù)處理主要包括:數(shù)據(jù)篩選、數(shù)據(jù)變量轉(zhuǎn)換、缺失值處理、壞數(shù)據(jù)處理、數(shù)據(jù)標準化、主成分分析、屬性選擇、數(shù)據(jù)規(guī)約等。

5.挖掘建模

這一步驟是python數(shù)據(jù)挖掘工作的核心環(huán)節(jié)。我們需要具體考慮,要用到那些算法進行模型構(gòu)建。

6.模型評價

從這些模型中自動找出一個最好的模型,還要根據(jù)業(yè)務(wù)對模型進行解釋和應(yīng)用。

數(shù)據(jù)分析咨詢請掃描二維碼

若不方便掃碼,搜微信號:CDAshujufenxi

數(shù)據(jù)分析師資訊
更多

OK
客服在線
立即咨詢
客服在線
立即咨詢
') } function initGt() { var handler = function (captchaObj) { captchaObj.appendTo('#captcha'); captchaObj.onReady(function () { $("#wait").hide(); }).onSuccess(function(){ $('.getcheckcode').removeClass('dis'); $('.getcheckcode').trigger('click'); }); window.captchaObj = captchaObj; }; $('#captcha').show(); $.ajax({ url: "/login/gtstart?t=" + (new Date()).getTime(), // 加隨機數(shù)防止緩存 type: "get", dataType: "json", success: function (data) { $('#text').hide(); $('#wait').show(); // 調(diào)用 initGeetest 進行初始化 // 參數(shù)1:配置參數(shù) // 參數(shù)2:回調(diào),回調(diào)的第一個參數(shù)驗證碼對象,之后可以使用它調(diào)用相應(yīng)的接口 initGeetest({ // 以下 4 個配置參數(shù)為必須,不能缺少 gt: data.gt, challenge: data.challenge, offline: !data.success, // 表示用戶后臺檢測極驗服務(wù)器是否宕機 new_captcha: data.new_captcha, // 用于宕機時表示是新驗證碼的宕機 product: "float", // 產(chǎn)品形式,包括:float,popup width: "280px", https: true // 更多配置參數(shù)說明請參見:http://docs.geetest.com/install/client/web-front/ }, handler); } }); } function codeCutdown() { if(_wait == 0){ //倒計時完成 $(".getcheckcode").removeClass('dis').html("重新獲取"); }else{ $(".getcheckcode").addClass('dis').html("重新獲取("+_wait+"s)"); _wait--; setTimeout(function () { codeCutdown(); },1000); } } function inputValidate(ele,telInput) { var oInput = ele; var inputVal = oInput.val(); var oType = ele.attr('data-type'); var oEtag = $('#etag').val(); var oErr = oInput.closest('.form_box').next('.err_txt'); var empTxt = '請輸入'+oInput.attr('placeholder')+'!'; var errTxt = '請輸入正確的'+oInput.attr('placeholder')+'!'; var pattern; if(inputVal==""){ if(!telInput){ errFun(oErr,empTxt); } return false; }else { switch (oType){ case 'login_mobile': pattern = /^1[3456789]\d{9}$/; if(inputVal.length==11) { $.ajax({ url: '/login/checkmobile', type: "post", dataType: "json", data: { mobile: inputVal, etag: oEtag, page_ur: window.location.href, page_referer: document.referrer }, success: function (data) { } }); } break; case 'login_yzm': pattern = /^\d{6}$/; break; } if(oType=='login_mobile'){ } if(!!validateFun(pattern,inputVal)){ errFun(oErr,'') if(telInput){ $('.getcheckcode').removeClass('dis'); } }else { if(!telInput) { errFun(oErr, errTxt); }else { $('.getcheckcode').addClass('dis'); } return false; } } return true; } function errFun(obj,msg) { obj.html(msg); if(msg==''){ $('.login_submit').removeClass('dis'); }else { $('.login_submit').addClass('dis'); } } function validateFun(pat,val) { return pat.test(val); }