posydon.active_learning.psy_cris.synthetic_data.synth_data_3D.analytic_classification_3D(X, Y, Z, f_splits=[1, 2.5, - 0.5, 1.8, 0.3])[source]

Unique classes 1,2,3,4,6,8 for a total of 6 classes. This nicely matches the colormap Dark2 for plotting.

posydon.active_learning.psy_cris.synthetic_data.synth_data_3D.analytic_regression_3D(x, y, z)[source]
posydon.active_learning.psy_cris.synthetic_data.synth_data_3D.func_1(x, y, z)[source]
posydon.active_learning.psy_cris.synthetic_data.synth_data_3D.func_2(x, y, z)[source]
posydon.active_learning.psy_cris.synthetic_data.synth_data_3D.func_3(x, y, z)[source]
posydon.active_learning.psy_cris.synthetic_data.synth_data_3D.func_4(x, y, z)[source]
posydon.active_learning.psy_cris.synthetic_data.synth_data_3D.func_5(x, y, z)[source]
posydon.active_learning.psy_cris.synthetic_data.synth_data_3D.get_output_3D(X, Y, Z)[source]

Takes input points (X,Y,Z) in 3D and returns a DataFrame with the corresponding 3D classification and regression functions.

Returns

data_frame – Pandas dataframe including inputs, class, and outputs.

Return type

DataFrame

posydon.active_learning.psy_cris.synthetic_data.synth_data_3D.get_raw_output_3D(X, Y, Z)[source]

Get the raw output for classification and regression for the 3D synthetic data set. Unique classes include the following [1,2,3,4,6,8].

Returns

  • classification_data (ndarray) – Class data (unique integers) in 3d classification space.

  • regression_data (ndarray) – Regression output frmo 3d function.