Exploration of the structure of giant planets with fast calculations and a bayesian approach