@ -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:
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)
!['Pearson.jpeg'](./Pearson.jpeg)
!['Speaman.jpeg'](./Speaman.jpeg)
!['Speaman.jpeg'](./Spearman.jpeg)
3. **Plotting data function**
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:
Takes values from lux, temperature, humidity and power, and builds a figure of size 4x4. The structure of these graphs is shown below: