79214287

Date: 2024-11-22 09:07:20
Score: 0.5
Natty:
Report link

Hopefully, this is what you wanted:

import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt

data = {
    'Parameter': ['DRCT', 'DRCT', 'DRCT', 'DRCT', 'DRCT', 'DRCT', 'DRCT', 'DRCT', 'DWPT', 'DWPT', 'DWPT', 'DWPT', 'DWPT', 'DWPT', 'DWPT', 'DWPT'],
    'MAE': [87.9013, 70.9927, 98.1393, 35.6747, 70.502, 45.774, 90.9553, 0.3447, 28.142, 25.9827, 45.2293, 3.5553, 17.8107, 4.7913, 27.9, 0.2907]
}

df = pd.DataFrame(data)

plt.figure(figsize=(12, 8))
sns.boxplot(x='MAE', y='Parameter', data=df, orient='h')
sns.stripplot(x='MAE', y='Parameter', data=df, color='orange', jitter=0.2, size=5)

plt.title('Horizontal Boxplot of MAE by Parameter')
plt.xlabel('MAE')
plt.ylabel('Parameter')
plt.show()

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: birdalugur