中大機構典藏-NCU Institutional Repository-提供博碩士論文、考古題、期刊論文、研究計畫等下載:Item 987654321/77541
English  |  正體中文  |  简体中文  |  Items with full text/Total items : 80990/80990 (100%)
Visitors : 41650442      Online Users : 1395
RC Version 7.0 © Powered By DSPACE, MIT. Enhanced by NTU Library IR team.
Scope Tips:
  • please add "double quotation mark" for query phrases to get precise results
  • please goto advance search for comprehansive author search
  • Adv. Search
    HomeLoginUploadHelpAboutAdminister Goto mobile version


    Please use this identifier to cite or link to this item: http://ir.lib.ncu.edu.tw/handle/987654321/77541


    Title: 應用場域對抗式類神經網路預測學生程式碼缺陷與程式碼缺陷與程式編寫風格之間的關聯;Apply DANN to identify students′ code defects and their relationship with coding style
    Authors: 王紹宇;Wang, Shao-Yu
    Contributors: 資訊工程學系
    Keywords: 學習分析;程式碼缺陷;程式編寫風格;場域對抗式類神經網路;機器學習;Learning Analytics;Code defects;Coding style;Domain Adversarial Neural Network;Machine learning
    Date: 2018-07-16
    Issue Date: 2018-08-31 14:47:46 (UTC+8)
    Publisher: 國立中央大學
    Abstract: 近年程式設計能力逐漸成為教育界發展重點,然而程式語言結合運算思維及編程操作,高入門門檻往往導致學生之間學習進度差異過大使教學困難,評估學生學習狀況成為程式語言教育的重要課題。在此結合線上編程系統、系統日誌過濾整合技術萃取學習參與度,提供學習行為參與度即時視覺化呈現,提供教學端面板進行學習行為監控。
    對於作業繳交原始碼,以程式編寫風格評估以及程式碼缺陷預測模型進行程式碼品質分析,提供評量依據以及自我檢查的資訊。為了節省教學負擔,透過過去NASA MDP專案經驗中的資料集作為訓練資料,取代教學端逐一檢視程式碼並且給予是否存在缺陷之人工標記,以遷移式學習中的場域對抗式類神經網路(Domain-Adversarial Neural Network)技術建立程式碼缺陷模型,而結果顯示DANN的場域適應性較傳統機器學習好,DANN模型之proxy A-distance (PAD)數值為0.9,傳統機器學習方法之PAD則都大於1.8。
    最後,研究程式編寫風格與程式碼缺陷的關聯;透過皮爾森相關係數檢測兩組特徵,發現其低關聯(小於0.25的對)比例近七成,而透過多元線性回歸分析,以兩組指標不同特徵(features)輸入模型訓練,建立程式編寫風格分數預測模型,程式編寫風格指標模型pMSE值為9.349,而程式碼缺陷指標pMSE為13.686,透過只有0.7的平均預測誤差發現雖然程式碼編寫風格與程式碼缺陷特徵間沒有直接關聯卻對於程式編寫風格分數有相近的預測能力。;In recent years, programming skill have gradually become the focus of education development in the education sector. However, programming combines computational thinking and coding operations. High learning thresholds often lead to difficult teaching due to the huge differences in student learning progress. Measure students’ learning becomes an important issue in programming education. We combination of online programming system, system log filter integration technology to extract learning participation, provide immediate visualization of learning behavior engagement to help teachers to monitor students’ learning behavior.
    For assignment of the source code, code quality analyzes by coding style measure and code defects prediction model to provide evaluation and self-examination. In order to reduce the burden of teachers, we use NASA MDP project experience as a training data, instead of the teaching side to view lots pieces of code and give the artificial mark of whether the code is defect or not. And use Domain-Adversarial Neural Network to build code defects prediction model. The result shows that DANN′s domain adaptability is better than traditional machine learning. The DANN model’s proxy A-distance (PAD) value in 0.9, and traditional machine learning methods have a PAD greater than 1.8.
    Finally, we study the relationship between coding style and code defects. We use Pearson correlation coefficient to find relationship of two sets. We found that its low correlation pairs (coefficient smaller than 0.25) is nearly 70%. After, we use different features and establish multiple linear regression to predict score of coding style model. The model build by coding style features’ pMSE value is 9.349, and the code defects features’ pMSE is 13.686. Through the average prediction error of only 0.7 difference, it is found that although there is no direct correlation between the coding style’s and the code defects’ feature, but two datasets have similar ability to predict score of coding style.
    Appears in Collections:[Graduate Institute of Computer Science and Information Engineering] Electronic Thesis & Dissertation

    Files in This Item:

    File Description SizeFormat
    index.html0KbHTML104View/Open


    All items in NCUIR are protected by copyright, with all rights reserved.

    社群 sharing

    ::: Copyright National Central University. | 國立中央大學圖書館版權所有 | 收藏本站 | 設為首頁 | 最佳瀏覽畫面: 1024*768 | 建站日期:8-24-2009 :::
    DSpace Software Copyright © 2002-2004  MIT &  Hewlett-Packard  /   Enhanced by   NTU Library IR team Copyright ©   - 隱私權政策聲明