[R] Estimate Weighted Euclidean Formula
Steven Brown
ganendexin36 at gmail.com
Thu Nov 10 23:59:59 CET 2016
Given these two kinds of data set, and data set2 was obtained through the
weighted Euclidean formula. Can we estimate the weight parameter for each
variable in R based on the steepest descent method ? Thanks very much.
data set 1:
9 164 78 0 0 32.8 0.148 45
4 134 72 0 0 23.8 0.277 60
5 166 72 19 175 25.8 0.587 51
1 79 60 42 48 43.5 0.678 23
3 78 50 32 88 31 0.248 26
7 147 76 0 0 39.4 0.257 43
1 71 62 0 0 21.8 0.416 26
4 146 85 27 100 28.9 0.189 27
2 91 62 0 0 27.3 0.525 22
12 92 62 7 258 27.6 0.926 44
9 119 80 35 0 29 0.263 29
1 119 88 41 170 45.3 0.507 26
6 87 80 0 0 23.2 0.084 32
9 164 84 21 0 30.8 0.831 32
...
...
data set 2:
Pair No = 1 First Record = 153 Second Record = 362 Distance =
0.195109293281901
Pair No = 2 First Record = 244 Second Record = 444 Distance =
0.276686595232122
Pair No = 3 First Record = 102 Second Record = 349 Distance =
0.117089030740308
Pair No = 4 First Record = 186 Second Record = 278 Distance =
0.110082950942552
Pair No = 5 First Record = 85 Second Record = 362 Distance =
0.163096250231904
Pair No = 6 First Record = 229 Second Record = 286 Distance =
0.133259083865808
Pair No = 7 First Record = 157 Second Record = 372 Distance =
0.0801890745331076
Pair No = 8 First Record = 400 Second Record = 440 Distance =
0.180080273679888
Pair No = 9 First Record = 104 Second Record = 65 Distance =
0.270852896379353
Pair No = 10 First Record = 339 Second Record = 504 Distance =
0.0903208989422145
Pair No = 11 First Record = 243 Second Record = 472 Distance =
0.15667825467493
Pair No = 12 First Record = 332 Second Record = 285 Distance =
0.198595164521116
Pair No = 13 First Record = 235 Second Record = 254 Distance =
0.274602506212988
Pair No = 14 First Record = 474 Second Record = 298 Distance =
0.220495386986385
Pair No = 15 First Record = 192 Second Record = 186 Distance =
0.128319782237726
Pair No = 16 First Record = 266 Second Record = 460 Distance =
0.138253740286321
Pair No = 17 First Record = 357 Second Record = 211 Distance =
0.112028810325944
Pair No = 18 First Record = 460 Second Record = 390 Distance =
0.125758538023743
Pair No = 19 First Record = 332 Second Record = 31 Distance =
0.197584497870041
Pair No = 20 First Record = 264 Second Record = 491 Distance =
0.143571812789276
...
...
[[alternative HTML version deleted]]
More information about the R-help
mailing list