master
zhled14 1 year ago
parent 401699ade0
commit 6b3109168c

@ -59,8 +59,8 @@ The code of this file is divide in follow sections
2. **Correlation Function**
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:
![](./PearsC.png)
![](./SpearsS.png)
!['Pearson.jpeg'](./Pearson.jpeg)
!['Speaman.jpeg'](./Speaman.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