中级农民
- 积分
- 225
- 大米
- 颗
- 鳄梨
- 个
- 水井
- 尺
- 蓝莓
- 颗
- 萝卜
- 根
- 小米
- 粒
- 学分
- 个
- 注册时间
- 2019-9-20
- 最后登录
- 1970-1-1
|
感谢大米,再来更新下:
7,
Hyperparameter is usually tuned by cross-validation method.. .и
8, kernel function. check 1point3acres for more.
I think Kernel function is a dot product of two vectors that represent map to other higher dimensional spaces. Using it saves the effort to transform the data to a higher-dimensional space and transform it back. It is equivalent to that process. ..
Kernel is a way of computing the dot product of two vectors xx and yy in some (possibly very high dimensional) feature space. Kernels give a way to compute dot products in some feature space without even knowing what this space is and what is φ.
https://stats.stackexchange.com/ ... in-what-a-kernel-is
9,
Precision and recall: all care about the true positive. . 1point3acres
Accuracy care all the predictions
. 1point3acres
What is the confusion matrix?
a table of predicted true, predicted false vs actual true, actual false.
F1 Score is the Harmonic Mean between precision and recall
ROC Curve
The receiver operating characteristic curve is the plot that shows the performance of a binary classifier as a function of its cut-off threshold
AUC (area under the curve) is an aggregated measure of the performance of a binary classifier on all possible threshold values.
9, Truist 公司面试问过的:Data types
(1), Categorical, two subtypes: Nominal, Ordinal
(2) Numerical, two subtypes: Interval, Ratio.--
Nominal, Ordinal, Interval, and Ratio are defined as the four fundamental levels of measurement scales that are used to capture data in the form of surveys and questionnaires, each being a multiple choice question
Nominal values represent discrete units and are used to label variables, that have no quantitative value. Just think of them as „labels“. Note that nominal data that has no order. Therefore if you would change the order of its values, the meaning would not change. Χ
Ordinal values represent discrete and ordered units. It is therefore nearly the same as nominal data, except that it’s ordering matters. You can see an example below:
Interval values represent ordered units that have the same difference. interval values data is that they don’t have a „true zero. With interval data, we can add and subtract, but we cannot multiply, divide or calculate ratios. An example would be a feature that contains temperature of a given place
Ratio values are also ordered units that have the same difference. Ratio values are the same as interval values, with the difference that they do have an absolute zero. Good examples are height, weight, length
.
Nominal scale is a naming scale, where variables are simply “named” or labeled, with no specific order. Ordinal scale has all its variables in a specific order, beyond just naming them. Interval scale offers labels, order, as well as, a specific interval between each of its variable options. Ratio scale bears all the characteristics of an interval scale, in addition to that, it can also accommodate the value of “zero” on any of its variables.
10,
Selection bias is a phenomenon that involves the selection of individual or grouped data in a way that is not considered to be random
11,
Type one error: rejecting a true null hypothesis
Type two error : accepting a false null hypothesis
12, what is a T test?
A t-test is a type of inferential statistic used to determine if there is a significant difference between the means of two groups, which may be related in certain features.
The t score is a ratio between the difference between two groups and the difference within the groups. The larger the t score, the more difference there is between groups.
https://en.wikipedia.org/wiki/Student%27s_t-test
An Independent two Sample t-test compares the means for two groups..1point3acres
Python code: scipy.stats.ttest_ind
https://docs.scipy.org/doc/scipy ... tats.ttest_ind.html
https://www.reneshbedre.com/blog/ttest.html
A Paired sample t-test compares means from the same group at different times (say, one year apart).
A One sample t-test tests the mean of a single group against a known mean. is used to compare the sample mean (a random sample from a population) with the specific value (hypothesized or known mean of the population).
. 1point 3 acres
Python code: scipy.stats.ttest_1samp
https://docs.scipy.org/doc/scipy ... ts.ttest_1samp.html
|
|