国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

代做INFSCI 0510、代寫(xiě) java/Python 編程

時(shí)間:2024-05-26  來(lái)源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



Coursework: Kernel PCA for Linearly-Inseparable Dataset
INFSCI 0510 Data Analysis, Department of Computer Science, SCUPI Spring 2024
This coursework contains coding exercises and text justifications. Please read the instructions carefully and follow them step-by-step. For submission instructions, please read the last section. If you have any queries regarding the understanding of the coursework sheet, please contact the TAs or the course leader. Due on: 23:59 PM, Wednesday, June 5th.
PCA
In our lectures, we introduced principle component analysis (PCA). Given a dataset X ∈ Rd×n with n data points of d dimensions, we are interested to project X onto a low-dimensional subspace, where the basis vectors U ∈ Rd×k are the principle components (PC), computed as follows:
X􏰀 = U ΣV T , (1) where X􏰀 is the standardised version of X with zero-mean. Eq. (1) is called singular value decompo-
sition (SVD).
Based on the PC matrix U, the projection for low-dimensional features Z ∈ Rk×n, with k < d, is presented as:
Z = UT X. (2) Compared with X, these low-dimensional features Z carry substantial information within less
dimensionality, therefore favored for the learning task.
Kernel Trick
Besides the PCA process for dimensionality reduction, we also introduced dimensionality expan- sion in our lectures by change of basis. For a linearly-inseparable dataset X ∈ Rd×n, it is possible to find a hyperplane for the classification task with 0 error by transforming X onto a high-dimensional superspace. In this case, the classification task will be conducted with the transformed data, repre- sented as φ(X) ∈ RD×n with D > d, φ(·) denotes the transformation function. By projecting the hyperplane back to the original space, we can produce a non-linear solution for the classification task.
However, recall from the lectures, such a change of basis may be computational expensive. To solve this issue, we introduced the kernel trick. Specifically, to perform the classification task for the projected dataset φ(X), we can use a kernel function K(·,·) that computes the dot product ⟨φ(xi),φ(xj)⟩ of any two projected samples xi and xj, presented as:
K(xi,xj) = ⟨φ(xi),φ(xj)⟩, (3)
where kernel function K(·,·) computes the dot product with the inputs xi and xj. Hence, such a dot product is calculated without explicitly computing the computational-expensive transformation φ(X). There are many kernel functions to use, in this coursework, we will focus on two types of kernels:
  1
􏰀

1. Homogeneous Polynomial kernel : K(xi,xj) = (⟨xi,xj⟩)p, where p > 0 is the polynomial degree.
2. Radial Basis Function (RBF) kernel: also called Gaussian kernel, K(xi,xj) = e−γ∥xi−xj∥2, where
γ = 1 and σ is the width or scale of a Gaussian distribution centered at x .
Kernel PCA
2σ2
j
Kernel PCA is a combined technique of PCA and the kernel trick, where we are still interested in using the PCA process to find the features Z ∈ Rk×n. However, the dimensionality of these features are now ranging from 1 to a large number D, i.e., k ∈ [1, D). The reason is because we first transformed X to a superspace φ(X) ∈ RD×n, then applying the PCA process to produce the features.
Also, we would like to avoid the explicit computation of the high-dimensional φ(X), which can be done by involving the kernel function K(·,·) into the PCA process. Such a kernel PCA process of producing Z is not linear anymore, allowing us to find non-linear solution for classification task, which is very useful when solving a classification task on a linearly-inseparable dataset X ∈ Rd×n with a low dimensionality, e.g., d = 2.
Dataset and Task Summary
The dataset for this coursework is the Circles Dataset, a synthetic dataset widely used to design and test models. The dataset contains 500 samples varying in two classes, i.e., X ∈ R2×500. To load the dataset, please download the Circles.data file from the Blackboard. The data file is constructed by three columns of data: the first two columns represent the two features of X, while the third column denotes the class labels, i.e., class 1 or class 2. Try plot the dataset and see how the two-class samples are distributed.
The task in this course work is using kernel PCA to transform the original dataset X ∈ R2×500 into a linearly-separable dataset Z ∈ Rk×500 with the minimum number of PCs, i.e., a minimum k value. To confirm if the dataset can be made linearly separable, we will use a very simple classification model, decision stump. The whole process can be divided into the following steps:
1. Choose a kernel function with appropriate hyperparameter value.
2. Apply kernel PCA on the original set X ∈ R2×500 to generate the transformed data Z ∈ Rk×500.
3. Find the minimum number of PCs, i.e., the minimum k value required to classify all data points
in Z correctly, using only one decision stump.
The tasks to complete are elaborated into different exercises, which will be detailed in following sections. When solving these tasks, make sure to maintain the Circles.data file under the same directory with your code file.
Exercises **3
Exercise 1 (35 marks) :
• Please use equations to mathematically prove how we can apply PCA on φ(X) without explicitly computing φ(X). (20 marks)
• Please use equations to mathematically prove how to compute the transformed dataset Z, i.e., the projection, without linking to any computation of φ(X). (15 marks)
Hint: recall how SVD works with φ(X), then link the SVD with the result of the kernel function, i.e., the kernel matrix K.
2

Note: don’t forget the standardisation procedure before the PCA process.
Important: the full marks can be awarded to the following Exercise 2 and Exercise 3 only if the answers to Exercise 1 are correct, otherwise, we will only award 50% of the total marks to any following tasks that are related to the theories in Exercises 1, because we regard your code or any discussions in these tasks as those built from wrong theories, although they may be correct inside the task range.
Exercise 2 (30 marks) :
Based on the theories from Exercise 1, choose the kernel (Homogeneous Polynomial or Gaussian) and the corresponding hyperparameters that can be used in conjunction with PCA to produce a linearly-separable dataset Z. Implement the kernel PCA, and answer several questions to justify your selection, as follows:
• Provide the code snippet with results to show your correct implementation of kernel PCA. (15 marks)
• What kind of projection can be achieved with the Homogeneous Polynomial kernel and with the Gaussian kernel? (5 marks)
• What is the influence of the degree p in a Homogeneous Polynomial kernel? (5 marks)
• How can one relate the Gaussian width σ to the data available? (5 marks)
Note: don’t forget the standardisation procedure before the PCA process.
Note: you can use cross-validation to select hyperparameters, however, make sure that the selected
ones are the most appropriate ones for the whole dataset.
Important: there are ready-to-use implementations of kernel PCA in Python. You must imple- ment your own solution and must not use any such libraries, otherwise, 0 marks will be given to any related tasks. Your code from assignment 4 can be used as a starting point to complete this coursework. More specifically:
Libraries that implement basic operations can be used in the coursework, for example: - mean, variance, centre data
- plotting
- matrix and vector multiplications, inverse, transpose
- computation of distance, divergence, or accuracy - singular value decomposition
Libraries that implement the main solutions operations must not be used in the coursework: - the linear version of PCA
- the non-linear version of PCA, i.e., kernel PCA
Exercise 3 (30 marks) :
After the kernel PCA implementation and hyperparameter reasoning from Exercise 1, the next step is to build one decision stump that correctly classify all the samples in the transformed dataset Z. Please complete the following tasks:
• Determine the minimum number of PCs required to classify all the samples in the dataset Z correctly, using one decision stump. (10 marks)
• Please justify the metric used to fit the decision stump. (5 marks)
• Provide the splitting rule and the accuracy of the decision stump. (5 marks)
• Plot the visualization of the input data of the decision stump, i.e., the **D features. (5 marks)
• For the transformed dataset Z, if the minimum number of PCs satisfies k ≤ 3, plot the visu-
alization of the transformed dataset Z. Otherwise (if k > 3), simply state the incapability of providing the visualization by providing your results of k > 3. (5 marks)
3

Extras (5 marks) :
Your code (.ipynb jupyter file) should be clearly and logically structured, any answers or discussions to the exercises should be well-written and adequately proofread before submission. A total of 5 marks are for the organization and explanation (comments) of your code, also for the organization and presentation of your answers or discussions in the report (.pdf file).
Submission
Your submission will include two files:
1. A report file (.pdf) with all your answers or any discussions of all the tasks in Exercise **3.
2. A jupyter notebook file (.ipynb file) with all your code and appropriate explanations to
understand your code.
Our marking process may help you structure your report and code:
1. For each task in Exercise **3, we will look for answers from your report. Therefore, please answer all the tasks in your report. For any tasks that require any code snippets, please also attach them in your report, which can be done through screenshots.
2. We will also run your jupyter notebook and see if your code can provide results that align with the answers in your report, especially. When checking for the last time about whether your code can generate the correct results, please remember to Restart Kernel and Clear Outputs of All Cells. As we will do the same to examine your code.
3. Note that when running your code, we will place the Circles.data file under the same direc- tory with your jupyter notebook file. Hence, please do the same when testing your code, and avoid using any absolute path in your code.
In the end, please compress the two files into a .zip file, and name the .zip file as: ”[CW]-[Session Number]-[Student ID]-[Your name]”
For instance, CW-0**2023141520000-Tom.zip
請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp




















 

掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
  • 上一篇:香港到越南簽證多久能下來(lái)(香港辦理越南簽證流程)
  • 下一篇:CSSE2010 代做、代寫(xiě) c/c++編程語(yǔ)言
  • 無(wú)相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路流場(chǎng)仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真技術(shù)服務(wù)
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲勞振動(dòng)
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)40個(gè)行業(yè)
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)4
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開(kāi)團(tuán)助手,多多出評(píng)軟件徽y1698861
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開(kāi)團(tuán)助手
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢服務(wù)平臺(tái)
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗(yàn)證碼 豆包網(wǎng)頁(yè)版入口 破天一劍 目錄網(wǎng) 排行網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    99超碰麻豆| 久久综合久久久| 日韩欧美手机在线| 国内揄拍国内精品| 久久久久久久久国产精品| 久国内精品在线| 日av中文字幕| 国产v综合ⅴ日韩v欧美大片| 九九热这里只有精品6| 僵尸世界大战2 在线播放| www.久久草| 亚洲国产一区二区在线| 日韩日本欧美亚洲| 亚洲不卡1区| 久久av免费观看| 日韩av色综合| 国产精品偷伦免费视频观看的 | 国产精品第一第二| 日韩亚洲第一页| 日韩一级在线免费观看| 国产精品果冻传媒潘| 久久免费精品日本久久中文字幕| 国产精品一区二区三区免费视频 | 久99九色视频在线观看| 一级特黄妇女高潮| 日韩精品免费一区| 欧洲精品久久久| 免费观看国产精品视频| 国产精品一区二区三区精品| 蜜臀久久99精品久久久酒店新书| 麻豆91蜜桃| 国产精品一区二区你懂得| 91久久久久久国产精品| 久久久亚洲天堂| 国产精品久久久久高潮| 久久99视频免费| 亚洲在线观看视频| 日本久久久久久久久| 精品欧美日韩| av在线播放亚洲| 久久久久久九九九九| 日韩在线一区二区三区免费视频| 国产成人看片| 国产精品综合久久久久久| 国产精品嫩草视频| 欧美一级视频在线播放| 欧美伊久线香蕉线新在线| 国产伦精品一区二区三毛| 国产精品av免费在线观看| 国产精品美腿一区在线看| 久久99精品久久久久久琪琪| 亚洲精品一区二区三区四区五区| 欧美一区二区在线| 91免费人成网站在线观看18| 国产精品视频网址| 色婷婷综合久久久久中文字幕| 国语自产精品视频在免费| 69精品丰满人妻无码视频a片| 久久精品视频免费播放| 午夜精品久久久久久久99黑人 | 操人视频在线观看欧美| 日韩视频在线视频| 91免费黄视频| 精品国产91亚洲一区二区三区www| 欧美人与性动交a欧美精品| 日韩精品手机在线观看| 99精品一级欧美片免费播放| 国产成人精品一区二区在线| 亚洲激情一区二区三区| 好吊色欧美一区二区三区四区| 国产精品96久久久久久又黄又硬| 最新欧美日韩亚洲| 免费一级特黄毛片| www.日韩视频| 日本视频精品一区| 91干在线观看| 一本色道久久综合亚洲二区三区| 国内一区二区在线视频观看| 日韩专区在线播放| 婷婷五月色综合| dy888夜精品国产专区| 精品久久久久久久免费人妻| 国内精品久久久久久久久| 日韩中文字幕免费看| 日本视频一区在线观看| 久久免费精品日本久久中文字幕| 在线亚洲美日韩| 国产美女作爱全过程免费视频| 国产精品国产一区二区| 男女猛烈激情xx00免费视频| 日韩中文字幕亚洲| 欧美少妇一区二区三区| 国产成人精品无码播放| 欧美久久综合性欧美| 久久综合色一本| 丁香六月激情网| 久久人91精品久久久久久不卡| 日韩av免费网站| 91国内精品久久| 日本在线观看a| 国产v亚洲v天堂无码| 日韩高清国产一区在线观看| 色妞一区二区三区| 精品人伦一区二区三区| 欧美精品一区二区三区国产精品 | 国产伦精品一区二区三区四区视频_| 欧美成人精品影院| 蜜桃麻豆www久久国产精品| 国产精品久久电影观看| 国产视频一视频二| 国产成人精品在线观看| 欧美日韩一区综合| 久久精品夜夜夜夜夜久久| 欧美精品与人动性物交免费看| 国产精品沙发午睡系列| 国产欧美综合一区| 在线观看成人一级片| 99热亚洲精品| 日韩精品一区二区三区四 | 国产成人女人毛片视频在线| 国产一区二区片| 蜜臀久久99精品久久久久久宅男| 国产欧美亚洲视频| 亚洲精品人成| 色阁综合伊人av| 国产一级特黄a大片99| 亚洲淫片在线视频| 久久99中文字幕| 国产一区在线免费| 中文字幕一区二区三区在线乱码| 久久免费视频3| 国产综合在线观看视频| 成人做爰www免费看视频网站| 久久久99免费视频| y111111国产精品久久婷婷| 欧美在线视频导航| 国产99在线|中文| 精品免费日产一区一区三区免费| 久久久久狠狠高潮亚洲精品| 国产精品一区视频网站| 亚洲美女网站18| 久久精品久久久久久| 国产精品综合网站| 日韩欧美视频第二区| 精品国产无码在线| 国产成人福利网站| 国产伦精品一区| 欧美中日韩在线| 亚洲精品免费av| 国产精品对白刺激| 久久黄色免费看| 每日在线更新av| 日本精品视频一区| 在线播放 亚洲| 国产精品免费入口| 久久久之久亚州精品露出| 精品无码一区二区三区爱欲 | 国产精品天天av精麻传媒| 91国产美女视频| 国产免费黄视频| 国内精品在线观看视频| 欧美一级黄色影院| 久久久久久18| 国产精品男女猛烈高潮激情| 国产精品18久久久久久麻辣| 国产日韩欧美亚洲一区| 欧美图片激情小说| 欧美一级在线看| 亚洲精品人成| 亚洲一区二区中文字幕| 精品国产免费人成电影在线观...| 俺去亚洲欧洲欧美日韩| 国产精品青青草| 99久久国产免费免费| 欧美日韩高清在线观看| 国产精品偷伦视频免费观看国产| 97精品伊人久久久大香线蕉| 国产天堂在线播放| 国产一区二区三区播放| 免费日韩中文字幕| 欧美精品成人网| 欧美日韩亚洲第一| 茄子视频成人免费观看| 日韩免费在线观看av| 日本乱人伦a精品| 日韩精品一区中文字幕| 人人妻人人澡人人爽欧美一区双| 婷婷视频在线播放| 色乱码一区二区三在线看| 亚洲高清视频一区二区| 视频一区二区三区免费观看| 亚洲欧洲日产国码无码久久99| 色综合久久精品亚洲国产| 国产精品户外野外| 久久国产精品久久久久| 精品久久一区二区三区蜜桃| 欧美日本中文字幕| 久久99精品久久久久久噜噜| 一区二区精品国产| 少妇大叫太大太粗太爽了a片小说|