Data mining
A. Write a Python program that computes the factorial of an integer X (the program should ask the user to enter the value of X)
B. Write a Python program to compute the CORRELATION according to the following Pearson equation:
Hint: define a function called cor using the def key word that takes two inputs and return the correlation as an output.
Then create two vectors X and Y (Lists) of 10 numbers each and calculate the correlation between them using the function cor you defined.
For more details about the correlation, see the following link:
7 years ago
10
Answer(0)
other Questions(10)
- Sir_Excellence
- For genius1234
- DB Feedback
- EXPERT_RESEARCHER
- in 210-230 words describe in APA format just- Discuss how these factors may serve to benefit or hinder the organizational culture with at least one reference handy, corporation to be used down below!
- Bureau of Justice Statistics
- reply
- for shining star 001 only person-situation interactions
- attchmnt
- Performance-based Compensation - Pay for Performance