合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

        代做DATA7703、代寫Python程序語言

        時間:2024-08-16  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



        S2 - 2024 DATA7703 – Machine Learning for Data Scientists
        Assignment 1
        Decision Trees
        Due date: Friday Aug 16 3pm
        1. Training a Decision Tree
        - First complete Q1 using the scikit-learn (sklearn) library (40%)
        - Next complete Q1 without using any ML libraries, (ie. implement a decision tree
        algorithm from scratch) (30%)
        Write a program in Python to implement the ID3 decision tree algorithm. You should read in
        a tab delimited dataset, and output to the screen the relevant results in some readable format.
         Name your program decisiontreeassignment.py
         Basic math and file reading functions from libraries such as numpy or pandas etc. are
        allowed.
        There are two sample datasets available from the course blackboard page you can use
         tennis.txt - Predict whether or not your tennis partner will join you to play tennis
        based on weather.
         titanic2.txt - Predict the survival status of individual passengers on the Titanic based
        on their passenger class, age and gender.
        For the dataset files
         The first line of the file will contain the name of the fields.
         The last column is the classification attribute, and will always contain the
        values yes or no.
         All files are tab delimited.
        When you run your program, it should take a command-line parameter that contains the name
        of the file containing the training data. For example:
        python decisiontreeassignment.py tennis.txt
        And it should output the training set accuracy in some readable form. You do not need to
        print or display the resulting tree (unless you want to).
        2. Max Tree Depth (15%)
        - First complete Q2 using scikit-learn (sklearn) library (10%)
        - Next complete Q2 without using any ML libraries (5%)
        Add to your implementation so that you can limit the maximin tree depth. It should now take
        an additional command-line parameter that sets the maximum tree depth. For example:
        python decisiontreeassignment.py tennis.txt 5
        3. Test Set (15%)
        - First complete Q3 using scikit-learn (sklearn) library (10%)
        - Next complete Q3 without using any ML libraries (5%)
        Add to your implementation so that you can also pass a file containing data not in the training
        data. It should now output the training set accuracy as well as the testing set accuracy in some
        readable form.
        The command-line call should now have a third parameter containing the name of the file
        containing the testing data. For example:
        python decisiontreeassignment.py tennis_trainingset.txt 5 tennis_testset.txt
        You can create training and testing sets by (randomly) splitting the available data
        appropriately.
        Submission
        Assignments to be completed individually and submitted through blackboard.
        Due date
        Friday Aug 16 3pm.

        請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp




         

        掃一掃在手機打開當前頁
      1. 上一篇:代寫代做INF10025 Data Management and Analytic
      2. 下一篇:代做BSAN3212、代寫c/c++,Python程序語言
      3. 無相關信息
        合肥生活資訊

        合肥圖文信息
        挖掘機濾芯提升發動機性能
        挖掘機濾芯提升發動機性能
        戴納斯帝壁掛爐全國售后服務電話24小時官網400(全國服務熱線)
        戴納斯帝壁掛爐全國售后服務電話24小時官網
        菲斯曼壁掛爐全國統一400售后維修服務電話24小時服務熱線
        菲斯曼壁掛爐全國統一400售后維修服務電話2
        美的熱水器售后服務技術咨詢電話全國24小時客服熱線
        美的熱水器售后服務技術咨詢電話全國24小時
        海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
        海信羅馬假日洗衣機亮相AWE 復古美學與現代
        合肥機場巴士4號線
        合肥機場巴士4號線
        合肥機場巴士3號線
        合肥機場巴士3號線
        合肥機場巴士2號線
        合肥機場巴士2號線
      4. 幣安app官網下載 短信驗證碼 丁香花影院

        關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

        Copyright © 2024 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
        ICP備06013414號-3 公安備 42010502001045

        主站蜘蛛池模板: 亚洲av一综合av一区| 国模无码视频一区| 色婷婷av一区二区三区仙踪林| 国产福利一区二区三区| 一区二区三区电影网| 国产在线视频一区二区三区| 无码国产精品一区二区免费16| 寂寞一区在线观看| 亚洲免费视频一区二区三区| 97久久精品一区二区三区| 台湾无码一区二区| 清纯唯美经典一区二区| 内射一区二区精品视频在线观看| 一区二区免费国产在线观看| 国模私拍福利一区二区| 无码人妻精品一区二区三区99性| 亚洲一区免费视频| 亚洲av日韩综合一区在线观看| 无码少妇精品一区二区免费动态| 国产精品视频一区二区三区无码 | 亚洲国产精品一区| AV无码精品一区二区三区宅噜噜| 中文字幕一区二区区免| 亚洲片一区二区三区| 精品一区二区三区免费 | 精品视频一区二区三区在线观看| 久久国产高清一区二区三区| 免费人妻精品一区二区三区| 国产在线精品一区二区在线观看| 人妻体内射精一区二区三四| 国精无码欧精品亚洲一区| 国产一区二区精品| 怡红院一区二区在线观看| 日韩a无吗一区二区三区| 好爽毛片一区二区三区四无码三飞 | 海角国精产品一区一区三区糖心 | 国产吧一区在线视频| 无码中文字幕人妻在线一区二区三区| 性盈盈影院免费视频观看在线一区| 亚洲一区二区三区无码影院| 国产精品一区二区av不卡|