master
zhled14 10 months ago
parent 6b3109168c
commit fce8162eb8

@ -60,7 +60,7 @@ The code of this file is divide in follow sections
Uses the scipy library to calculate Pearson and Spearman correlations, employing two nested `for` loops that populate an empty 4x4 matrix with correlation values. This function takes four inputs; the first four values represent data, and the last indicates which correlation to calculate—`p` for Pearson correlation and `s` for Spearman correlation. Correlations for med data base are shhown below:
!['Pearson.jpeg'](./Pearson.jpeg)
!['Speaman.jpeg'](./Speaman.jpeg)
!['Speaman.jpeg'](./Spearman.jpeg)
3. **Plotting data function**
Takes values from lux, temperature, humidity and power, and builds a figure of size 4x4. The structure of these graphs is shown below:

Loading…
Cancel
Save