0% found this document useful (0 votes)
13 views4 pages

Mods Assignment Output For Python Code

The document describes generating and transforming a matrix through row reduction to reduced row echelon form. It then analyzes the matrix to determine its rank, nullity, and correlated pairs.

Uploaded by

swetha penmetsa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views4 pages

Mods Assignment Output For Python Code

The document describes generating and transforming a matrix through row reduction to reduced row echelon form. It then analyzes the matrix to determine its rank, nullity, and correlated pairs.

Uploaded by

swetha penmetsa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

Generated matrix:

[[359 486 343 408 101]


[289 125 172 179 297]
[182 232 295 190 307]
[199 335 221 438 273]
[312 143 239 251 179]
[249 155 456 230 248]
[266 231 151 338 399]
[259 136 350 281 270]
[199 183 300 397 324]
[239 461 288 279 477]
[321 220 476 419 196]
[210 199 398 118 492]
[229 494 322 440 287]
[376 457 377 358 124]
[117 139 308 305 490]
[178 365 493 288 402]
[202 303 127 488 481]
[421 112 177 165 339]
[330 133 175 264 441]
[475 398 136 305 462]
[318 218 146 173 491]
[455 125 339 471 271]
[241 382 429 191 180]
[231 359 429 388 281]
[402 200 260 181 412]
[439 342 229 492 320]
[244 476 241 480 277]
[333 247 248 277 288]
[418 326 437 405 254]
[174 112 450 168 312]
[157 213 216 151 163]
[210 274 393 216 448]
[304 128 344 349 204]
[478 131 292 150 242]
[458 260 323 122 134]
[493 325 118 290 307]
[496 374 124 424 348]
[323 179 169 293 394]
[419 273 197 225 266]
[296 321 163 127 429]
[305 424 239 200 336]
[250 290 240 280 203]
[414 479 199 385 474]
[158 291 332 494 187]
[127 403 179 136 411]
[116 151 305 426 250]
[178 163 415 478 479]
[305 170 483 139 499]
[309 234 314 367 472]
[272 125 180 135 492]]

RREF form of original matrix:

[[ 1. 1.35376045 0.95543175 1.13649025 0.28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6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49]

redundant samples data:


[[249 155 456 230 248]
[266 231 151 338 399]
[259 136 350 281 270]
[199 183 300 397 324]
[239 461 288 279 477]
[321 220 476 419 196]
[210 199 398 118 492]
[229 494 322 440 287]
[376 457 377 358 124]
[117 139 308 305 490]
[178 365 493 288 402]
[202 303 127 488 481]
[421 112 177 165 339]
[330 133 175 264 441]
[475 398 136 305 462]
[318 218 146 173 491]
[455 125 339 471 271]
[241 382 429 191 180]
[231 359 429 388 281]
[402 200 260 181 412]
[439 342 229 492 320]
[244 476 241 480 277]
[333 247 248 277 288]
[418 326 437 405 254]
[174 112 450 168 312]
[157 213 216 151 163]
[210 274 393 216 448]
[304 128 344 349 204]
[478 131 292 150 242]
[458 260 323 122 134]
[493 325 118 290 307]
[496 374 124 424 348]
[323 179 169 293 394]
[419 273 197 225 266]
[296 321 163 127 429]
[305 424 239 200 336]
[250 290 240 280 203]
[414 479 199 385 474]
[158 291 332 494 187]
[127 403 179 136 411]
[116 151 305 426 250]
[178 163 415 478 479]
[305 170 483 139 499]
[309 234 314 367 472]
[272 125 180 135 492]]

correlated matrix:

[[ 1. 0.09437624 -0.28729085 -0.00897736 -0.12734589]


[ 0.09437624 1. -0.07850942 0.31194791 -0.08988818]
[-0.28729085 -0.07850942 1. 0.06480248 -0.23953094]
[-0.00897736 0.31194791 0.06480248 1. -0.15610457]
[-0.12734589 -0.08988818 -0.23953094 -0.15610457 1. ]]

correlated pairs:
(array([0, 0, 1, 2, 2, 3, 3, 4, 4, 4]), array([2, 4, 3, 0, 4, 1, 4, 0, 2, 3]))

Correlated pair values without duplicates:


[(0, 2, -0.28729084501369057), (0, 4, -0.12734589450124317), (1, 3,
0.31194791096056357), (2, 4, -0.23953093681353893), (3, 4, -0.15610456886847165)]
** Process exited - Return Code: 0 **
Press Enter to exit terminal

You might also like