Summative Assessment
Statistical Computing and Empirical Methods, Teaching Block 1, 2024
Introduction
This document contains the specification for the summative assessment for the unit Statistical Computing
and Empirical Methods, TB1 2024. Please read carefully the following instructions before you start answering
the questions.
Deadline. Your report is due on 28 November 2024 at 13:00.
Rules: This is an independent task. For the summative assessment you should not share your answers with
your colleagues. The experience of solving the problems in this project will prepare you for real problems in
your career as a data scientist. If someone asks you for the answer, resist!
Support: Whilst this is an independent task, there is a lot of support available if you need it. If you are
unclear about what is required for any part of the assessment then discuss this issue with the our teaching
team in the computer lab or contact your unit director.
Plagiarism: Be very careful to avoid plagiarism. For more details, you should consult the “Academic
Integrity” section under the Assessment tab within the central Blackboard page for the School of Engineering
Mathematics & Technology.
The use of generative AI: The use of generative AI, such as ChatGPT, is prohibited. Any use of generative
AI in this assessment will be considered as plagiarism.
Extenuating circumstances: For more details on the procedure for extenuating circumstances consult the
“Assessment support options” section under the Assessment tab within the central Blackboard page for the
School of Engineering Mathematics & Technology.
Late submission panalty: Coursework that is submitted after a deadline should be subject to a late
submission penalty, unless there is an extension or a justified exceptional circumstance. The more details,
you should consult the central Blackboard page for the School of Engineering Mathematics & Technology or
contact the School office.
Clarity: Clarity is highly important. Be careful to make sure you clearly explain each step in your answer.
You should also include comments within your code when necessary. Your answer should clearly demarcate
which part of the question you are answering. Whenever possible, include pieces of well-written codes in your
report to promote clarity.
Programming language: For Section A of this coursework you should use Tidyverse methods within the
R programming language. For Section B and Section C, you can use either R or Python. Regardless of your
choice of language, it is essential that your answers are clear and well-written.
1
Submission points: To submit your solutions, please visit the “Assessment, submission and feedback” tab
on the course webpage at Blackboard. Make sure your submission follows the submission structure described
below.
Multiple submissions: Submitting the coursework multiple times before the deadline is allowed. However,
only the last submission will be considered for marking. You can try to submit an temporary copy before
your final submission if you like.
Submission structure: Please submit a single zip file that contains a folder named “SCEM_???” where “???”
should be replaced by your unique UoB username (e.g., lf22553). The folder should contain three subfolders
named “A”, “B” and “C”.
1 Subfolder "A" should include 1) a PDF file that contains your answers to Section A, and 2) a folder
containing the code and data being used for Section A.
2 Subfolder "B" should include 1) a PDF file that contains your answers to Section B, and 2) a folder
containing the code and data being used for Section B.
3 Subfolder "C" should include 1) a PDF file that contains your answers to Section C, and 2) a folder
containing the code and data being used for Section C.
Time allocation: Section A & B and Section C both contain 50 marks, but we recommend that you allocate
more time for the tasks in Section C, for example 40% on Section A & B and 60% on Section C.
UoB confidential 2
SECTION A (20 MARKS)
Section A (20 marks)
General instruction: In this part of your assessment, you will perform a data wrangling task using R
programming. Note that clarity is highly important. Be careful to make sure you clearly explain each step in
your answer. You should also include comments within your code when necessary. In addition, make the
structure of your answer clear through the use of headings. You should also make sure your code is clean by
making careful use of Tidyverse methods in R.
(Q1). First download the files entailed "debt_data.csv", "country_data.csv" and "indicator_data.csv" which
are available within the Assessment section within Blackboard.
The file "debt_data.csv" contains debt data for different countries under different indicators, from 1960
to 2023. The indicators are represented by indicator codes (for example, NY.GNP.MKTP.CD). The file
"indicator_data.csv" contains a list of the indicator names as well as their associated indicator codes.
The file "country_data.csv" contains information about the country code, income levels, and regions for
each country.
First, Load the file "debt_data.csv" into an R data frame called "debt_df", load the file "coun try_data.csv" into an R data frame called "country_df", and load the file "indicator_data.csv" into a
data frame called "indicator_df".
Second, use R to check the number of columns and the number of rows that the data frame "debt_df"
has. Display your results.
(Q2). Update "debt_df" by reordering its rows such that the values of the indicator "DT.NFL.BLAT.CD" is
in descending order. Display a subset of the updated "debt_df" consisting of the first 4 rows and the
columns "Country.Code", "Year", "NY.GNP.MKTP.CD", and "DT.NFL.BLAT.CD".
(Q3). In the data frame "debt_df", the indicators are represented by their associated indicator codes rather
than by their names. The data frame "indicator_df" contains a list of indicator names and their
corresponding indicator codes. Create a new data frame called "debt_df2" by combining the data
from the two data frames "debt_df" and "indicator_df". The new data frame "debt_df2" should be
equivalent to "debt_df" except that "debt_df2" now contains indicator names rather than indicator
codes. The indicator names in "debt_df2" should match the indicator codes in "debt_df" according to
their correspondence described in "indicator_df".
Display a subset of "debt_df2" consisting of the first 5 rows and the three columns "Country.Code",
"Year", and "Net financial flows, others (NFL, current US$)".
(Q4). The data frame "country_df" contains information about Region, Income groups, and country name for
each country. Create a new data frame called "debt_df3" by combining data from the two data frames
"debt_df2" and "country_df". The new data frame "debt_df3" should contains a) all columns from
"debt_df2" and b) 3 columns from "country_df" called "Region", "IncomeGroup", and "Country.Name".
Make sure that in each row of "debt_df3", the "Region", "IncomeGroup", and "Country.Name" match
"Country.Code" according to their correspondence described in "country_df".
Your data frames "debt_df3" and "debt_df2" should have the same numbers of rows, but "debt_df3"
has three more columns.
UoB confidential 3
SECTION A (20 MARKS)
Display a subset of "debt_df3" consisting of the first three rows and 4 columns called "Country.Name",
"IncomeGroup", "Year", and "Total reserves in months of imports".
(Q5). Rename the following 5 columns from their original names to the new names specified below
Original column names New column names
Total reserves in months of imports Total_reserves
External debt stocks, total (DOD, current US$) External_debt
Net financial flows, bilateral (NFL, current US$) Financial_flow
Imports of goods, services and primary income (BoP, current US$) Imports
IFC, private nonguaranteed (NFL, US$) IFC
(Q6). Next generate a summary data frame called “debt_summary” from the data frame “debt_df3” with
the following properties:
Your summary data frame “debt_summary” should contain 7 rows corresponding to the 7 different
Regions, and it should also have 5 columns:
"Region" - the names of the 7 different regions including "East Asia & Pacific", "Europe & Central Asia"
etc.
"TR_mn" - the average of "Total_reserves" in each region.
"ED_md" - the median of "External_debt" in each region.
"FF_quantile" - the 0.2 quantile of "Financial_flow" in each region.
"IFC_sd" - the standard deviation of "IFC" in each region.
All missing values should be discarded when computing the summary data.
(Q7). Based on your data frame “debt_df3”, create a violin plot of "Financial_flow" for each of the regions.
The violin plots should be displayed in the same figure and with different colors representing different
regions. Ignore all missing values and all values that are smaller than −108 or bigger than 108
.
Your plot is expected to look as follows.
UoB confidential 4
SECTION A (20 MARKS)
East Asia & Pacific
Europe & Central Asia
Latin America & Caribbean
Middle East & North Africa
South Asia
Sub−Saharan Africa
−1e+08 −5e+07 0e+00 5e+07 1e+08
Financial Flow
Region
East Asia & Pacific
Europe & Central Asia
Latin America & Caribbean
Middle East & North Africa
South Asia
Sub−Saharan Africa
(Q8). Based on the data frame “debt_df3”, create a plot which displays the "Total_reserves" as a function
of the years (from 1960 to 2023), for each of the following countries: Italy, France, United Kingdom,
Sudan, Afghanistan, and Brazil. Additionally, the values of "Total_reserves" should be displayed in
different panels according to the income groups of the countries. Use different colors to represent
different countries.
Your plot is expected to look as follows.
UoB confidential 5
Region
SECTION A (20 MARKS)
High income Low income Upper middle income
197019801990200020102020197019801990200020102020197019801990200020102020
0
5
10
15
Year
Country Name
Afghanistan
Brazil
France
Italy
Sudan
United Kingdom
UoB confidential 6
Total Reserves
SECTION B (30 MARKS)
Section B (30 marks)
B.1
Suppose a product is being sold in a supermarket. We are interested in knowing how quickly the product
returns to the shelf again after it is sold out. Let X be a continuous random variable denoting the length of
time between the time point at which it is sold out and the time point at which it is placed on the shelf again.
So X should be a non-negative number, and X = 0 means that the product gets on the shelf immediately
after it is sold out. Here, we assume that the probability density function of X is given by
pλ(x) = ( ae−λ(x−b)
if x ≥ b,
0 if x < b,
where b > 0 is a known constant, λ > 0 is a parameter of the distribution, and a is to be determined by λ
and b.
(1) First, determine the value of a: derive a mathematical expression of a in terms of λ and/or b.
(2) Derive a formula for the population mean and standard deviation of the random variable X with
parameter λ.
(3) Derive a formula for the cumulative distribution function and the quantile function for the random
variable X with parameter λ.
(4) Suppose that X1, · · · , Xn are independent copies of X with the unknown parameter λ > 0. What is
the maximum likelihood estimate λMLE for λ?
Now download the .csv file entitled “supermarket_data_2024” from the Assessment section within Blackboard.
The .csv file contains data on the length of time (in seconds) taken by a product to get on the shelf again
after being sold out. So the sample is a sequence of time lengths. Let’s model the sequence of time lengths in
our sample as independent copies of X (X is the random variable mentioned above) with parameter λ and
known constant b = 300 (seconds). Answer the following questions (5) and (6).
(5) Given the sample, compute and display the maximum likelihood estimate λMLE of the parameter λ.
(6) Apply the method of Bootstrap confidence interval to obtain a confidence interval for λ with a confidence
level of 95%. To compute the Bootstrap confidence interval, the number of resamples (i.e., subsamples
that are generated to compute the bootstrap statistics) should be set to 10000.
Next, conduct a simulation study to explore the behaviour of the maximum likelihood estimator:
(7) Conduct a simulation study to explore the behaviour of the maximum likelihood estimator λMLE for λ
on simulated data X1, · · · , Xn (as independent copies of X with parameter λ) according to the following
instructions. Let b = 0.01 and the true parameter be λ = 2. Generate a plot of the mean squared error
as a function of the sample size n. You should consider sample sizes from 100 to 5000 in increments of
10. For each sample size, consider 100 trials. In each trial, generate a random sample X1, · · · , Xn (as
independent copies of X with parameter λ = 2), and then compute the maximum likelihood estimate
λMLE for λ based upon the sample. Display a plot of the mean square error of λMLE as an estimator
for λ as a function of the sample size n.
B.2
Consider a bag of a red balls and b blue balls (the bag has a + b balls in total), where a ≥ 1 and b ≥ 1. We
randomly draw two balls from the bag without replacement. That means, we draw the first ball from the bag
and, WITHOUT returning the first ball to the bag, we draw the second one. Each ball has an equal chance
of being drawn. Now we record the colour of the two balls drawn from the bag, and let X denote the number
UoB confidential 7
B.2 SECTION B (30 MARKS)
of red balls minus the number of blue balls. So X is a discrete random variable. For example, if we draw one
red ball and one blue ball, then X = 0. Answer the following questions from (1) to (11).
(1) Give a formula for the probability mass function pX : R → [0, 1] of X.
(2) Use the probability mass function pX to obtain an expression of the expectation E(X) of X (i.e., the
population mean) in terms of a and/or b.
(3) Give an expression of the variance Var(X) of X in terms of a and b.
(4) Write a function called compute_expectation_X that takes a and b as inputs and outputs the expectation
E(X). Write a function called compute_variance_X that takes a and b as input and outputs the variance
Var(X). Display your code.
In the following questions, we additionally assume that X1, X2, · · · , Xn are independent copies of X. So
X1, X2, · · · , Xn are i.i.d. random variables having the same distribution as that of X. Let X = n
1 P n
i=1 Xi
be the sample mean.
(5) Give an expression of the expectation of the random variable X in terms of a, b.
(6) Give an expression of the variance of the random variable X in terms of a, b and n.
(7) Create a function called sample_Xs which takes as inputs a, b and n and outputs a sample
X1, X2, · · · , Xn of independent copies of X.
(8) Let a = 3, b = 5 and n = 100000. First, compute the numerical value of E(X) using the
function compute_expectation_X and compute the numerical value of Var(X) using the function
compute_variance_X. Second, use the function sample_Xs to generate a sample X1, X2, · · · , Xn of
independent copies of X. With the generated sample, compute the sample mean X and sample
variance. How close is the sample mean X to E(X)? How close is the sample variance to Var(X)?
Explain your observation.
Moreover, let µ := E(X) and σ := p Var(X)/n (the random variable X is defined above), and let fµ,σ : R →
[0, ∞) be the probability density function of a Gaussian random variable with distribution N (µ, σ2
), i.e., the
expectation is µ and the variance is σ
2
. Next, conduct a simulation study to explore the behaviour of the
sample mean X by answering questions (9)-(11).
(9) Let a = 3, b = 5 and n = 100. Conduct a simulation study with 50000 trials. In each trial, generate a
sample X1, · · · , Xn of independent copies of X. For each of the 50000 trials, compute the corresponding
sample mean X based on X1, · · · , Xn.
(10) Create a scatter plot of the points {(xi
, fµ,σ(xi))} where {xi} are a sequence of numbers between µ−3σ
and µ + 3σ in increments of 0.1σ. Then append to the scatter plot a curve representing the kernel
density of the sample mean X within your simulation study (with 50000 trials). Use different colours
for the point {(xi
, fµ,σ(xi))} and the density curve of the sample mean X.
(11) Describe the relationship between the density of X and the function fµ,σ displayed in your plot. Try to
explain the reason.
UoB confidential 8
SECTION C (50 MARKS)
Section C (50 marks)
In this part of the assessment, you are asked to complete a Data Science report which demonstrates your
understanding of a statistical method. The goal here is to choose a topic that you find interesting and explore
that topic in depth. You are free to choose a topic and data set that interests you.
There will be an opportunity to discuss and get advice on your chosen direction in the computer labs.
Below are two flexible example structures you can consider for this section of your report. If you are unsure
what to do, choose one of the following. Note that you should not submit more than one of the example tasks
below.
Example task 1
Investigate a particular hypothesis test e.g. a Binomial test, a paired Student’s t test, an unpaired Student’s
t test, an F test for ANOVA, a Mann-Whitney U test, a Wilcoxon signed-rank test, a Kruskal Wallis test, or
some other test you find interesting.
Note that clarity of presentation is highly important. In addition, you should aim to demonstrate a depth of
understanding. For this hypothesis test you are asked to do the following:
1. Give a clear description of the hypothesis test being considered, including the details of the test statistic
and p-value, the underlying assumptions, the null hypothesis and the alternative hypothesis. Give
an intuitive explanation for why the test statistic is useful in distinguishing between the null and the
alternative.
2. Perform a simulation study to investigate the probability of type I error under the null hypothesis for
your hypothesis test. Your simulation study should involve randomly generated data which conforms
to the null hypothesis. Compare the proportion of rounds where a Type I error is made with the
significance level of the test. What happens when a different significance level is used?
3. Choose a suitable real-world data set (for example, some places to find data sets are described below).
Ensure that your chosen data set is appropriate for your chosen hypothesis test. For example, if your
chosen hypothesis test is an unpaired t-test then your chosen data set must have at least one continuous
variable and contain at least two groups. It is recommended that your data set for this task not be too
large. You should explain the source and the structure of your data set within your report. You should
also explain the related problem on which you want to perform the test.
4. Carefully discuss the appropriateness of your statistical test in this setting and how your hypotheses
correspond to different aspects of the data set. You may want to use plots to demonstrate the validity
of your underlying assumptions. Draw a statistical conclusion and report the value of your test statistic,
the p-value and a suitable measure of effect size.
5. Discuss what scientific conclusions you can draw from your hypothesis test. Discuss how these would have
differed if the result of your statistical test had differed. Discuss key experimental design considerations
necessary for drawing any such scientific conclusion. For example, perhaps an alternative experimental
design would have allowed one to draw a conclusion about cause and effect?
6. Exploring further this hypothesis test on one topic/direction of your choice. This could be for example
discussing a property of the test such as how the power of the chosen test changes with sample size,
significance level, or effect size. As another example, how robust is the test when assumptions are
violated and is there a robust alternative? How does the test compare to its non-parametric alternatives?
How does the frequentist test compare with its Bayesian alternative? These are just a few examples.
Make a clear statement on the question of interest and your conclusions. The details of your approach
to support your findings should be visible within your report, and experiments or simulation studies
can be included if needed.
UoB confidential 9
Example task 2 SECTION C (50 MARKS)
Example task 2
Investigate a particular method for supervised learning. This could either be a method for regression or
classification but should be a method with at least one tunable hyperparameter. You could choose one from
ridge regression, k-nearest neighbour regression, a regression tree, regularized logistic regression, k-nearest
neighbour classification, a decision tree, a random forest or another supervised learning technique you find
interesting.
Note that clarity of presentation is highly important. In addition, you should aim to demonstrate a depth of
understanding.
1. Give a clear description of the supervised learning technique you will use, including the underlying
principles and any assumptions. Explain how the training algorithm works and how new predictions
are made on test data. Discuss what type of problems this method is appropriate for.
2. Choose a suitable data set where this method can be applied. Perform a train, validation, and test split
(for example, some places to find data sets are described below). Be careful to ensure that your data set
is appropriate for your chosen algorithm. For example, if you have chosen to investigate a classification
algorithm then your chosen data set must contain at least one categorical variable. Your data set for
this task does not need to be large to obtain good results. The size of your data set should not exceed
100MB and you should aim to use a data set well within this limit. Your report should carefully give
the source for your data. In addition, describe your data set. How many features are there? How many
examples? What type is each of the variables (e.g. categorical, ordinal, continuous, binary etc.)? You
should also explain the associated problem that you will solve using your supervised learning method.
3. What is an appropriate metric for the performance of your model? Give a clear explanation of the
metric. Explore how the performance of your model varies on both the training data and the validation
data as you vary the amount of training data used. You should compare the performance of the models
across different sizes of the training data.
4. Explore how the performance of your model varies on both the training data and the validation data as
you vary a hyperparameter.
5. Choose a hyper-parameter and report your performance based on the test data. Can you get a better
understanding by using cross-validation?
6. Exploring further this supervised learning method on one topic/direction of your choice. This could
be for example discussing how the bias-variance trade-off impacts the performance of the chosen
method. As another example, is your model robust? How does the performance of the method change
when applied to imbalanced datasets? Does your method work on small data and if not is there
an suitable alternative? You could also investigate how different regularisation techniques affect the
model’s performance, or carefully compare the chosen method with other methods. These are just a
few examples. Make a clear statement on the question of interest and your conclusions. The details
of your approach to support your findings should be visible within your report, and experiments or
simulation studies can be included if needed.
Further instruction for Section C.
Note:
1. Do not complete and submit more than one of the above tasks. These are example tasks and you should
only choose one. The goal here is to explore a topic in detail.
2. You will be graded on the level of understanding of the key concepts demonstrated within your report.
Additional marks will be given for more advanced methods, provided that a very strong level of
understanding is displayed. However, you should avoid choosing complex methods without properly
UoB confidential 10
Further instruction for Section C. SECTION C (50 MARKS)
demonstrating your understanding. The main focus here is a clear understanding and you should
not sacrifice understanding for the sake of complexity. A clear understanding of the basic concepts is
paramount.
3. You do not need to use large data sets. The dataset you choose should not be larger than 100MB. This
is an upper bound. You should aim to use a data set well within this limit.
4. We expect that your approach should be visual and clear within the report itself. Therefore it is highly
recommended to include pieces of clear and well-written code along with necessary comments and
explanations within the report itself.
5. We expect that you interpret and make sense of the experiment results obtained, instead of displaying
a list of the results without explanation or analysis. A high quality report should be able to use the
experimental results to support its conclusions and findings in a consistent manner.
6. We do not have a page limit for the report. A rough guideline is that your report should ideally be no
more than 10 pages, if all figures and large pieces of code were removed. However, this is not a strict
constraint. Again, clarity is highly important, and you should include sufficient details to demonstrate
your approach and the level of understanding of the key concepts.
Data sets
There are a vast number of freely available data sets across the internet. Below are a few example sources.
You are also welcome to use data sets from other sources. Any data you use should be freely available and
accessible. The source of your data and the steps required to retrieve it should also be described within your
main report.
You should also explain its structure e.g. the number of rows and the number of columns, and what the data
in each column of interest represent for, · · ·. You are encouraged to use tabular data throughout.
Final remarks
Throughout your report you should emphasise:
• Reproducible analysis (be careful with randomised procedures).
• Clear and informative visualisations of your results.
• Demonstrate a depth of understanding.
• A clear writing style.
UoB confidential 11
相关推荐
视觉特征-自监督-掩码特征预测【2024-04】:V-JEPA【潜空间】【≈90%多块时空掩码】【上下文目标块预测】【特征空间预测≠像素重建】【EMA目标编码器+停梯度】
Adrien Bardes 1,2,3, Quentin Garrido 1,4, Jean Ponce 3,5,6, Xinlei Chen 1, Michael Rabbat 1, Yann LeCun 1,5,6, Mahmoud Assran 1,†, Nicolas Ballas 1,† 1 FAIR at Meta, 2 Inria, 3 École normale supérieure, CNRS, PSL Research University, 4 Univ. Gustave Eiffel
EMATM0061 Statistical Computing and Empirical Methods
df again?if(num<2){a<-1。
视觉特征-自监督-对比学习:SimCLR(在潜空间用对比损失最大化同一样本经不同数据增强所得视图间的一致性来学习表示)【Loss:对比损失函数】【同批次非同源样本作为负样本】【2020-02】
Abstract摘要本文提出了SimCLR:一个用于视觉表征对比学习的简单框架。我们简化了近期提出的对比式自监督学习算法,无需专门的架构或记忆库。为了理解是什么使对比预测任务能够学习到有用的表征,我们系统地研究了该框架的主要组成部分。我们表明:(1)数据增强的组合在定义有效预测任务中起着关键作用;(2)在表征与对比损失之间引入可学习的非线性变换,可显著提升所学习表征的质量;(3)与监督学习相比,对比学习受益于更大的批量大小和更多的训练步骤。
EMATM0061: Statistical Computing and Empirical
Assignment 4EMATM0061: Statistical Computing and Empirical Methods, TB1, 2024IntroductionThis assignment is mainly based on Lectures 9 and 10. It is recommended that you watch the video lectures before starting.Create an R Markdown for the assignmentIt is
具身智能【2026-01】:Being-H0.5【VLA + Flow Matching】【MoT+MoE架构】【UniHand2.0数据集:4 亿个样本/35000小时 】
BeingBeyond Teamhttps://research.beingbeyond.com/being-h05Real-World Deployment Figure 1: Being-H0.5 at a Glance. We scale human-centric robot learning with Being-H0.5 toward cross-embodiment generalization. We introduce UniHand-2.0, a large-scale corpus
【网络原理】HTTP 请求 (Request)详解
【网络原理】HTTP 请求 (Request)详解,认识URLquery string关于 URL encode, GET方法,POST 方法,GET 和 POST 的区别,User-Agent (简称 UA),Referer,Cookie
EMATM0061: Statistical Computing and Empirical Methods TB1 2024 9
一一“scalex。
Codex VS Claude Code 全面测评!代码开发到底选谁?
评测结果6项指标(设计质量、提示遵从度、响应式、代码质量、细节关注、惊喜度)虽未公布最终赢家,但实测本身已揭示两工具在前端任务上的直接差异。Codex基于OpenAI的云沙箱架构,API通过全球CDN分发,但在国内直连时,依赖特定网络环境。:纯终端工具,直接在你的iTerm或终端中运行,不新建窗口、不切换上下文,与本地开发环境无缝融合。GPT-5.3 Codex(xhigh)输入$1.75/百万token,输出$14.00/百万token,混合均价约**$4.81/百万token**。
EMATM0061: Statistical Computing and Empirical Methods TB1 2024 8C/C++
μ= 1,σ2 = 6 andσ0(2) = 4.Let ^(y)∈φy(^) .
AF3 ProteinDataset类的_patch方法解读
AlphaFold3 protein_dataset模块 ProteinDataset 类 _patch 方法的主要目的是围绕锚点残基(anchor residues)裁剪蛋白质数据,提取一个局部补丁(patch)作为模型输入。
聚类分析之——Kmeans算法(一)
原创地址:http://www.toutiao.com/i6399454239554273794/ 聚类分析是一种静态数据分析方法,常被用于数据挖掘、机器学习、模式识别等领域,聚类是一种无监督式的学习方法。它是在未知样本类别的情况下,通过计算样本彼此间的距离(欧式距离,马式距离,汉明距离,余弦距离等)来估计样本所属类别。从结构性来划分,聚类方法分为自上而下和自下而上两种方法。聚类的算法有很多
EMATM0061: Statistical Computing and Empirical Methods TB1 2024 1
df again?–>New File–>–>•••[,2][,3][,2][,3]ΘZ and YΘ−[,2]−1Y in R.−[,2][,3]−−1?} }
pwm电机调速的原理介绍与代码实现
1、pwm实现调速的原理与介绍 PWM(Pulse Width Modulation)脉冲宽度调制。 1)占空比 pwm占空比就是一个脉冲周期内有效电平在整个周期所占的比例。 通过调节PWM的占空比就能调节IO口上电压的持续性变化,因此也能够控制外设的功率进行持续性变化,也就能控制直流电机的转速快慢。 那么重点就在于如何调节PWM波形的输出。如下图所示 图中的ARR是我们给定时器的一个预装载值,CCRx的上下变化是产生PWM波的关键。我们假设ARR大于CCRx的部分输出为高电平(即t1-t2、t3-t4
EMATM0061: Statistical Computing and Empirical Methods TB1 2024 4
EMATM0061:EmpiricalMethods,TB1,datay want tomakeuseofthefunctions。
2025.06.25【微生物】|Emu工具安装与使用详解:全长16S扩增子微生物丰度分析
Emu是一款基于贝叶斯方法的微生物多样性分析工具,专为处理高错误率的长读长16S/18S扩增子数据优化。本文详细介绍了Emu的安装与使用方法:1)通过conda创建独立环境并安装Emu;2)提供SILVA等预构建数据库的下载指南,并说明自定义数据库的构建方法;3)演示单样本和多样本分析流程,解读关键输出文件;4)介绍丰度表合并、分类等级汇总等实用功能扩展;5)建议后续分析方向。文章还附有官方GitHub链接和相关文献资源,为微生物群落结构研究提供了一套完整的分析解决方案。
uniapp - 最新微信小程序手机号一键登录功能效果,uniapp小程序实现手机号码一键登录,uniapp微信小程序端通过手机号授权完成立即登录操作(详细示例源码,新手小白一键复制开箱即用)
uniapp,微信小程序,uniapp小程序平台,uniApp手机号一键登录,uniapp小程序端手机号一键登录功能,实现微信小程序手机号一键登录,在uniapp中实现获取手机一键登录功能,uniapp手机号快捷登录,uniapp微信小程序授权登录并获取手机号,微信小程序手机号快速验证组件调用方式,uniapp小程序怎么用手机号一键登录,uniapp一键登录流程及代码,如何获取手机号一键登录到小程序,微信小程序获取本机手机号一键登录功能,新手详细教程,详细手机一键登录完整示例代码,uni-app微信unia
EMATM0061: Statistical Computing and Empirical Methods TB1 2024 5R
EMATM0061:EmpiricalMethods,TB1,inRMarkdown,e foundin thedocumenttabonblackboard⋯⋯⋯, Yn?∑x∈ℝx⋅px (x).Σi1αi E(Xi)E(f1(X1)⋯⋯Cov(X,Y)E[(X−X(‾)⋅(Y−Y(‾))]whereX(‾)andY(‾)are theofXandY。
Sigrity Power DC Package Multi-Resistor Compact ET Model Extraction模式提取封装基板电热阻模型
DIE(定义DIE的参数):material设置为silicon(硅),Attach material(贴片的材料,设置为Die Attach),Attach thickness(贴片的材料的厚度,厚度设置为0.001mm,点击ok。Cap为覆盖材料,Material定义材料类型,thickness定义厚度,length和width定义长宽,Adhesive Material为胶的材料,Adhesive Material为胶的厚度,本例不定义,跳过即可。
EMATM0061: Statistical Computing and Empirical Methods TB1 2024 3Processing
#AgeDayMonthYearSpeciesWingWeightTail##1I199199213:30RT385920219##2I229199210:30RT376930221##3I239199212:45RT381990235##4I239199210:50CH265470220##5I279199211:15SS205170“choose()”
Devexpress16.2.6破解工具
Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具
怀旧版电脑GBC模拟器
再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。
EMATM0061: Statistical Computing and Empirical Methods TB1 2024 2R
Hint: type?##Crop##21254Ωc?⊆Ω .
大中型超市收银系统(可直接运行)
光步前台收银系统系统功能:商品销售、商品退货、挂单、收银员权限、会员销售、单品取消、整单取消、商品查询、脱机销售、脱机数据上传,基本资料下载,开钱箱、小票打印、收款结算,支持多币种付款方式(现金、储值卡、礼券、微信等),支持多种促销。运行环境:.net 4.0登陆信息用户名:1001 密码:123456内置商品信息,商品编码可输入00001000 - 00010000,测试效果相关功能键F5 结算 F9挂单 F11商品查询 F8退货 Insert单品取消 Del整单取消 F12开钱箱F2 会员 Ctrl+Z退出系统 Home 锁屏 相关源码待公开
基于贾子理论与THL-5真理硬度标准的概率拟合大模型结构性破产必然性研究
摘要 本研究基于贾子理论与THL-5真理硬度标准,对概率拟合大模型的结构性破产必然性进行了深入分析。当前以Transformer架构和自回归令牌概率预测为核心的概率拟合大模型,通过海量数据统计关联分析生成内容,而非基于公理体系的因果逻辑推演。研究发现,该技术路径的边际效益正快速衰减:算力、数据和模型规模呈指数级扩张,但实际性能提升有限,投入产出比严重失衡。 通过全球头部企业财报和行业实测数据,本文从技术逻辑、成本结构和商业变现等维度证明:概率拟合大模型存在成本指数增长与营收线性增长的不可逆矛盾,企业净现金流
jre9下载 jdk9
(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】
SH9面向碳硅认知对齐的轻量化度量:TCFT‑Lite 中的拓扑偏差角与递归收敛机制(世毫九实验室原创研究)
AbstractR_η: M → MR_η: M → Mbreak。
AI-10_从符号到统计:AI 方法论的三次范式转移
1956年夏天,十位年轻学者聚集在达特茅斯学院,提出了"人工智能"这个概念。在随后的六十余年里,AI 领域经历了多次"繁荣-寒冬"的循环,而每一次循环的背后,都是不同方法论范式的兴衰更替。符号主义认为:智能是符号操作,思维是逻辑推理连接主义认为:智能是神经元连接的涌现,学习是权重调整统计学习认为:智能是从数据中发现规律,学习是优化期望风险今天,当我们享受深度学习带来的技术红利时,有必要回顾这三次范式转移的完整历程。因为理解历史,才能理解现在,预见未来。
246



被折叠的 条评论
为什么被折叠?



