{"cells":[{"metadata":{"_uuid":"52820554b5b1a4a6967120ac44ec019ea94fc3ac"},"cell_type":"markdown","source":"I am really struggling on this one due to a **complete lack of astronomical knowledge****.\nI tried Kullback-Liebler divergence to do my Genetic Proramming Clustering but found the clusters differ markedly between train and test.\nHere I decided to try straight GP clustering whereby I train a classifier on all 14 classes but only feed two coevolved hidden programs to them - this way I can just use the hidden programs to represent a 2d space."},{"metadata":{"trusted":true,"_uuid":"fb145e05c1af7d37e2241cfce90a44df103a651d"},"cell_type":"code","source":"import numpy as np # linear algebra\nimport pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)\nfrom sklearn.metrics import log_loss\nfrom sklearn.model_selection import StratifiedKFold\nimport gc\nimport os\nimport matplotlib.pyplot as plt\nimport seaborn as sns \nimport lightgbm as lgb\nimport itertools\nimport pickle, gzip\nimport glob\nfrom sklearn.preprocessing import StandardScaler\nfrom tsfresh.feature_extraction import extract_features","execution_count":null,"outputs":[]},{"metadata":{"trusted":true,"_uuid":"d691f754da0bf19f40adf1daec728a98cd74df7b"},"cell_type":"code","source":"def photoztodist(data) :\n    return ((((((np.log((((data[\"hostgal_photoz\"]) + (np.log((((data[\"hostgal_photoz\"]) + (np.sqrt((np.log((np.maximum(((3.0)), ((((data[\"hostgal_photoz\"]) * 2.0))))))))))))))))) + ((12.99870681762695312)))) + ((1.17613816261291504)))) * (3.0))\n\nfcp = {'fft_coefficient': [{'coeff': 0, 'attr': 'abs'},{'coeff': 1, 'attr': 'abs'}],'kurtosis' : None, 'skewness' : None}\ndef get_inputs(data, metadata):\n    agg_df_ts = None\n    agg_df_ts_detected = None\n    for i in range(10):\n        uniqueids = data.object_id.unique()[i::20]\n        df_ts = extract_features(data.loc[data.object_id.isin(uniqueids)], column_id='object_id', column_sort='mjd', column_kind='passband', column_value = 'flux', default_fc_parameters = fcp, n_jobs=4)\n        df_ts.index.rename('object_id',inplace=True)\n        df_ts.reset_index(drop=False,inplace=True)\n        df_ts_detected = extract_features(data.loc[(data.detected==1)&data.object_id.isin(uniqueids)], column_id='object_id', column_sort='mjd', column_kind='passband', column_value = 'flux', default_fc_parameters = fcp, n_jobs=4)\n        df_ts_detected.index.rename('object_id',inplace=True)\n        df_ts_detected.reset_index(drop=False,inplace=True)\n        if(agg_df_ts is None):\n            agg_df_ts = df_ts.copy()\n            agg_df_ts_detected = df_ts_detected.copy()\n        else:\n            agg_df_ts = pd.concat([agg_df_ts,df_ts.fillna(0)],sort=False)\n            agg_df_ts_detected = pd.concat([agg_df_ts_detected,df_ts_detected.fillna(0)],sort=False)\n        del df_ts, df_ts_detected\n        gc.collect()\n    for d in [0,1]:\n        for pb in range(6):\n            x = None\n            if(d==0):\n                x = data[(data.passband==pb)][['object_id','flux']].groupby(['object_id']).flux.mean().reset_index(drop=False)\n            else:\n                x = data[(data.passband==pb)&(data.detected==1)][['object_id','flux']].groupby(['object_id']).flux.mean().reset_index(drop=False)\n            x.columns = ['object_id','flux_d'+str(d)+'_pb'+str(pb)]  \n            metadata = metadata.merge(x,on='object_id',how='left')\n            del x\n            gc.collect()\n    \n    data['flux_ratio_sq'] = np.power(data['flux'] / data['flux_err'], 2.0)\n    data['flux_by_flux_ratio_sq'] = data['flux'] * data['flux_ratio_sq']\n    aggs = {\n        'mjd': ['min', 'max', 'size'],\n        'flux': ['min', 'max', 'mean', 'median', 'std','skew'],\n        'flux_err': ['min', 'max', 'mean', 'median', 'std','skew'],\n        'flux_ratio_sq':['sum','skew'],\n        'flux_by_flux_ratio_sq':['sum','skew'],\n    }\n    x = data[data.detected==1].groupby(['object_id']).agg(aggs)\n    new_columns = [\n            k + '_' + agg for k in aggs.keys() for agg in aggs[k]\n        ]\n    x.columns = new_columns\n\n    x['mjd_diff'] = x['mjd_max'] - x['mjd_min']\n    x['flux_diff'] = x['flux_max'] - x['flux_min']\n    x['flux_dif2'] = (x['flux_max'] - x['flux_min']) / x['flux_mean']\n    x['flux_w_mean'] = x['flux_by_flux_ratio_sq_sum'] / x['flux_ratio_sq_sum']\n    x['flux_dif3'] = (x['flux_max'] - x['flux_min']) / x['flux_w_mean']\n    del x['mjd_max'], x['mjd_min']\n    x.columns = ['detected_'+c for c in x.columns]\n    x = x.reset_index(drop=False)\n    aggs = {\n        'mjd': ['min', 'max', 'size'],\n        'flux': ['min', 'max', 'mean', 'median', 'std','skew'],\n        'flux_err': ['min', 'max', 'mean', 'median', 'std','skew'],\n        'detected': ['mean'],\n        'flux_ratio_sq':['sum','skew'],\n        'flux_by_flux_ratio_sq':['sum','skew'],\n    }\n\n    agg_data = data.groupby(['object_id']).agg(aggs)\n    new_columns = [\n        k + '_' + agg for k in aggs.keys() for agg in aggs[k]\n    ]\n    agg_data.columns = new_columns\n    agg_data['mjd_diff'] = agg_data['mjd_max'] - agg_data['mjd_min']\n    agg_data['flux_diff'] = agg_data['flux_max'] - agg_data['flux_min']\n    agg_data['flux_dif2'] = (agg_data['flux_max'] - agg_data['flux_min']) / agg_data['flux_mean']\n    agg_data['flux_w_mean'] = agg_data['flux_by_flux_ratio_sq_sum'] / agg_data['flux_ratio_sq_sum']\n    agg_data['flux_dif3'] = (agg_data['flux_max'] - agg_data['flux_min']) / agg_data['flux_w_mean']\n    del agg_data['mjd_max'], agg_data['mjd_min']\n    agg_data.reset_index(drop=False,inplace=True)\n    full_data = agg_data.merge(right=metadata, how='outer', on=['object_id'])\n    del full_data['hostgal_specz']\n    del full_data['ra'], full_data['decl'], full_data['gal_l'],full_data['gal_b']\n    del data, metadata\n    gc.collect()\n    full_data = full_data.merge(x,on=['object_id'],how='left')\n    full_data = full_data.merge(agg_df_ts,on=['object_id'],how='left')\n    full_data = full_data.merge(agg_df_ts_detected,on=['object_id'],how='left')\n    full_data.loc[full_data.distmod.isnull()&(full_data.hostgal_photoz!=0),'distmod'] = photoztodist(full_data.loc[full_data.distmod.isnull()&(full_data.hostgal_photoz!=0)])\n    full_data.loc[full_data.distmod.isnull()&(full_data.hostgal_photoz==0),'distmod'] = 0\n    return full_data","execution_count":null,"outputs":[]},{"metadata":{"trusted":true,"_uuid":"d000d267437678e72225c3cdc6c917f0be31f7ca"},"cell_type":"code","source":"customscale = np.array([0.16, 1.06, 1.14, 1.92, 1.71, 1.14, 0.71, 0.53, 0.55, 0.5 , 0.48,\n                        0.5 , 0.19, 0.2 , 1.73, 0.44, 6.78, 0.91, 0.1 , 1.06, 2.57, 2.51,\n                        1.22, 0.1 , 0.45, 0.28, 1.19, 0.16, 1.92, 2.07, 2.03, 2.02, 2.04,\n                        2.23, 1.65, 2.59, 2.58, 2.68, 2.81, 2.36, 0.94, 3.09, 1.79, 2.36,\n                        2.52, 1.58, 0.54, 0.57, 0.99, 0.73, 0.71, 0.87, 0.56, 2.09, 0.56,\n                        6.74, 0.63, 1.57, 1.86, 0.95, 2.52, 0.81, 1.51, 1.2 , 0.87, 0.57,\n                        1.99, 1.78, 1.12, 0.69, 1.73, 1.52, 1.09, 0.62, 1.61, 1.37, 1.07,\n                        0.62, 1.59, 1.26, 0.97, 0.6 , 1.55, 1.14, 0.81, 0.53, 1.91, 1.47,\n                        0.23, 0.16, 2.67, 2.34, 0.33, 0.25, 2.38, 2.55, 0.51, 0.4 , 2.59,\n                        2.51, 0.44, 0.35, 3.03, 2.5 , 0.37, 0.27, 2.82, 2.26, 0.27, 0.17])\n\ncustommean = np.array([ 4.86e+00, -4.44e+00,  4.87e+00,  1.42e+00,  5.97e-01,  3.51e+00,\n                        5.03e-01,  1.09e+00,  4.12e+00,  2.76e+00,  2.48e+00,  2.59e+00,\n                        8.87e-01,  9.83e-02,  7.06e+00,  1.97e+00,  9.01e+00,  1.82e+00,\n                        6.88e+00,  5.43e+00,  2.95e+00,  3.22e+00,  1.52e+00,  1.00e-02,\n                        5.16e-01,  1.54e-01,  3.34e+00,  9.19e-02,  3.00e-01,  7.93e-01,\n                        1.34e+00,  1.49e+00,  1.40e+00,  1.18e+00,  2.50e-01,  1.28e+00,\n                        2.62e+00,  2.52e+00,  1.76e+00,  6.51e-01,  1.90e+00,  2.19e+00,\n                        4.29e+00,  3.37e+00,  3.26e+00,  3.12e+00,  5.48e-02,  1.48e+00,\n                        2.44e+00,  2.00e+00,  1.91e+00,  1.33e+00,  3.57e-01,  6.53e+00,\n                        4.30e-01,  8.79e+00,  4.04e-01,  3.55e+00,  3.86e+00,  5.18e-01,\n                        3.47e+00,  4.59e-01,  3.61e+00,  3.81e+00,  2.59e-01,  1.25e-01,\n                        3.35e+00,  3.39e+00,  8.29e-01,  5.41e-01,  4.69e+00,  4.62e+00,\n                        1.32e+00,  8.51e-01,  4.88e+00,  4.83e+00,  1.07e+00,  7.17e-01,\n                        5.15e+00,  5.19e+00,  7.99e-01,  4.77e-01,  5.37e+00,  5.52e+00,\n                        5.02e-01,  1.88e-01,  6.41e-01,  3.55e-01, -5.65e-03,  1.40e-02,\n                        2.16e+00,  1.01e+00, -6.87e-03,  2.92e-02,  3.95e+00,  2.12e+00,\n                       -2.85e-02,  3.19e-02,  3.70e+00,  1.87e+00, -3.37e-02,  1.06e-02,\n                        2.74e+00,  1.40e+00, -3.77e-02,  4.01e-03,  1.36e+00,  7.93e-01,\n                       -3.63e-02,  6.69e-03])","execution_count":null,"outputs":[]},{"metadata":{"trusted":true,"_uuid":"abdd734f0955bfef10ab91b70434fe50fac5d3a2"},"cell_type":"code","source":"meta_train = pd.read_csv('../input/training_set_metadata.csv')\ntrain = pd.read_csv('../input/training_set.csv')","execution_count":null,"outputs":[]},{"metadata":{"trusted":true,"_uuid":"14ee9bad95de21ed785a4be5bb0b838d0daec8c3"},"cell_type":"code","source":"full_train = get_inputs(train,meta_train)","execution_count":null,"outputs":[]},{"metadata":{"trusted":true,"_uuid":"84d63c75e335ff168e375b7a45e0252944ac29dd"},"cell_type":"code","source":"if 'target' in full_train:\n    y = full_train['target']\n    del full_train['target']\n","execution_count":null,"outputs":[]},{"metadata":{"trusted":true,"_uuid":"14eb1806a36c72f961cb62fc7221a045fb06c8ba"},"cell_type":"code","source":"features = full_train.columns[1:]\nalldata = full_train[features].copy()\nfeatures = alldata.columns\nfor c in features:\n    print(c)\n    if(alldata[c].min()<0):\n        alldata.loc[~alldata[c].isnull(),c] = np.sign(alldata.loc[~alldata[c].isnull(),c])*np.log1p(np.abs(alldata.loc[~alldata[c].isnull(),c]))\n    elif((alldata[c].max()-alldata[c].min())>10):\n        alldata.loc[~alldata[c].isnull(),c] = np.log1p(alldata.loc[~alldata[c].isnull(),c])\nalldata.fillna(0,inplace=True)\nss = StandardScaler()\nss.scale_=customscale\nss.mean_=custommean\nalldata.loc[:,features] = ss.transform(alldata.loc[:,features])","execution_count":null,"outputs":[]},{"metadata":{"trusted":true,"_uuid":"d410cd9e0c7c84a384c325f63aa1d9a68a00993d"},"cell_type":"code","source":"full_train_ss = alldata","execution_count":null,"outputs":[]},{"metadata":{"_uuid":"2307dfa30097d06750f9a8cb1efd3622ffe7de93"},"cell_type":"markdown","source":"The following programs are the hidden ones"},{"metadata":{"trusted":true,"_uuid":"00226f1732b669a9197ab12900ff7b33754f3ea1"},"cell_type":"code","source":"full_train_ss.columns = [c.replace('\"','_')for c in full_train_ss.columns] #My program doesn't really like non-alpha numeric column names","execution_count":null,"outputs":[]},{"metadata":{"trusted":true,"_uuid":"aa17650cffd0aca3157566350c838a4c47f84752"},"cell_type":"code","source":"def GPx(data):\n    return ((((data[\"distmod\"]) + (((data[\"distmod\"]) + (((((data[\"detected_flux_by_flux_ratio_sq_skew\"]) + (1.570796))) + (((0.636620) + (data[\"distmod\"]))))))))) +\n(((((data[\"detected_flux_min\"]) + (1.0))) + ((((data[\"flux_min\"]) + (1.0))/2.0)))) +\n((((((((((0.95365786552429199)) + (data[\"distmod\"]))) + (((data[\"distmod\"]) + ((0.95365786552429199)))))) + ((0.95365786552429199)))) + ((0.95365786552429199)))) +\n(np.minimum(((data[\"3__fft_coefficient__coeff_0__attr__abs__y\"])), ((np.minimum(((data[\"flux_std\"])), ((data[\"4__skewness_x\"]))))))) +\n(((((((data[\"detected_flux_min\"]) + (data[\"detected_flux_min\"]))) + (data[\"flux_by_flux_ratio_sq_skew\"]))) + (((data[\"flux_by_flux_ratio_sq_skew\"]) + (data[\"flux_skew\"]))))) +\n(((((((data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]))/2.0)) + (data[\"flux_err_min\"]))/2.0)) +\n(((np.where(data[\"distmod\"] > -1, data[\"distmod\"], data[\"distmod\"] )) + (((np.where(3.141593 > -1, 3.0, data[\"distmod\"] )) + (data[\"distmod\"]))))) +\n(((data[\"distmod\"]) + ((((((((data[\"detected_flux_min\"]) + (data[\"detected_flux_min\"]))/2.0)) + (data[\"distmod\"]))) + (np.tanh((data[\"3__skewness_x\"]))))))) +\n(np.where(data[\"distmod\"] > -1, (1.74795663356781006), ((np.minimum(((data[\"distmod\"])), ((1.0)))) + (data[\"detected_flux_by_flux_ratio_sq_sum\"])) )) +\n((-1.0*((((data[\"flux_ratio_sq_skew\"]) + (((((-1.0*((data[\"flux_ratio_sq_skew\"])))) < (((data[\"flux_ratio_sq_skew\"]) + (data[\"4__kurtosis_x\"]))))*1.))))))) +\n(((3.141593) + (((((data[\"distmod\"]) + (data[\"distmod\"]))) + (((3.141593) + (data[\"distmod\"]))))))) +\n(np.minimum(((data[\"flux_d1_pb0\"])), ((((data[\"flux_d1_pb0\"]) + (data[\"0__fft_coefficient__coeff_1__attr__abs__x\"])))))) +\n(((((data[\"flux_by_flux_ratio_sq_skew\"]) * 2.0)) * 2.0)) +\n(np.where(data[\"distmod\"] > -1, ((((((data[\"flux_ratio_sq_skew\"]) - (data[\"distmod\"]))) - (2.0))) - (((data[\"detected_mjd_diff\"]) * 2.0))), data[\"flux_by_flux_ratio_sq_skew\"] )) +\n(((((((data[\"flux_min\"]) + (data[\"distmod\"]))) + (data[\"detected_flux_min\"]))) * 2.0)) +\n(((np.minimum(((((((data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]) + (data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]))) + (data[\"5__fft_coefficient__coeff_1__attr__abs__y\"])))), ((data[\"flux_err_mean\"])))) + (((data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]) + (data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]))))) +\n(((((data[\"detected_flux_min\"]) + (data[\"2__skewness_x\"]))) + (np.maximum(((((data[\"flux_skew\"]) + (((data[\"flux_skew\"]) + (data[\"4__skewness_x\"])))))), ((data[\"1__kurtosis_x\"])))))) +\n(((((((data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))) + (data[\"0__fft_coefficient__coeff_1__attr__abs__y\"]))) + (((data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))))) +\n(((((data[\"4__fft_coefficient__coeff_1__attr__abs__y\"]) + (((data[\"detected_mjd_size\"]) + (data[\"detected_mjd_size\"]))))) + (((data[\"detected_mean\"]) * 2.0)))) +\n(((np.where(data[\"5__fft_coefficient__coeff_1__attr__abs__y\"] > -1, data[\"4__fft_coefficient__coeff_1__attr__abs__x\"], np.where(data[\"5__fft_coefficient__coeff_1__attr__abs__y\"] > -1, data[\"5__fft_coefficient__coeff_1__attr__abs__y\"], np.minimum((((5.75092554092407227))), ((data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]))) ) )) * 2.0)) +\n(((((data[\"distmod\"]) + (1.0))) + (((data[\"flux_d1_pb4\"]) + ((((data[\"distmod\"]) + (data[\"detected_flux_min\"]))/2.0)))))) +\n(np.where(data[\"3__fft_coefficient__coeff_1__attr__abs__x\"]>0, data[\"5__fft_coefficient__coeff_1__attr__abs__x\"], np.minimum(((((data[\"detected_mjd_size\"]) * 2.0))), ((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]))) )) +\n(((((((data[\"4__skewness_x\"]) + (data[\"3__skewness_x\"]))) + (np.maximum((((((((data[\"3__skewness_x\"]) + (data[\"2__skewness_x\"]))/2.0)) * 2.0))), ((data[\"3__skewness_x\"])))))) * 2.0)) +\n(np.minimum(((((data[\"flux_err_min\"]) + (np.where(data[\"detected_flux_err_min\"] > -1, np.tanh((data[\"0__skewness_y\"])), ((data[\"flux_err_min\"]) + (data[\"flux_err_min\"])) ))))), ((data[\"5__fft_coefficient__coeff_0__attr__abs__y\"])))) +\n((((((((((data[\"3__skewness_x\"]) * 2.0)) * 2.0)) + (data[\"4__skewness_x\"]))/2.0)) + (((data[\"4__skewness_x\"]) + (data[\"4__skewness_x\"]))))) +\n(((data[\"distmod\"]) + (((((data[\"5__fft_coefficient__coeff_0__attr__abs__y\"]) + (((((data[\"detected_mean\"]) + (data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]))) + (data[\"distmod\"]))))) + (data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]))))) +\n(((2.0) + (((((data[\"distmod\"]) + (((1.570796) + (data[\"distmod\"]))))) + (data[\"distmod\"]))))) +\n(((data[\"detected_flux_w_mean\"]) + (((data[\"0__skewness_x\"]) + (((((data[\"detected_flux_max\"]) + (data[\"detected_flux_min\"]))) + (data[\"detected_flux_min\"]))))))) +\n(np.where(data[\"2__fft_coefficient__coeff_0__attr__abs__x\"]>0, ((data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]) * 2.0), ((((data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]) + (data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]))) * 2.0) )) +\n(((((data[\"1__skewness_x\"]) + (data[\"1__skewness_x\"]))) * 2.0)) +\n(((((data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]) + (data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]))) + (((((data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]) - (data[\"detected_flux_std\"]))) + (data[\"0__fft_coefficient__coeff_1__attr__abs__y\"]))))) +\n((((np.where(data[\"detected_mjd_size\"] > -1, data[\"detected_mjd_diff\"], data[\"detected_mjd_diff\"] )) + (data[\"detected_mjd_diff\"]))/2.0)) +\n(((data[\"detected_mjd_size\"]) + (np.minimum(((np.maximum(((data[\"detected_mjd_size\"])), ((data[\"detected_mjd_size\"]))))), ((data[\"detected_mjd_size\"])))))) +\n(((((((((((data[\"distmod\"]) + (data[\"distmod\"]))) + (data[\"detected_mjd_diff\"]))) + (data[\"distmod\"]))) + (data[\"distmod\"]))) + (data[\"distmod\"]))) +\n(((data[\"flux_err_min\"]) + (((((np.maximum(((data[\"flux_err_min\"])), ((data[\"flux_err_min\"])))) + (data[\"detected_mean\"]))) + (((data[\"flux_err_min\"]) + (data[\"flux_err_mean\"]))))))) +\n(((((data[\"distmod\"]) + (((data[\"distmod\"]) * 2.0)))) + (data[\"distmod\"]))) +\n(((data[\"hostgal_photoz\"]) + (((data[\"hostgal_photoz\"]) + (((data[\"hostgal_photoz\"]) * 2.0)))))) +\n(np.minimum(((data[\"detected_mjd_size\"])), ((((((data[\"4__fft_coefficient__coeff_1__attr__abs__y\"]) * 2.0)) + (data[\"4__fft_coefficient__coeff_1__attr__abs__y\"])))))) +\n(((((np.minimum(((data[\"detected_flux_min\"])), ((data[\"detected_mjd_diff\"])))) + (np.minimum(((data[\"flux_d1_pb0\"])), ((data[\"flux_d1_pb0\"])))))) + (data[\"distmod\"]))) +\n(((((data[\"5__fft_coefficient__coeff_0__attr__abs__y\"]) - (2.0))) + (np.minimum(((np.minimum(((data[\"5__fft_coefficient__coeff_0__attr__abs__y\"])), ((np.minimum(((data[\"flux_std\"])), ((data[\"flux_err_mean\"])))))))), ((data[\"flux_err_std\"])))))) +\n(((((data[\"detected_flux_mean\"]) + ((((((((data[\"detected_flux_min\"]) + (((data[\"detected_flux_min\"]) + (data[\"detected_flux_min\"]))))) + (data[\"detected_flux_min\"]))/2.0)) * 2.0)))) * 2.0)) +\n(((data[\"flux_err_mean\"]) + (np.minimum(((np.minimum(((((((data[\"flux_err_std\"]) + (data[\"4__skewness_x\"]))) * 2.0))), ((data[\"2__skewness_y\"]))))), ((data[\"3__kurtosis_y\"])))))) +\n((((data[\"hostgal_photoz\"]) + (data[\"hostgal_photoz\"]))/2.0)) +\n(((data[\"detected_mjd_diff\"]) + (np.tanh((data[\"detected_mjd_diff\"]))))) +\n((((((((np.where(data[\"distmod\"] > -1, 1.570796, ((data[\"distmod\"]) * 2.0) )) * 2.0)) + (1.0))/2.0)) * 2.0)) +\n(((((np.where(data[\"detected_mjd_size\"]>0, data[\"detected_mjd_size\"], data[\"detected_mjd_size\"] )) - (data[\"0__fft_coefficient__coeff_1__attr__abs__y\"]))) * 2.0)) +\n(np.minimum(((np.minimum(((data[\"1__fft_coefficient__coeff_1__attr__abs__y\"])), ((data[\"3__skewness_y\"]))))), ((data[\"flux_err_std\"])))) +\n(((((data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]) + ((((((data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"distmod\"]))/2.0)) + (np.minimum(((data[\"flux_mean\"])), ((data[\"detected_flux_min\"])))))))) - (data[\"detected_flux_std\"]))) +\n(np.minimum(((data[\"4__fft_coefficient__coeff_1__attr__abs__x\"])), ((((data[\"4__skewness_x\"]) + (((data[\"detected_flux_min\"]) + (np.minimum(((data[\"detected_flux_min\"])), ((data[\"detected_flux_min\"]))))))))))) +\n(((((((data[\"detected_mjd_diff\"]) + (data[\"flux_err_min\"]))) * 2.0)) + (((data[\"detected_mjd_diff\"]) + (data[\"detected_mjd_diff\"]))))) +\n(np.where(data[\"detected_mjd_diff\"] > -1, data[\"detected_mjd_diff\"], data[\"detected_mjd_diff\"] )) +\n(np.minimum(((data[\"3__skewness_y\"])), ((((((data[\"2__skewness_x\"]) - (data[\"0__fft_coefficient__coeff_1__attr__abs__y\"]))) + (data[\"3__skewness_y\"])))))) +\n((((((data[\"detected_mjd_diff\"]) + ((((((data[\"hostgal_photoz\"]) + (data[\"distmod\"]))) + (data[\"hostgal_photoz\"]))/2.0)))/2.0)) + (np.minimum(((data[\"hostgal_photoz\"])), ((data[\"hostgal_photoz\"])))))) +\n(((((data[\"detected_mjd_diff\"]) + (data[\"detected_flux_min\"]))) * 2.0)) +\n(np.minimum(((((np.tanh((data[\"flux_err_min\"]))) * 2.0))), ((data[\"flux_err_min\"])))) +\n(((((data[\"detected_flux_min\"]) + (data[\"3__fft_coefficient__coeff_1__attr__abs__x\"]))) + (data[\"2__skewness_x\"]))) +\n(np.where(data[\"detected_mjd_diff\"] > -1, data[\"detected_mjd_diff\"], ((data[\"detected_mjd_diff\"]) * 2.0) )) +\n(np.where(data[\"0__fft_coefficient__coeff_0__attr__abs__x\"] > -1, data[\"5__fft_coefficient__coeff_1__attr__abs__x\"], ((data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]) - (data[\"0__fft_coefficient__coeff_1__attr__abs__x\"])) )) +\n(np.tanh((((np.tanh((data[\"detected_mjd_diff\"]))) / 2.0)))) +\n(((data[\"2__skewness_x\"]) + (((data[\"flux_ratio_sq_skew\"]) + (data[\"2__skewness_x\"]))))) +\n(((((((((data[\"detected_flux_min\"]) + (data[\"hostgal_photoz\"]))) - (data[\"3__fft_coefficient__coeff_0__attr__abs__y\"]))) + (data[\"flux_d0_pb0\"]))) * 2.0)) +\n(((data[\"flux_d0_pb0\"]) - (np.where(data[\"flux_d0_pb0\"]>0, data[\"3__fft_coefficient__coeff_1__attr__abs__y\"], data[\"3__fft_coefficient__coeff_1__attr__abs__y\"] )))) +\n(np.where(((data[\"3__kurtosis_x\"]) + (data[\"3__kurtosis_x\"]))<0, ((np.minimum(((0.318310)), ((data[\"3__kurtosis_x\"])))) - (data[\"1__fft_coefficient__coeff_1__attr__abs__x\"])), data[\"3__kurtosis_x\"] )) +\n(((((data[\"flux_ratio_sq_skew\"]) + ((((data[\"flux_by_flux_ratio_sq_skew\"]) > (data[\"flux_ratio_sq_skew\"]))*1.)))) + (((data[\"flux_by_flux_ratio_sq_skew\"]) + (((data[\"flux_ratio_sq_skew\"]) + (data[\"flux_ratio_sq_skew\"]))))))) +\n(np.where(((np.where(data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]>0, data[\"2__skewness_x\"], data[\"0__fft_coefficient__coeff_0__attr__abs__y\"] )) + (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))>0, data[\"0__fft_coefficient__coeff_0__attr__abs__y\"], data[\"flux_by_flux_ratio_sq_skew\"] )) +\n((((((((data[\"flux_mean\"]) + (((data[\"hostgal_photoz\"]) * 2.0)))/2.0)) + (data[\"distmod\"]))) * 2.0)) +\n(np.where(data[\"0__kurtosis_y\"] > -1, data[\"3__skewness_x\"], ((data[\"flux_d1_pb5\"]) + (data[\"4__fft_coefficient__coeff_0__attr__abs__x\"])) )) +\n(((data[\"flux_d0_pb4\"]) - (((((data[\"2__kurtosis_x\"]) - (data[\"flux_d0_pb2\"]))) * (data[\"distmod\"]))))) +\n(((data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]) - ((((np.where(data[\"0__fft_coefficient__coeff_1__attr__abs__x\"] > -1, data[\"5__fft_coefficient__coeff_0__attr__abs__y\"], data[\"4__fft_coefficient__coeff_1__attr__abs__x\"] )) + (data[\"3__fft_coefficient__coeff_1__attr__abs__x\"]))/2.0)))) +\n(((((data[\"flux_by_flux_ratio_sq_skew\"]) - (data[\"flux_by_flux_ratio_sq_skew\"]))) + (((((data[\"flux_ratio_sq_skew\"]) - (data[\"detected_flux_by_flux_ratio_sq_skew\"]))) + (data[\"flux_by_flux_ratio_sq_skew\"]))))) +\n(((((((data[\"4__kurtosis_x\"]) + (data[\"4__kurtosis_x\"]))) + (data[\"detected_flux_err_median\"]))) + (((data[\"4__kurtosis_x\"]) - (data[\"0__skewness_x\"]))))) +\n(((((((data[\"detected_flux_min\"]) + (((data[\"distmod\"]) + (((data[\"flux_d0_pb0\"]) + (data[\"distmod\"]))))))) + (data[\"distmod\"]))) + (data[\"detected_flux_min\"]))) +\n(((np.where(data[\"distmod\"] > -1, (-1.0*((((data[\"hostgal_photoz\"]) * 2.0)))), ((data[\"hostgal_photoz\"]) - ((-1.0*((data[\"distmod\"]))))) )) - (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))) +\n(((np.minimum(((data[\"detected_mjd_diff\"])), ((data[\"2__kurtosis_y\"])))) + (((((data[\"detected_mjd_diff\"]) - (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))) + (data[\"3__kurtosis_x\"]))))) +\n(np.minimum(((np.minimum(((data[\"flux_err_min\"])), ((((data[\"detected_flux_max\"]) * (np.minimum(((data[\"flux_err_min\"])), ((np.minimum(((data[\"detected_flux_min\"])), ((data[\"detected_flux_min\"]))))))))))))), ((data[\"flux_err_min\"])))) +\n(((((data[\"1__skewness_x\"]) + (data[\"flux_err_mean\"]))) + (data[\"flux_d0_pb0\"]))) +\n(np.minimum(((data[\"5__skewness_y\"])), ((np.minimum(((np.minimum(((data[\"3__kurtosis_y\"])), ((data[\"5__skewness_y\"]))))), ((np.minimum(((data[\"detected_flux_err_mean\"])), ((data[\"3__kurtosis_y\"])))))))))) +\n(((data[\"1__skewness_x\"]) + (((((((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]) + ((-1.0*(((-1.0*((data[\"1__skewness_x\"]))))))))) + (data[\"1__skewness_x\"]))) + (data[\"1__skewness_x\"]))))) +\n(((((((data[\"detected_flux_median\"]) + ((((data[\"detected_flux_err_min\"]) + (data[\"flux_err_std\"]))/2.0)))/2.0)) + (data[\"1__skewness_x\"]))/2.0)) +\n(((data[\"distmod\"]) + (((data[\"distmod\"]) + (((1.0) + (2.0))))))) +\n(((((np.tanh((0.318310))) - (data[\"detected_mjd_diff\"]))) - (data[\"detected_mjd_diff\"]))) +\n(((((((data[\"flux_d0_pb3\"]) - (((data[\"detected_mean\"]) - (data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]))))) - (data[\"flux_std\"]))) - (data[\"flux_d0_pb0\"]))) +\n(((data[\"detected_mean\"]) + (data[\"hostgal_photoz\"]))) +\n(np.where(data[\"distmod\"] > -1, ((((((data[\"flux_by_flux_ratio_sq_skew\"]) - (data[\"flux_d1_pb0\"]))) - (data[\"distmod\"]))) - (-1.0)), data[\"distmod\"] )) +\n((((((((data[\"1__skewness_x\"]) + (data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]))) + (((((data[\"detected_flux_max\"]) + (data[\"2__skewness_x\"]))) + (data[\"4__skewness_x\"]))))) + (data[\"2__skewness_x\"]))/2.0)) +\n(((((((((3.0)) < (data[\"flux_d0_pb5\"]))*1.)) * 2.0)) - (data[\"distmod\"]))) +\n(((((((((data[\"detected_mjd_diff\"]) - (data[\"3__fft_coefficient__coeff_1__attr__abs__x\"]))) - (data[\"3__fft_coefficient__coeff_1__attr__abs__x\"]))) + (((data[\"detected_mjd_diff\"]) - (data[\"flux_ratio_sq_sum\"]))))) + (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))) +\n(((((((data[\"5__kurtosis_y\"]) + (data[\"ddf\"]))) - (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))) + (((data[\"detected_mjd_diff\"]) + (data[\"detected_mjd_diff\"]))))) +\n(((((((((data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"flux_d0_pb2\"]))) + (((data[\"flux_d0_pb4\"]) - (data[\"detected_flux_max\"]))))) - (data[\"detected_flux_max\"]))) * 2.0)) +\n(((np.where(data[\"3__fft_coefficient__coeff_1__attr__abs__x\"] > -1, data[\"5__kurtosis_x\"], ((((data[\"5__kurtosis_x\"]) - (data[\"5__kurtosis_x\"]))) - (data[\"5__kurtosis_x\"])) )) - (data[\"0__skewness_x\"]))) +\n(((((((((np.where(((((data[\"flux_skew\"]) / 2.0)) * 2.0)>0, data[\"4__skewness_x\"], data[\"4__fft_coefficient__coeff_0__attr__abs__y\"] )) + (data[\"1__skewness_y\"]))/2.0)) * 2.0)) + (data[\"flux_skew\"]))/2.0)) +\n(((np.where(0.636620 > -1, ((np.where(data[\"4__fft_coefficient__coeff_1__attr__abs__y\"] > -1, data[\"4__fft_coefficient__coeff_1__attr__abs__x\"], data[\"4__fft_coefficient__coeff_1__attr__abs__x\"] )) + (data[\"distmod\"])), data[\"4__fft_coefficient__coeff_1__attr__abs__y\"] )) - (data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]))) +\n(((((data[\"detected_flux_by_flux_ratio_sq_sum\"]) - (data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]))) - (data[\"hostgal_photoz_err\"]))) +\n(((((data[\"detected_flux_min\"]) + (((((np.minimum(((((data[\"flux_median\"]) * 2.0))), ((data[\"detected_flux_min\"])))) * 2.0)) * 2.0)))) * 2.0)) +\n(np.minimum(((((data[\"flux_err_min\"]) - (data[\"distmod\"])))), ((((data[\"flux_err_min\"]) + (((data[\"flux_err_min\"]) - (data[\"flux_err_std\"])))))))) +\n(np.where(data[\"detected_mjd_diff\"] > -1, np.where(data[\"hostgal_photoz\"] > -1, ((((data[\"distmod\"]) - (data[\"hostgal_photoz\"]))) - (data[\"distmod\"])), data[\"distmod\"] ), data[\"hostgal_photoz\"] )) +\n(np.minimum(((((data[\"detected_mjd_diff\"]) * (data[\"2__skewness_x\"])))), ((((data[\"detected_mjd_diff\"]) + (data[\"1__fft_coefficient__coeff_0__attr__abs__x\"])))))) +\n(np.where(((np.maximum(((data[\"hostgal_photoz\"])), ((data[\"detected_mjd_diff\"])))) * 2.0)>0, data[\"hostgal_photoz_err\"], (((data[\"flux_min\"]) + (data[\"flux_min\"]))/2.0) )) +\n(((np.minimum(((np.tanh((((np.tanh(((-1.0*((((data[\"mjd_diff\"]) * 2.0))))))) / 2.0))))), (((-1.0*((data[\"4__fft_coefficient__coeff_0__attr__abs__x\"]))))))) * (data[\"3__skewness_x\"]))) +\n(((((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]) * 2.0)) - (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))) +\n((-1.0*((np.where(np.where(data[\"0__fft_coefficient__coeff_0__attr__abs__y\"] > -1, data[\"0__fft_coefficient__coeff_0__attr__abs__y\"], data[\"0__fft_coefficient__coeff_0__attr__abs__y\"] ) > -1, data[\"0__fft_coefficient__coeff_0__attr__abs__y\"], data[\"0__fft_coefficient__coeff_0__attr__abs__y\"] ))))) +\n((((((((data[\"detected_flux_err_mean\"]) + ((((((data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"detected_flux_err_mean\"]))/2.0)) - (data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]))))/2.0)) - (data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]))) - (data[\"0__skewness_x\"]))) +\n(np.minimum(((data[\"3__skewness_x\"])), ((np.tanh((data[\"hostgal_photoz\"])))))) +\n(((np.where(data[\"distmod\"] > -1, ((data[\"flux_d0_pb4\"]) + (np.tanh((data[\"flux_skew\"])))), ((data[\"4__fft_coefficient__coeff_1__attr__abs__x\"]) - (data[\"flux_skew\"])) )) + (data[\"flux_d0_pb5\"]))) +\n(np.where(data[\"flux_d1_pb1\"]<0, np.where(data[\"1__fft_coefficient__coeff_0__attr__abs__y\"]<0, data[\"5__fft_coefficient__coeff_0__attr__abs__y\"], data[\"1__fft_coefficient__coeff_0__attr__abs__y\"] ), ((data[\"flux_d0_pb0\"]) - (data[\"2__fft_coefficient__coeff_1__attr__abs__x\"])) )) +\n((((((((data[\"detected_flux_err_min\"]) - (((data[\"detected_flux_err_max\"]) + (data[\"distmod\"]))))) + (((data[\"flux_err_min\"]) - (data[\"detected_flux_err_median\"]))))/2.0)) * 2.0)) +\n(((np.minimum(((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"])), ((data[\"5__skewness_x\"])))) + (((((((((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]) - (data[\"detected_flux_diff\"]))) * 2.0)) - (data[\"detected_flux_diff\"]))) * 2.0)))) +\n(((((((((((((data[\"distmod\"]) + (1.570796))) * 2.0)) + (1.570796))) * 2.0)) * 2.0)) * 2.0)) +\n(((((data[\"detected_mjd_diff\"]) + (((1.570796) + (data[\"detected_mjd_diff\"]))))) + (((0.318310) - (data[\"flux_max\"]))))) +\n(((((data[\"4__fft_coefficient__coeff_1__attr__abs__x\"]) - (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))) + (((data[\"detected_mjd_diff\"]) - (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))))) +\n(((np.where(data[\"flux_d0_pb0\"]>0, ((data[\"flux_d0_pb0\"]) - (data[\"hostgal_photoz\"])), ((data[\"mjd_diff\"]) - (data[\"hostgal_photoz\"])) )) - (data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]))) +\n(np.where(((data[\"4__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"detected_flux_w_mean\"])) > -1, ((((data[\"4__kurtosis_x\"]) * (data[\"2__fft_coefficient__coeff_0__attr__abs__y\"]))) / 2.0), np.tanh((data[\"2__fft_coefficient__coeff_0__attr__abs__x\"])) )) +\n(((((np.maximum(((data[\"2__skewness_x\"])), ((data[\"2__skewness_x\"])))) + (((data[\"1__skewness_x\"]) + (((data[\"flux_std\"]) - (data[\"detected_flux_ratio_sq_skew\"]))))))) + (data[\"2__skewness_x\"]))) +\n(((np.minimum(((((data[\"flux_d0_pb5\"]) - (data[\"detected_flux_std\"])))), ((((data[\"5__skewness_x\"]) + (data[\"detected_flux_min\"])))))) + (((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]) - (data[\"detected_flux_max\"]))))) +\n(((((data[\"1__fft_coefficient__coeff_0__attr__abs__x\"]) - (np.maximum(((data[\"hostgal_photoz\"])), (((-1.0*((data[\"1__fft_coefficient__coeff_0__attr__abs__x\"]))))))))) - (np.maximum(((((data[\"hostgal_photoz\"]) / 2.0))), ((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"])))))) +\n(((((data[\"5__kurtosis_x\"]) + (((data[\"5__kurtosis_x\"]) - (data[\"2__skewness_x\"]))))) - (data[\"5__kurtosis_x\"]))) +\n(((np.where(data[\"2__kurtosis_y\"]>0, np.minimum(((data[\"1__skewness_y\"])), ((data[\"3__kurtosis_x\"]))), data[\"4__kurtosis_x\"] )) - (data[\"5__kurtosis_y\"]))) +\n(((data[\"flux_err_min\"]) - (((data[\"flux_err_median\"]) - (((data[\"flux_err_min\"]) - (((data[\"flux_err_median\"]) - (data[\"flux_err_median\"]))))))))) +\n(((((((((data[\"distmod\"]) - (data[\"hostgal_photoz\"]))) - (data[\"hostgal_photoz\"]))) + ((((data[\"detected_mjd_diff\"]) + (data[\"distmod\"]))/2.0)))) * 2.0)) +\n(((np.maximum(((data[\"detected_flux_by_flux_ratio_sq_sum\"])), ((data[\"mjd_diff\"])))) * (data[\"mjd_diff\"]))) +\n(((np.minimum(((data[\"2__kurtosis_y\"])), ((((data[\"2__kurtosis_y\"]) + (data[\"4__skewness_y\"])))))) + (((data[\"3__skewness_y\"]) + (data[\"2__kurtosis_y\"]))))) +\n(((((((data[\"flux_d0_pb0\"]) + (data[\"detected_flux_err_min\"]))) + (((data[\"mjd_diff\"]) + (data[\"flux_d0_pb0\"]))))) + (data[\"detected_flux_min\"]))) +\n(((((((((data[\"flux_skew\"]) - (data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]))) * 2.0)) - (data[\"flux_median\"]))) - (((data[\"flux_median\"]) - (data[\"ddf\"]))))) +\n(np.where(np.tanh(((((data[\"2__kurtosis_x\"]) < (data[\"2__kurtosis_x\"]))*1.))) > -1, data[\"2__kurtosis_x\"], data[\"2__kurtosis_x\"] )) +\n(np.minimum(((data[\"5__kurtosis_y\"])), ((data[\"4__kurtosis_y\"])))) +\n(((np.where(data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]>0, data[\"flux_d1_pb4\"], (-1.0*((((data[\"flux_d0_pb2\"]) * (np.tanh((data[\"flux_dif2\"]))))))) )) + (data[\"3__fft_coefficient__coeff_0__attr__abs__x\"]))) +\n(((np.minimum(((np.minimum(((data[\"flux_skew\"])), ((data[\"4__fft_coefficient__coeff_1__attr__abs__y\"]))))), ((np.where(data[\"hostgal_photoz\"] > -1, data[\"hostgal_photoz\"], ((data[\"flux_skew\"]) * 2.0) ))))) * 2.0)) +\n((((((np.where(data[\"detected_flux_min\"]>0, (((((data[\"flux_std\"]) + (data[\"5__fft_coefficient__coeff_0__attr__abs__y\"]))/2.0)) * 2.0), data[\"4__fft_coefficient__coeff_1__attr__abs__y\"] )) + (data[\"1__skewness_y\"]))/2.0)) + (data[\"4__fft_coefficient__coeff_1__attr__abs__y\"]))) +\n(((((data[\"2__skewness_y\"]) + (np.where(data[\"2__skewness_y\"] > -1, data[\"2__skewness_y\"], data[\"2__skewness_y\"] )))) + (np.where(data[\"2__skewness_y\"] > -1, data[\"2__skewness_y\"], data[\"2__skewness_y\"] )))) +\n(np.where(data[\"5__skewness_y\"]<0, data[\"flux_err_min\"], (((((((((data[\"5__kurtosis_x\"]) * (data[\"0__skewness_y\"]))) - (data[\"0__skewness_y\"]))) + (data[\"4__skewness_x\"]))/2.0)) * 2.0) )) +\n(((data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]) - (np.where(data[\"1__fft_coefficient__coeff_0__attr__abs__y\"]>0, np.where(data[\"1__fft_coefficient__coeff_0__attr__abs__y\"] > -1, data[\"1__fft_coefficient__coeff_0__attr__abs__y\"], data[\"1__fft_coefficient__coeff_0__attr__abs__y\"] ), data[\"detected_flux_ratio_sq_sum\"] )))) +\n(np.maximum(((data[\"flux_dif3\"])), ((((data[\"hostgal_photoz_err\"]) + (data[\"1__skewness_y\"])))))) +\n(np.where(data[\"detected_flux_median\"]<0, np.where(data[\"4__fft_coefficient__coeff_0__attr__abs__x\"]<0, np.where(data[\"hostgal_photoz\"]<0, data[\"hostgal_photoz\"], data[\"flux_skew\"] ), data[\"hostgal_photoz\"] ), data[\"hostgal_photoz\"] )) +\n(((((np.maximum(((((data[\"distmod\"]) + (((data[\"distmod\"]) + (data[\"distmod\"])))))), ((data[\"flux_d0_pb1\"])))) + (data[\"distmod\"]))) + (data[\"distmod\"]))) +\n(np.where(((data[\"flux_d0_pb1\"]) - (np.tanh((data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]))))<0, data[\"mwebv\"], data[\"distmod\"] )) +\n(((data[\"flux_d0_pb1\"]) + (((((((data[\"flux_d1_pb0\"]) + (data[\"flux_err_std\"]))) + (((data[\"flux_err_std\"]) + (data[\"flux_d0_pb1\"]))))) + (data[\"mjd_diff\"]))))) +\n((((data[\"0__skewness_y\"]) + (((data[\"distmod\"]) - ((((((data[\"2__kurtosis_x\"]) - (data[\"flux_d0_pb5\"]))) > (((data[\"4__skewness_y\"]) / 2.0)))*1.)))))/2.0)) +\n(((np.where(data[\"0__kurtosis_x\"] > -1, data[\"0__kurtosis_x\"], ((data[\"detected_flux_err_min\"]) - (data[\"detected_flux_std\"])) )) - (data[\"detected_flux_std\"]))) +\n(((((data[\"hostgal_photoz_err\"]) - (data[\"detected_mean\"]))) + (((((data[\"flux_d0_pb5\"]) + (data[\"hostgal_photoz_err\"]))) - (data[\"hostgal_photoz\"]))))) +\n(((((np.where(data[\"hostgal_photoz\"] > -1, data[\"hostgal_photoz_err\"], ((data[\"hostgal_photoz\"]) * 2.0) )) - (np.tanh((data[\"hostgal_photoz\"]))))) * 2.0)) +\n(((((data[\"hostgal_photoz_err\"]) * (data[\"1__kurtosis_y\"]))) - (data[\"detected_flux_max\"]))) +\n(((np.where(((((data[\"distmod\"]) * 2.0)) + (data[\"distmod\"])) > -1, 1.570796, data[\"distmod\"] )) * 2.0)) +\n(((((data[\"mjd_diff\"]) * 2.0)) + (np.where(data[\"1__kurtosis_y\"]>0, ((data[\"0__skewness_x\"]) * 2.0), ((data[\"detected_flux_min\"]) + (((data[\"1__kurtosis_y\"]) * 2.0))) )))) +\n(((((((data[\"1__skewness_x\"]) - (data[\"flux_d1_pb1\"]))) + (((data[\"ddf\"]) - (((data[\"flux_d0_pb1\"]) * 2.0)))))) - (data[\"flux_d0_pb1\"]))) +\n(np.where((((data[\"detected_mjd_diff\"]) + (data[\"2__fft_coefficient__coeff_0__attr__abs__y\"]))/2.0) > -1, ((((data[\"detected_mjd_diff\"]) + (data[\"3__kurtosis_y\"]))) - (data[\"2__fft_coefficient__coeff_0__attr__abs__y\"])), data[\"detected_mjd_diff\"] )) +\n(np.where(data[\"3__fft_coefficient__coeff_0__attr__abs__y\"] > -1, (-1.0*((data[\"detected_flux_ratio_sq_skew\"]))), (-1.0*((((data[\"flux_err_std\"]) + (data[\"4__kurtosis_x\"]))))) )) +\n(((((((data[\"detected_flux_ratio_sq_skew\"]) - (data[\"detected_flux_ratio_sq_skew\"]))) - (data[\"0__fft_coefficient__coeff_0__attr__abs__x\"]))) - (data[\"detected_flux_ratio_sq_skew\"]))) +\n(((np.where(np.where(data[\"detected_flux_mean\"]<0, data[\"flux_diff\"], data[\"flux_diff\"] ) > -1, data[\"flux_diff\"], np.where(data[\"flux_dif2\"] > -1, data[\"flux_dif3\"], data[\"flux_diff\"] ) )) * 2.0)) +\n(((((((((np.where(data[\"flux_by_flux_ratio_sq_skew\"]<0, data[\"detected_flux_median\"], data[\"flux_diff\"] )) - (data[\"flux_median\"]))) * 2.0)) - (data[\"2__fft_coefficient__coeff_0__attr__abs__y\"]))) - (data[\"flux_median\"]))) +\n(np.where(((data[\"distmod\"]) - ((-1.0*((data[\"detected_mjd_diff\"]))))) > -1, ((((data[\"distmod\"]) - (data[\"hostgal_photoz\"]))) - (data[\"hostgal_photoz\"])), data[\"distmod\"] )) +\n(((np.where(data[\"distmod\"]<0, (((((data[\"distmod\"]) + (data[\"distmod\"]))/2.0)) * 2.0), data[\"distmod\"] )) + (((data[\"4__fft_coefficient__coeff_1__attr__abs__y\"]) + (data[\"distmod\"]))))) +\n(((np.maximum(((((((data[\"flux_d0_pb4\"]) / 2.0)) / 2.0))), ((((((data[\"1__fft_coefficient__coeff_0__attr__abs__x\"]) - (data[\"flux_ratio_sq_skew\"]))) / 2.0))))) - (data[\"detected_mjd_diff\"]))) +\n(((data[\"flux_d0_pb5\"]) + (((((((data[\"1__kurtosis_x\"]) + (((data[\"1__kurtosis_x\"]) - (data[\"detected_mean\"]))))) - (data[\"1__kurtosis_x\"]))) + (data[\"flux_w_mean\"]))))) +\n(((data[\"hostgal_photoz_err\"]) + (((np.where((((data[\"flux_d1_pb0\"]) < (data[\"detected_flux_ratio_sq_skew\"]))*1.) > -1, (-1.0*((data[\"detected_flux_ratio_sq_skew\"]))), data[\"hostgal_photoz_err\"] )) - (data[\"detected_flux_ratio_sq_skew\"]))))) +\n((((data[\"5__kurtosis_x\"]) + (np.tanh((data[\"1__skewness_y\"]))))/2.0)) +\n(np.where(((data[\"detected_flux_min\"]) + (data[\"0__skewness_x\"])) > -1, ((data[\"4__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"detected_flux_min\"])), data[\"detected_flux_min\"] )) +\n(((((((data[\"4__fft_coefficient__coeff_1__attr__abs__x\"]) - (data[\"flux_d0_pb0\"]))) + (((data[\"ddf\"]) + (data[\"3__fft_coefficient__coeff_1__attr__abs__y\"]))))) - (data[\"flux_d0_pb1\"]))) +\n(((((((((data[\"flux_skew\"]) < (np.tanh((data[\"3__skewness_x\"]))))*1.)) + (((data[\"detected_flux_skew\"]) - (data[\"flux_std\"]))))/2.0)) - (data[\"detected_flux_max\"]))) +\n(((((((data[\"flux_err_min\"]) - (data[\"flux_err_mean\"]))) + (data[\"flux_err_min\"]))) + (data[\"flux_err_min\"]))) +\n(((((((((data[\"hostgal_photoz_err\"]) + (data[\"flux_err_min\"]))) + ((((data[\"hostgal_photoz_err\"]) + (data[\"flux_err_min\"]))/2.0)))) + (data[\"flux_err_min\"]))) - (data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]))) +\n(((np.where(data[\"flux_d0_pb1\"]<0, ((data[\"4__kurtosis_x\"]) - (data[\"detected_flux_std\"])), data[\"detected_flux_std\"] )) - (data[\"flux_d0_pb1\"]))) +\n(np.where(data[\"2__fft_coefficient__coeff_0__attr__abs__y\"]<0, np.where(data[\"detected_mean\"] > -1, data[\"flux_err_max\"], data[\"5__kurtosis_x\"] ), np.minimum(((((((data[\"5__kurtosis_x\"]) * 2.0)) * 2.0))), ((data[\"5__kurtosis_x\"]))) )) +\n(((data[\"hostgal_photoz_err\"]) - (data[\"distmod\"]))) +\n(((np.minimum(((data[\"1__skewness_y\"])), ((((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]) - ((-1.0*((data[\"4__fft_coefficient__coeff_0__attr__abs__y\"]))))))))) - (data[\"4__fft_coefficient__coeff_1__attr__abs__y\"]))) +\n(np.where(data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]<0, ((data[\"flux_d1_pb1\"]) * 2.0), ((data[\"5__fft_coefficient__coeff_0__attr__abs__x\"]) - (data[\"flux_d0_pb3\"])) )) +\n(((np.where(data[\"detected_mjd_size\"]<0, np.where(data[\"4__fft_coefficient__coeff_0__attr__abs__x\"]<0, data[\"4__fft_coefficient__coeff_0__attr__abs__x\"], data[\"flux_dif2\"] ), data[\"flux_dif2\"] )) * 2.0)) +\n(np.where(data[\"hostgal_photoz\"]>0, ((np.where(data[\"flux_d0_pb5\"]>0, ((data[\"hostgal_photoz_err\"]) - (data[\"distmod\"])), data[\"hostgal_photoz\"] )) * 2.0), data[\"flux_d0_pb5\"] )) +\n(((((((np.where(data[\"distmod\"]>0, np.where(data[\"detected_flux_std\"]<0, data[\"flux_mean\"], data[\"hostgal_photoz_err\"] ), data[\"flux_mean\"] )) - (data[\"detected_flux_std\"]))) * 2.0)) * 2.0)) +\n(((((((((((data[\"3__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"detected_flux_max\"]))) * (data[\"5__kurtosis_x\"]))) - (data[\"detected_flux_ratio_sq_sum\"]))) - (data[\"distmod\"]))) - (data[\"detected_flux_ratio_sq_sum\"]))) +\n(np.where((((data[\"1__fft_coefficient__coeff_0__attr__abs__x\"]) < (data[\"flux_max\"]))*1.)>0, np.where(data[\"flux_dif2\"]>0, data[\"flux_max\"], np.tanh((data[\"flux_dif3\"])) ), data[\"flux_dif3\"] )) +\n(((data[\"0__fft_coefficient__coeff_1__attr__abs__y\"]) * (data[\"1__kurtosis_y\"]))) +\n(((((((0.0) - (data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]))) - (((data[\"detected_mjd_diff\"]) - (data[\"flux_err_skew\"]))))) * 2.0)) +\n(((((((((data[\"flux_err_max\"]) * 2.0)) + (data[\"hostgal_photoz_err\"]))) + (data[\"flux_err_mean\"]))) + (((data[\"flux_err_max\"]) - (data[\"4__fft_coefficient__coeff_0__attr__abs__x\"]))))) +\n(np.minimum(((np.minimum(((np.minimum(((data[\"1__skewness_x\"])), ((data[\"flux_d1_pb0\"]))))), ((data[\"flux_max\"]))))), ((data[\"3__fft_coefficient__coeff_1__attr__abs__y\"])))) +\n(((((data[\"3__skewness_y\"]) - (((data[\"1__kurtosis_x\"]) * 2.0)))) + (((data[\"1__skewness_y\"]) - (data[\"1__kurtosis_x\"]))))) +\n(((((((data[\"distmod\"]) > (data[\"flux_d0_pb3\"]))*1.)) < (data[\"distmod\"]))*1.)) +\n(((np.where(data[\"detected_flux_max\"]>0, ((((data[\"detected_flux_max\"]) * (data[\"flux_median\"]))) - (data[\"detected_mjd_diff\"])), (-1.0*((data[\"flux_ratio_sq_skew\"]))) )) * 2.0)) +\n(((((data[\"flux_skew\"]) - (data[\"detected_flux_max\"]))) + (((data[\"flux_skew\"]) * (((data[\"flux_err_min\"]) + (data[\"flux_err_min\"]))))))) +\n(((((data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"3__fft_coefficient__coeff_0__attr__abs__y\"]))) - (data[\"flux_skew\"]))) +\n((((((((data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]) > (data[\"0__skewness_x\"]))*1.)) * (np.minimum(((data[\"detected_flux_std\"])), ((data[\"flux_err_median\"])))))) + (data[\"5__kurtosis_x\"]))) +\n(((data[\"detected_flux_max\"]) + (np.where((((data[\"detected_flux_diff\"]) + (data[\"distmod\"]))/2.0)>0, ((((data[\"detected_flux_diff\"]) * 2.0)) - (data[\"1__fft_coefficient__coeff_1__attr__abs__y\"])), data[\"distmod\"] )))) +\n((((((data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]) * (data[\"flux_w_mean\"]))) + (((((data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]) * (data[\"detected_flux_w_mean\"]))) - ((((data[\"flux_w_mean\"]) + (data[\"0__skewness_x\"]))/2.0)))))/2.0)) +\n(((((data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]) - (data[\"1__fft_coefficient__coeff_0__attr__abs__x\"]))) - (((((data[\"1__fft_coefficient__coeff_0__attr__abs__x\"]) + (((data[\"1__fft_coefficient__coeff_0__attr__abs__x\"]) / 2.0)))) / 2.0)))) +\n(((((((((((data[\"flux_d0_pb0\"]) * (((data[\"ddf\"]) - (data[\"detected_flux_ratio_sq_skew\"]))))) - (data[\"detected_flux_std\"]))) * 2.0)) * 2.0)) - (data[\"detected_flux_std\"]))) +\n(((data[\"flux_err_max\"]) * (data[\"detected_flux_by_flux_ratio_sq_skew\"]))) +\n(np.where(np.tanh((data[\"flux_ratio_sq_skew\"]))>0, ((data[\"flux_skew\"]) * 2.0), data[\"distmod\"] )) +\n(((((data[\"distmod\"]) * ((-1.0*((((data[\"flux_d0_pb4\"]) * 2.0))))))) - (data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]))) +\n((-1.0*((((((data[\"distmod\"]) * (data[\"detected_flux_std\"]))) + (((((data[\"detected_mjd_diff\"]) + (data[\"4__fft_coefficient__coeff_1__attr__abs__y\"]))) * (data[\"distmod\"])))))))) +\n(((((((data[\"flux_d1_pb5\"]) * (0.0))) * 2.0)) * 2.0)) +\n(((data[\"flux_skew\"]) * (((data[\"flux_max\"]) + (data[\"0__skewness_x\"]))))) +\n(((np.where(data[\"3__fft_coefficient__coeff_1__attr__abs__x\"]>0, data[\"0__fft_coefficient__coeff_1__attr__abs__y\"], ((((((data[\"2__fft_coefficient__coeff_0__attr__abs__y\"]) * 2.0)) - (data[\"2__fft_coefficient__coeff_0__attr__abs__y\"]))) - (data[\"detected_flux_dif3\"])) )) - (data[\"2__fft_coefficient__coeff_0__attr__abs__y\"]))) +\n(np.tanh((((data[\"detected_flux_err_min\"]) * 2.0)))) +\n(((np.where(data[\"distmod\"]>0, data[\"flux_ratio_sq_skew\"], ((np.where(data[\"distmod\"] > -1, data[\"0__kurtosis_x\"], data[\"detected_flux_diff\"] )) - (data[\"flux_ratio_sq_skew\"])) )) - (data[\"detected_flux_diff\"]))) +\n(((np.tanh((data[\"detected_mjd_diff\"]))) - (((data[\"detected_mjd_diff\"]) - (((((data[\"2__skewness_x\"]) / 2.0)) - (data[\"detected_mjd_diff\"]))))))) +\n((-1.0*(((((((np.tanh((data[\"detected_mjd_diff\"]))) < (data[\"flux_median\"]))*1.)) * 2.0))))) +\n(((np.where(data[\"hostgal_photoz_err\"] > -1, data[\"hostgal_photoz_err\"], data[\"hostgal_photoz_err\"] )) + (data[\"flux_err_min\"]))) +\n(((data[\"1__fft_coefficient__coeff_1__attr__abs__y\"]) + (((data[\"detected_flux_by_flux_ratio_sq_skew\"]) + (((((data[\"detected_flux_by_flux_ratio_sq_skew\"]) + (data[\"1__skewness_y\"]))) + (data[\"detected_flux_by_flux_ratio_sq_skew\"]))))))) +\n((((data[\"0__fft_coefficient__coeff_0__attr__abs__x\"]) + (data[\"distmod\"]))/2.0)) +\n((((((((np.minimum(((data[\"detected_flux_by_flux_ratio_sq_skew\"])), ((data[\"detected_mjd_size\"])))) / 2.0)) + (data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]))/2.0)) / 2.0)) +\n(((np.minimum(((data[\"0__fft_coefficient__coeff_0__attr__abs__y\"])), ((np.minimum(((data[\"2__skewness_x\"])), (((((-1.0*((3.141593)))) / 2.0)))))))) - (data[\"distmod\"]))) +\n((-1.0*((np.where((((np.tanh((0.636620))) < (data[\"4__fft_coefficient__coeff_1__attr__abs__x\"]))*1.)<0, data[\"flux_dif2\"], (-1.0*((data[\"5__skewness_x\"]))) ))))) +\n(np.where(data[\"hostgal_photoz\"] > -1, ((((data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]) - (data[\"detected_flux_ratio_sq_sum\"]))) - (data[\"hostgal_photoz\"])), (-1.0*((data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]))) )) +\n(((np.where(data[\"distmod\"] > -1, ((((data[\"distmod\"]) * (((data[\"hostgal_photoz_err\"]) - (data[\"detected_mjd_diff\"]))))) - (data[\"1__fft_coefficient__coeff_1__attr__abs__y\"])), data[\"detected_mjd_diff\"] )) * 2.0)) +\n(np.tanh((np.minimum(((data[\"detected_flux_err_mean\"])), ((((data[\"1__kurtosis_x\"]) / 2.0))))))) +\n(np.where(np.where(data[\"flux_d0_pb3\"]<0, data[\"0__kurtosis_x\"], data[\"0__kurtosis_x\"] )<0, np.where(data[\"detected_flux_ratio_sq_sum\"]<0, data[\"flux_d0_pb3\"], data[\"0__kurtosis_x\"] ), data[\"5__kurtosis_x\"] )) +\n(((((((np.maximum(((data[\"2__fft_coefficient__coeff_1__attr__abs__x\"])), ((((data[\"flux_median\"]) - (data[\"flux_median\"])))))) + (data[\"flux_median\"]))) + (data[\"flux_median\"]))) - (data[\"flux_w_mean\"]))) +\n(((((((data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]) > (((((-1.0*((0.0)))) < (((data[\"flux_d0_pb3\"]) + (data[\"3__fft_coefficient__coeff_0__attr__abs__y\"]))))*1.)))*1.)) + (data[\"flux_ratio_sq_skew\"]))/2.0)) +\n(((np.where(data[\"4__skewness_x\"]<0, np.tanh((data[\"1__skewness_x\"])), ((data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]) * 2.0) )) - (data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]))) +\n(((((np.minimum(((data[\"1__skewness_y\"])), ((data[\"0__skewness_y\"])))) - (((data[\"3__kurtosis_x\"]) * 2.0)))) * 2.0)) +\n(np.where(1.0 > -1, data[\"flux_err_min\"], data[\"flux_d0_pb1\"] )) +\n(((((((data[\"detected_flux_err_median\"]) - (data[\"detected_flux_std\"]))) - (data[\"detected_flux_std\"]))) - (data[\"hostgal_photoz\"]))) +\n((-1.0*(((((data[\"2__fft_coefficient__coeff_1__attr__abs__y\"]) > (data[\"0__kurtosis_y\"]))*1.))))) +\n(np.minimum(((np.minimum(((data[\"4__fft_coefficient__coeff_1__attr__abs__x\"])), ((data[\"4__fft_coefficient__coeff_1__attr__abs__x\"]))))), ((np.where(data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]>0, data[\"5__kurtosis_x\"], np.where(data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]>0, data[\"4__fft_coefficient__coeff_1__attr__abs__x\"], data[\"flux_median\"] ) ))))) +\n(((np.where(data[\"detected_flux_err_mean\"] > -1, data[\"1__kurtosis_x\"], np.where(data[\"detected_flux_err_mean\"] > -1, data[\"1__kurtosis_x\"], np.where(data[\"detected_flux_err_mean\"] > -1, data[\"1__kurtosis_x\"], data[\"detected_flux_err_mean\"] ) ) )) * 2.0)) +\n(((((((((data[\"detected_flux_min\"]) * 2.0)) + (data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]))) * (data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]))) - (data[\"flux_d0_pb3\"]))) +\n(((((((data[\"flux_skew\"]) - (data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]))) + (((((data[\"flux_skew\"]) - (data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]))) * 2.0)))) - (data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]))) +\n(((((data[\"0__kurtosis_x\"]) - (data[\"flux_d0_pb0\"]))) + (((np.minimum(((((data[\"0__kurtosis_x\"]) + (data[\"1__kurtosis_y\"])))), ((data[\"3__fft_coefficient__coeff_1__attr__abs__x\"])))) - (data[\"flux_d0_pb0\"]))))) +\n((((((data[\"flux_skew\"]) / 2.0)) + ((((data[\"flux_err_skew\"]) + (data[\"flux_err_mean\"]))/2.0)))/2.0)) +\n(np.where(data[\"flux_d0_pb5\"]>0, np.where(((data[\"detected_flux_err_median\"]) * (data[\"5__skewness_x\"])) > -1, data[\"detected_flux_skew\"], ((data[\"distmod\"]) - (data[\"flux_d0_pb0\"])) ), data[\"ddf\"] )) +\n(((((((data[\"detected_flux_std\"]) - (data[\"detected_flux_min\"]))) - ((((data[\"flux_d0_pb1\"]) > (data[\"detected_flux_std\"]))*1.)))) - (data[\"detected_mjd_diff\"]))) +\n((-1.0*((((data[\"hostgal_photoz\"]) - (np.tanh((((np.tanh(((-1.0*((((data[\"detected_flux_max\"]) - (data[\"flux_dif3\"])))))))) * 2.0))))))))) +\n(((np.where(data[\"detected_mjd_diff\"] > -1, ((data[\"4__fft_coefficient__coeff_1__attr__abs__x\"]) - (data[\"1__fft_coefficient__coeff_1__attr__abs__y\"])), data[\"1__fft_coefficient__coeff_1__attr__abs__y\"] )) * 2.0)) +\n(np.where(data[\"flux_skew\"] > -1, ((data[\"5__kurtosis_x\"]) - (data[\"1__skewness_x\"])), ((((data[\"4__fft_coefficient__coeff_0__attr__abs__y\"]) * (data[\"flux_max\"]))) - (((data[\"4__fft_coefficient__coeff_0__attr__abs__y\"]) / 2.0))) )) +\n((((((data[\"detected_mean\"]) > (data[\"1__skewness_y\"]))*1.)) * (((data[\"detected_flux_err_median\"]) * 2.0)))) +\n(((((((((data[\"detected_mjd_size\"]) * (((data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]) * (data[\"flux_d1_pb3\"]))))) - (data[\"5__fft_coefficient__coeff_0__attr__abs__y\"]))) - (data[\"detected_mjd_diff\"]))) - (data[\"5__fft_coefficient__coeff_0__attr__abs__y\"]))) +\n(((((((data[\"flux_max\"]) - (data[\"flux_d0_pb5\"]))) * 2.0)) * 2.0)) +\n((((data[\"detected_flux_err_min\"]) + ((((((data[\"detected_mjd_diff\"]) > (((data[\"flux_by_flux_ratio_sq_sum\"]) * (data[\"detected_flux_err_min\"]))))*1.)) * 2.0)))/2.0)) +\n(((np.where(data[\"flux_ratio_sq_skew\"] > -1, np.minimum(((data[\"detected_mjd_diff\"])), ((((np.minimum(((data[\"flux_ratio_sq_skew\"])), ((data[\"flux_ratio_sq_skew\"])))) * 2.0)))), data[\"2__skewness_x\"] )) * 2.0)) +\n(np.where(data[\"detected_mjd_diff\"]>0, ((data[\"5__kurtosis_x\"]) - (data[\"0__fft_coefficient__coeff_1__attr__abs__x\"])), data[\"0__fft_coefficient__coeff_1__attr__abs__x\"] )) +\n(((np.where(((data[\"detected_flux_dif2\"]) - (data[\"detected_mjd_diff\"])) > -1, (((data[\"detected_flux_dif2\"]) < (data[\"detected_mjd_diff\"]))*1.), data[\"2__kurtosis_y\"] )) - (data[\"detected_flux_dif2\"]))) +\n(np.where(((data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]) - (data[\"0__skewness_x\"]))<0, ((((data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]) - (data[\"0__skewness_x\"]))) - (data[\"0__kurtosis_x\"])), data[\"0__skewness_x\"] )) +\n(((((data[\"flux_d0_pb0\"]) * ((((data[\"flux_d0_pb0\"]) + (data[\"flux_d0_pb3\"]))/2.0)))) - (data[\"2__fft_coefficient__coeff_1__attr__abs__y\"]))) +\n(np.where((((data[\"3__fft_coefficient__coeff_1__attr__abs__y\"]) + (((data[\"1__kurtosis_y\"]) * (data[\"flux_diff\"]))))/2.0)<0, ((0.318310) * (data[\"detected_flux_err_mean\"])), data[\"4__fft_coefficient__coeff_1__attr__abs__y\"] )) +\n((((-1.0*((np.where(data[\"flux_diff\"] > -1, (-1.0*(((-1.0*((data[\"detected_flux_min\"])))))), (-1.0*(((-1.0*((data[\"flux_by_flux_ratio_sq_skew\"])))))) ))))) + (data[\"1__fft_coefficient__coeff_1__attr__abs__y\"]))) +\n(((np.where(data[\"distmod\"] > -1, data[\"4__kurtosis_x\"], data[\"3__fft_coefficient__coeff_0__attr__abs__y\"] )) - (data[\"flux_d1_pb4\"]))) +\n(((data[\"detected_mjd_diff\"]) - (np.maximum(((((((((data[\"detected_mjd_diff\"]) < (data[\"detected_mjd_diff\"]))*1.)) < (data[\"3__skewness_x\"]))*1.))), ((((data[\"3__skewness_x\"]) + (data[\"2__fft_coefficient__coeff_1__attr__abs__x\"])))))))) +\n(((((((((data[\"flux_by_flux_ratio_sq_skew\"]) - (np.where(data[\"flux_skew\"] > -1, data[\"4__fft_coefficient__coeff_1__attr__abs__y\"], data[\"4__fft_coefficient__coeff_1__attr__abs__y\"] )))) - (data[\"flux_median\"]))) - (data[\"4__fft_coefficient__coeff_1__attr__abs__y\"]))) * 2.0)) +\n(((((data[\"distmod\"]) * (np.maximum(((data[\"hostgal_photoz_err\"])), ((np.maximum(((((data[\"distmod\"]) * (data[\"hostgal_photoz_err\"])))), ((data[\"hostgal_photoz_err\"]))))))))) - (data[\"distmod\"]))) +\n(((((((((((data[\"4__kurtosis_x\"]) - (data[\"2__kurtosis_y\"]))) * 2.0)) - (data[\"2__kurtosis_x\"]))) - (data[\"3__kurtosis_x\"]))) * 2.0)) +\n(((((((((data[\"hostgal_photoz_err\"]) - (data[\"flux_d0_pb0\"]))) - (data[\"flux_max\"]))) + (((data[\"0__kurtosis_x\"]) - (data[\"flux_d0_pb0\"]))))) - (data[\"flux_max\"]))) +\n(np.where(data[\"flux_d0_pb1\"]<0, data[\"1__fft_coefficient__coeff_1__attr__abs__x\"], 3.0 )) +\n(((data[\"flux_ratio_sq_skew\"]) * (((np.where(((data[\"2__kurtosis_x\"]) / 2.0)>0, np.tanh((data[\"distmod\"])), data[\"hostgal_photoz_err\"] )) / 2.0)))) +\n(((((np.where((((data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"detected_flux_min\"]))/2.0)>0, data[\"detected_flux_std\"], ((data[\"detected_flux_min\"]) * (data[\"1__fft_coefficient__coeff_1__attr__abs__x\"])) )) - (data[\"flux_d0_pb1\"]))) * 2.0)) +\n(((np.where(data[\"detected_mjd_diff\"] > -1, ((((data[\"detected_flux_dif2\"]) - (data[\"detected_mjd_diff\"]))) * (data[\"flux_max\"])), data[\"detected_flux_err_median\"] )) - (data[\"detected_mjd_diff\"]))) +\n(((((((data[\"2__skewness_x\"]) * (data[\"flux_d1_pb5\"]))) + (((((data[\"detected_flux_std\"]) - (data[\"2__skewness_x\"]))) - (data[\"2__skewness_x\"]))))) + (data[\"distmod\"]))) +\n(((np.where(((data[\"5__fft_coefficient__coeff_0__attr__abs__x\"]) * 2.0) > -1, data[\"2__fft_coefficient__coeff_0__attr__abs__y\"], ((((data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]) - (data[\"1__skewness_x\"]))) - (data[\"2__fft_coefficient__coeff_0__attr__abs__y\"])) )) * 2.0)) +\n((((data[\"mjd_diff\"]) > (data[\"hostgal_photoz\"]))*1.)) +\n(((((data[\"flux_d0_pb5\"]) * (data[\"flux_d1_pb2\"]))) * (((data[\"flux_max\"]) - (data[\"hostgal_photoz\"]))))) +\n(np.where(data[\"flux_max\"]>0, data[\"5__kurtosis_x\"], ((data[\"mwebv\"]) - (data[\"2__fft_coefficient__coeff_0__attr__abs__y\"])) )) +\n((((((data[\"detected_flux_mean\"]) * (data[\"detected_flux_mean\"]))) > (((data[\"detected_flux_mean\"]) * 2.0)))*1.)))\n\ndef GPy(data):\n    return ((((((data[\"flux_by_flux_ratio_sq_skew\"]) + (data[\"flux_by_flux_ratio_sq_skew\"]))) + (((((data[\"flux_by_flux_ratio_sq_skew\"]) + (data[\"4__skewness_x\"]))) + (data[\"flux_skew\"]))))) +\n(((((data[\"4__skewness_x\"]) + (((data[\"detected_flux_min\"]) + (data[\"4__skewness_x\"]))))) + (((data[\"detected_flux_min\"]) + (((data[\"4__skewness_x\"]) + (data[\"detected_flux_min\"]))))))) +\n(((((((data[\"distmod\"]) + (data[\"distmod\"]))) + (data[\"distmod\"]))) + ((((((data[\"distmod\"]) + (data[\"distmod\"]))) + (data[\"distmod\"]))/2.0)))) +\n(((((((data[\"flux_by_flux_ratio_sq_skew\"]) + (((((data[\"flux_by_flux_ratio_sq_skew\"]) + (data[\"detected_flux_min\"]))) + (data[\"detected_flux_min\"]))))) + (data[\"flux_by_flux_ratio_sq_skew\"]))) + (data[\"4__skewness_x\"]))) +\n((((data[\"flux_max\"]) + (data[\"flux_err_mean\"]))/2.0)) +\n(((((data[\"4__fft_coefficient__coeff_1__attr__abs__y\"]) + (((data[\"distmod\"]) + (((data[\"distmod\"]) + (data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]))))))) + (data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]))) +\n(((((((data[\"ddf\"]) + (data[\"5__fft_coefficient__coeff_0__attr__abs__y\"]))) + (data[\"1__fft_coefficient__coeff_1__attr__abs__y\"]))) * 2.0)) +\n(((((((data[\"2__skewness_x\"]) + (data[\"flux_by_flux_ratio_sq_skew\"]))) + (data[\"flux_skew\"]))) + (data[\"flux_by_flux_ratio_sq_skew\"]))) +\n(((np.maximum(((data[\"flux_d1_pb5\"])), ((np.maximum(((data[\"2__skewness_x\"])), ((1.0))))))) * 2.0)) +\n((((data[\"flux_skew\"]) + (((((data[\"flux_skew\"]) + (np.minimum(((data[\"flux_skew\"])), ((data[\"flux_skew\"])))))) + (((data[\"flux_skew\"]) + (data[\"flux_skew\"]))))))/2.0)) +\n((((((data[\"0__fft_coefficient__coeff_0__attr__abs__x\"]) > (data[\"mjd_size\"]))*1.)) - (data[\"detected_flux_skew\"]))) +\n(((((((((data[\"flux_err_min\"]) * 2.0)) + (data[\"flux_err_min\"]))) - (data[\"flux_err_min\"]))) - (data[\"flux_min\"]))) +\n(((((((data[\"distmod\"]) + (data[\"distmod\"]))) + (data[\"flux_d0_pb0\"]))) + (data[\"detected_flux_min\"]))) +\n(np.minimum(((data[\"3__fft_coefficient__coeff_0__attr__abs__x\"])), (((((data[\"flux_min\"]) + (data[\"flux_ratio_sq_skew\"]))/2.0))))) +\n(((data[\"flux_d0_pb4\"]) + (((((np.tanh((((data[\"detected_flux_min\"]) * 2.0)))) + (data[\"detected_flux_min\"]))) + (data[\"detected_flux_min\"]))))) +\n(np.maximum((((-1.0*((data[\"flux_ratio_sq_sum\"]))))), ((data[\"4__kurtosis_x\"])))) +\n(((0.636620) + ((((((((data[\"detected_mjd_diff\"]) + (data[\"flux_by_flux_ratio_sq_skew\"]))) + ((((0.0) + (data[\"flux_by_flux_ratio_sq_skew\"]))/2.0)))) < (data[\"detected_flux_w_mean\"]))*1.)))) +\n(np.where(data[\"detected_flux_max\"]>0, data[\"detected_flux_err_median\"], (((data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]) + ((((((data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"detected_flux_err_median\"]))) + (data[\"4__skewness_x\"]))/2.0)))/2.0) )) +\n(((data[\"distmod\"]) + (((np.minimum(((2.0)), ((data[\"distmod\"])))) + (((2.0) + (((data[\"distmod\"]) + (2.0))))))))) +\n(((data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]) + (((((((((data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"flux_err_min\"]))) * 2.0)) + (data[\"flux_err_min\"]))) + (data[\"flux_err_min\"]))))) +\n(np.tanh((np.where(data[\"flux_d0_pb5\"] > -1, np.where(data[\"detected_mean\"] > -1, data[\"2__kurtosis_x\"], ((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"flux_err_min\"])) ), data[\"1__fft_coefficient__coeff_0__attr__abs__x\"] )))) +\n(((data[\"flux_std\"]) - (np.where(2.0<0, 1.0, 1.570796 )))) +\n(((((data[\"4__skewness_x\"]) + (data[\"flux_skew\"]))) + (((data[\"hostgal_photoz\"]) + (data[\"4__skewness_x\"]))))) +\n(((data[\"flux_skew\"]) + (((data[\"1__skewness_x\"]) + (data[\"2__skewness_x\"]))))) +\n(((data[\"distmod\"]) + (np.maximum(((data[\"distmod\"])), (((((data[\"distmod\"]) + (data[\"distmod\"]))/2.0))))))) +\n(((data[\"flux_err_mean\"]) + ((((((data[\"detected_flux_skew\"]) + (data[\"flux_d1_pb0\"]))/2.0)) + (data[\"flux_err_mean\"]))))) +\n(((((np.tanh((((data[\"mjd_diff\"]) + (data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]))))) + (data[\"distmod\"]))) + ((((data[\"detected_flux_median\"]) + (data[\"distmod\"]))/2.0)))) +\n(((data[\"distmod\"]) + (data[\"detected_mjd_size\"]))) +\n(((((np.maximum(((0.636620)), ((data[\"distmod\"])))) + ((((data[\"detected_mjd_diff\"]) + (data[\"distmod\"]))/2.0)))) + (((0.318310) + (data[\"distmod\"]))))) +\n(np.minimum(((((np.minimum(((data[\"4__skewness_x\"])), ((np.minimum(((data[\"detected_flux_by_flux_ratio_sq_skew\"])), ((((data[\"3__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"hostgal_photoz\"]))))))))) + (data[\"5__fft_coefficient__coeff_1__attr__abs__x\"])))), ((data[\"4__fft_coefficient__coeff_1__attr__abs__x\"])))) +\n(np.where(np.minimum(((data[\"hostgal_photoz\"])), ((data[\"hostgal_photoz\"]))) > -1, data[\"hostgal_photoz\"], np.minimum(((data[\"hostgal_photoz\"])), ((np.minimum(((data[\"hostgal_photoz\"])), ((data[\"hostgal_photoz\"])))))) )) +\n(((data[\"2__skewness_x\"]) + (((((((data[\"4__skewness_x\"]) + (data[\"3__skewness_x\"]))) + (data[\"2__skewness_x\"]))) + (data[\"flux_err_mean\"]))))) +\n(np.minimum(((((((data[\"flux_skew\"]) * 2.0)) + (((data[\"flux_by_flux_ratio_sq_skew\"]) + (data[\"4__skewness_x\"])))))), ((((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"detected_flux_min\"])))))) +\n(((np.minimum(((np.where(data[\"distmod\"] > -1, (-1.0*((2.0))), data[\"5__fft_coefficient__coeff_1__attr__abs__x\"] ))), ((((data[\"4__fft_coefficient__coeff_1__attr__abs__y\"]) + (data[\"flux_err_median\"])))))) * 2.0)) +\n(np.where(data[\"detected_mjd_diff\"]>0, data[\"detected_mjd_diff\"], np.maximum(((data[\"detected_mjd_diff\"])), ((data[\"detected_mjd_diff\"]))) )) +\n(((data[\"3__skewness_x\"]) + (((data[\"4__skewness_x\"]) + (data[\"4__skewness_x\"]))))) +\n(((((data[\"flux_err_min\"]) - (((2.0) - (data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]))))) - (((((2.0) - (data[\"flux_err_min\"]))) - (2.0))))) +\n(((np.minimum(((((data[\"detected_flux_err_min\"]) + (data[\"detected_flux_err_min\"])))), ((data[\"detected_flux_err_min\"])))) * 2.0)) +\n(np.minimum(((np.minimum(((data[\"5__fft_coefficient__coeff_1__attr__abs__y\"])), ((np.minimum(((3.141593)), ((((data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]) - (3.141593)))))))))), ((((data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]) - (3.141593)))))) +\n(((np.where(((data[\"detected_mjd_size\"]) * 2.0) > -1, data[\"detected_mjd_size\"], data[\"detected_mjd_size\"] )) + (data[\"detected_mjd_size\"]))) +\n(((((data[\"detected_mjd_diff\"]) + (data[\"distmod\"]))) + (data[\"hostgal_photoz\"]))) +\n((((data[\"detected_mjd_diff\"]) + (data[\"detected_mjd_diff\"]))/2.0)) +\n(((np.minimum((((((((-1.0*((1.570796)))) - (data[\"distmod\"]))) - (data[\"distmod\"])))), (((-1.0*((1.570796))))))) - (data[\"distmod\"]))) +\n(((np.minimum(((((data[\"flux_err_std\"]) + (data[\"flux_err_std\"])))), ((((data[\"flux_err_std\"]) + (((data[\"2__skewness_x\"]) + (data[\"flux_err_std\"])))))))) + (data[\"2__skewness_x\"]))) +\n(np.minimum(((np.minimum(((data[\"3__skewness_y\"])), ((data[\"flux_err_std\"]))))), ((((np.minimum(((data[\"flux_err_std\"])), ((data[\"flux_err_std\"])))) + (data[\"3__skewness_y\"])))))) +\n(((((data[\"3__skewness_x\"]) + (np.maximum(((data[\"3__skewness_x\"])), ((data[\"detected_flux_min\"])))))) * 2.0)) +\n(np.where(data[\"distmod\"]<0, data[\"distmod\"], data[\"distmod\"] )) +\n(np.minimum(((((data[\"detected_mjd_diff\"]) + (((((data[\"detected_mjd_diff\"]) + (data[\"5__kurtosis_y\"]))) + (data[\"detected_mjd_diff\"])))))), ((data[\"detected_mjd_diff\"])))) +\n(((((((data[\"1__skewness_x\"]) + (data[\"flux_err_std\"]))) + (((data[\"flux_err_std\"]) + ((((data[\"1__skewness_x\"]) + (data[\"1__skewness_x\"]))/2.0)))))) + (data[\"1__skewness_x\"]))) +\n(np.minimum(((data[\"3__skewness_y\"])), ((np.minimum(((np.minimum(((np.minimum(((data[\"flux_err_std\"])), ((data[\"3__skewness_y\"]))))), ((data[\"detected_mean\"]))))), ((data[\"3__skewness_y\"]))))))) +\n(((((((data[\"detected_mean\"]) + (data[\"hostgal_photoz\"]))) * 2.0)) + (data[\"hostgal_photoz\"]))) +\n(((data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]) + (np.where(data[\"detected_mjd_diff\"] > -1, data[\"detected_mjd_diff\"], np.where(data[\"detected_mjd_diff\"] > -1, data[\"detected_mjd_diff\"], ((data[\"flux_d0_pb0\"]) + (data[\"detected_mjd_diff\"])) ) )))) +\n(((np.minimum(((np.where(data[\"distmod\"] > -1, np.where(data[\"4__fft_coefficient__coeff_1__attr__abs__x\"]>0, 2.0, ((data[\"5__kurtosis_x\"]) * 2.0) ), data[\"5__fft_coefficient__coeff_1__attr__abs__x\"] ))), ((data[\"5__kurtosis_x\"])))) * 2.0)) +\n(((data[\"flux_by_flux_ratio_sq_skew\"]) + (np.minimum(((((((data[\"detected_mjd_diff\"]) + (data[\"detected_mjd_diff\"]))) * 2.0))), ((((data[\"flux_by_flux_ratio_sq_skew\"]) * 2.0))))))) +\n(((((np.minimum(((data[\"detected_mjd_diff\"])), ((np.minimum(((data[\"detected_mjd_diff\"])), ((np.minimum(((data[\"detected_mjd_diff\"])), ((data[\"flux_by_flux_ratio_sq_skew\"])))))))))) * 2.0)) + (data[\"flux_ratio_sq_skew\"]))) +\n(((((data[\"5__kurtosis_x\"]) + (((data[\"flux_d0_pb5\"]) - (data[\"detected_flux_max\"]))))) - (data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]))) +\n(np.minimum(((data[\"flux_err_min\"])), (((((((np.where(data[\"flux_std\"] > -1, np.minimum(((data[\"flux_err_min\"])), ((data[\"5__kurtosis_x\"]))), data[\"flux_err_min\"] )) * 2.0)) + (data[\"flux_err_min\"]))/2.0))))) +\n(((((data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]) + (((((data[\"distmod\"]) + (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))) + (data[\"hostgal_photoz\"]))))) + (((data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]) + (data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]))))) +\n(((np.tanh((((((data[\"3__kurtosis_x\"]) + (data[\"3__kurtosis_x\"]))) * 2.0)))) + (data[\"3__kurtosis_x\"]))) +\n(np.minimum(((data[\"flux_err_mean\"])), ((np.minimum(((data[\"3__skewness_y\"])), ((((data[\"1__skewness_x\"]) + (data[\"3__skewness_y\"]))))))))) +\n(((((data[\"flux_err_min\"]) + (((data[\"detected_flux_min\"]) + (data[\"flux_err_min\"]))))) + (((data[\"detected_flux_min\"]) + (data[\"flux_err_min\"]))))) +\n(((((data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]) + (data[\"0__fft_coefficient__coeff_1__attr__abs__y\"]))) * 2.0)) +\n(((((data[\"hostgal_photoz\"]) * 2.0)) + (np.where(data[\"detected_mjd_diff\"] > -1, np.where(data[\"hostgal_photoz\"] > -1, data[\"detected_mjd_diff\"], data[\"hostgal_photoz\"] ), (10.79039764404296875) )))) +\n(np.where(data[\"distmod\"] > -1, ((data[\"flux_min\"]) - (data[\"hostgal_photoz\"])), ((data[\"distmod\"]) + (data[\"5__fft_coefficient__coeff_0__attr__abs__y\"])) )) +\n(((((data[\"flux_err_min\"]) - (data[\"detected_mjd_diff\"]))) - (data[\"detected_mjd_diff\"]))) +\n(((data[\"3__skewness_x\"]) + (((((((data[\"flux_max\"]) + (data[\"4__skewness_x\"]))) * 2.0)) + (data[\"flux_skew\"]))))) +\n(((np.where(data[\"hostgal_photoz\"] > -1, np.where(data[\"flux_skew\"] > -1, np.where(data[\"flux_skew\"] > -1, data[\"hostgal_photoz\"], data[\"hostgal_photoz\"] ), data[\"flux_skew\"] ), data[\"flux_skew\"] )) * 2.0)) +\n(np.where(((np.where(data[\"distmod\"] > -1, data[\"distmod\"], data[\"distmod\"] )) / 2.0) > -1, (4.0), data[\"distmod\"] )) +\n((((data[\"detected_flux_min\"]) + (data[\"0__fft_coefficient__coeff_1__attr__abs__y\"]))/2.0)) +\n(((np.minimum(((((data[\"0__skewness_x\"]) + (data[\"0__skewness_x\"])))), ((data[\"detected_flux_err_min\"])))) + (data[\"0__skewness_x\"]))) +\n(((data[\"3__skewness_x\"]) + (np.maximum(((((((((data[\"flux_skew\"]) * 2.0)) / 2.0)) + (data[\"5__fft_coefficient__coeff_1__attr__abs__x\"])))), ((data[\"flux_skew\"])))))) +\n(((data[\"detected_mjd_diff\"]) + (((np.where(np.minimum(((data[\"detected_mjd_diff\"])), ((data[\"detected_mjd_diff\"]))) > -1, data[\"flux_by_flux_ratio_sq_skew\"], data[\"detected_mjd_diff\"] )) - (data[\"flux_diff\"]))))) +\n((((-1.0*((((data[\"1__skewness_x\"]) - (((data[\"flux_d0_pb0\"]) + (data[\"1__skewness_x\"])))))))) + ((((((data[\"distmod\"]) * 2.0)) + (data[\"1__skewness_x\"]))/2.0)))) +\n(np.minimum(((np.tanh((np.minimum(((data[\"4__skewness_x\"])), ((data[\"flux_err_min\"]))))))), ((data[\"5__kurtosis_x\"])))) +\n((((((((((data[\"4__kurtosis_x\"]) - (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))) < (((data[\"4__kurtosis_x\"]) * 2.0)))*1.)) + (((data[\"4__kurtosis_x\"]) - (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))))) * 2.0)) +\n(((((data[\"distmod\"]) + (1.570796))) + (data[\"distmod\"]))) +\n(((data[\"5__fft_coefficient__coeff_0__attr__abs__y\"]) - (data[\"detected_mjd_diff\"]))) +\n(((np.minimum(((data[\"5__skewness_x\"])), ((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"])))) - (((data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]) - (((data[\"5__skewness_x\"]) - (data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]))))))) +\n(((((((((data[\"0__skewness_x\"]) - (data[\"4__fft_coefficient__coeff_1__attr__abs__y\"]))) + (data[\"detected_flux_min\"]))) + (data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]))) - (data[\"4__fft_coefficient__coeff_1__attr__abs__y\"]))) +\n(((((((data[\"hostgal_photoz\"]) + (((np.minimum(((data[\"hostgal_photoz\"])), (((((data[\"hostgal_photoz\"]) + (data[\"flux_d0_pb5\"]))/2.0))))) - (data[\"hostgal_photoz\"]))))/2.0)) + (data[\"hostgal_photoz\"]))/2.0)) +\n(((((((((data[\"hostgal_photoz\"]) + (np.minimum(((data[\"hostgal_photoz\"])), ((data[\"4__skewness_x\"])))))/2.0)) + (((data[\"4__fft_coefficient__coeff_0__attr__abs__x\"]) * 2.0)))/2.0)) + (data[\"hostgal_photoz\"]))) +\n(((data[\"4__fft_coefficient__coeff_1__attr__abs__x\"]) - ((((3.141593) + (((data[\"mjd_size\"]) / 2.0)))/2.0)))) +\n(np.minimum(((data[\"1__kurtosis_x\"])), ((data[\"1__kurtosis_x\"])))) +\n(np.where(data[\"hostgal_photoz\"] > -1, data[\"hostgal_photoz\"], data[\"flux_min\"] )) +\n(((((((data[\"3__kurtosis_y\"]) - (data[\"0__fft_coefficient__coeff_1__attr__abs__y\"]))) - (data[\"detected_flux_ratio_sq_skew\"]))) - (data[\"0__fft_coefficient__coeff_1__attr__abs__y\"]))) +\n(((((((((data[\"2__skewness_x\"]) - (data[\"detected_flux_err_mean\"]))) - (data[\"detected_flux_err_median\"]))) - (data[\"flux_std\"]))) - (((data[\"flux_d0_pb0\"]) - (data[\"detected_flux_err_mean\"]))))) +\n(((((data[\"flux_d0_pb5\"]) + (((data[\"distmod\"]) - (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))))) + (np.where(data[\"distmod\"] > -1, data[\"flux_d0_pb5\"], data[\"distmod\"] )))) +\n(((np.minimum(((((data[\"1__skewness_y\"]) + ((((data[\"detected_flux_max\"]) + (data[\"flux_skew\"]))/2.0))))), ((((data[\"flux_skew\"]) + (data[\"2__skewness_y\"])))))) + (data[\"detected_flux_max\"]))) +\n(np.minimum(((((((((data[\"detected_flux_min\"]) + (data[\"detected_flux_min\"]))) + (data[\"5__skewness_x\"]))) + (data[\"detected_flux_min\"])))), ((((data[\"detected_flux_min\"]) + (data[\"hostgal_photoz\"])))))) +\n((((data[\"detected_flux_std\"]) + (((((data[\"2__kurtosis_x\"]) - (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))) / 2.0)))/2.0)) +\n(((((((data[\"3__skewness_y\"]) - (np.maximum(((data[\"0__fft_coefficient__coeff_0__attr__abs__y\"])), ((data[\"flux_ratio_sq_skew\"])))))) - (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))) - (data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]))) +\n(((((data[\"hostgal_photoz_err\"]) - (data[\"flux_d1_pb0\"]))) + (((((data[\"4__skewness_y\"]) - (data[\"flux_d1_pb0\"]))) + (((data[\"hostgal_photoz_err\"]) + (data[\"3__skewness_y\"]))))))) +\n(((((((((data[\"detected_mjd_diff\"]) - (data[\"1__fft_coefficient__coeff_0__attr__abs__x\"]))) - (data[\"flux_max\"]))) - (data[\"hostgal_photoz\"]))) + (((data[\"detected_mjd_diff\"]) - (data[\"detected_flux_err_max\"]))))) +\n(np.where(data[\"detected_mjd_diff\"] > -1, ((((((data[\"4__kurtosis_x\"]) - (data[\"detected_mjd_diff\"]))) - (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))) - (data[\"detected_mjd_diff\"])), data[\"detected_mjd_diff\"] )) +\n(((((data[\"ddf\"]) - (((data[\"flux_d1_pb0\"]) * 2.0)))) - (data[\"detected_flux_std\"]))) +\n(np.where(np.where(data[\"2__kurtosis_x\"] > -1, data[\"4__kurtosis_y\"], data[\"4__kurtosis_x\"] ) > -1, data[\"detected_mjd_diff\"], np.where(data[\"detected_mjd_diff\"] > -1, data[\"2__kurtosis_x\"], data[\"4__kurtosis_y\"] ) )) +\n(((((((data[\"flux_d0_pb2\"]) + (((((data[\"flux_d0_pb2\"]) - (data[\"flux_d0_pb1\"]))) - (data[\"flux_d0_pb0\"]))))) * 2.0)) + (data[\"flux_d0_pb4\"]))) +\n(((np.tanh(((((-1.0*((data[\"distmod\"])))) * 2.0)))) - (((((data[\"detected_flux_std\"]) + (data[\"distmod\"]))) * 2.0)))) +\n(((((((data[\"1__skewness_x\"]) - (data[\"detected_flux_std\"]))) - (data[\"hostgal_photoz\"]))) * 2.0)) +\n(((((data[\"detected_mjd_diff\"]) - ((((data[\"4__skewness_x\"]) > (np.minimum((((((data[\"0__fft_coefficient__coeff_1__attr__abs__y\"]) > (data[\"4__skewness_x\"]))*1.))), ((2.0)))))*1.)))) * 2.0)) +\n(np.where(((data[\"distmod\"]) / 2.0) > -1, (((((((data[\"flux_dif2\"]) > (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))*1.)) - (data[\"distmod\"]))) - (data[\"distmod\"])), data[\"distmod\"] )) +\n(((data[\"0__skewness_x\"]) + (np.where(((data[\"4__kurtosis_x\"]) - ((((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"flux_by_flux_ratio_sq_skew\"]))/2.0))) > -1, data[\"distmod\"], data[\"distmod\"] )))) +\n((((((((data[\"detected_flux_dif2\"]) > (((data[\"detected_mjd_diff\"]) - ((((data[\"detected_mjd_diff\"]) > (data[\"detected_mjd_diff\"]))*1.)))))*1.)) - (data[\"detected_mjd_diff\"]))) * 2.0)) +\n(np.minimum(((np.minimum(((((data[\"0__fft_coefficient__coeff_1__attr__abs__y\"]) - (data[\"2__kurtosis_y\"])))), ((data[\"1__skewness_y\"]))))), ((data[\"detected_flux_max\"])))) +\n(np.maximum(((((np.tanh(((((((-1.0*((np.maximum(((data[\"detected_mjd_diff\"])), ((data[\"hostgal_photoz_err\"]))))))) * 2.0)) * (data[\"3__kurtosis_x\"]))))) / 2.0))), ((data[\"detected_flux_ratio_sq_skew\"])))) +\n(((((((data[\"flux_ratio_sq_skew\"]) + (data[\"flux_d0_pb1\"]))) - (data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]))) + (((data[\"flux_d0_pb0\"]) - (data[\"2__fft_coefficient__coeff_1__attr__abs__y\"]))))) +\n((((((np.tanh((np.where(data[\"distmod\"] > -1, data[\"4__skewness_x\"], data[\"3__fft_coefficient__coeff_0__attr__abs__x\"] )))) + (data[\"hostgal_photoz_err\"]))) + (data[\"distmod\"]))/2.0)) +\n((-1.0*((((data[\"flux_skew\"]) + ((((data[\"detected_flux_skew\"]) > (data[\"detected_flux_skew\"]))*1.))))))) +\n((((((((-1.0*((np.tanh((data[\"detected_flux_err_max\"])))))) - (((data[\"flux_max\"]) * 2.0)))) * 2.0)) - (data[\"detected_flux_err_max\"]))) +\n((((((((data[\"3__skewness_x\"]) - (data[\"5__fft_coefficient__coeff_0__attr__abs__y\"]))) + (((data[\"3__kurtosis_x\"]) + (((data[\"detected_flux_skew\"]) - (data[\"detected_flux_diff\"]))))))/2.0)) - (data[\"detected_flux_err_mean\"]))) +\n(np.where(((data[\"detected_flux_skew\"]) - (data[\"detected_mjd_diff\"]))<0, ((data[\"flux_by_flux_ratio_sq_skew\"]) - (data[\"detected_flux_max\"])), data[\"detected_flux_skew\"] )) +\n(((((((((data[\"0__skewness_x\"]) - (data[\"distmod\"]))) - (data[\"4__fft_coefficient__coeff_1__attr__abs__y\"]))) - (data[\"distmod\"]))) - (data[\"3__fft_coefficient__coeff_1__attr__abs__x\"]))) +\n((((((data[\"ddf\"]) + (0.636620))) + (data[\"detected_mjd_diff\"]))/2.0)) +\n(((((((((data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]) < (data[\"flux_d1_pb1\"]))*1.)) < (data[\"5__skewness_x\"]))*1.)) + (data[\"5__skewness_x\"]))) +\n((-1.0*((np.where(data[\"detected_mean\"]>0, ((data[\"4__fft_coefficient__coeff_1__attr__abs__x\"]) - (data[\"mjd_size\"])), data[\"detected_flux_std\"] ))))) +\n((((((data[\"0__kurtosis_x\"]) + (data[\"1__kurtosis_x\"]))/2.0)) + (data[\"1__kurtosis_x\"]))) +\n(((np.where(data[\"detected_flux_max\"] > -1, ((((((data[\"detected_flux_w_mean\"]) - (data[\"detected_mjd_diff\"]))) + (data[\"detected_flux_skew\"]))) - (data[\"detected_mjd_diff\"])), data[\"detected_mjd_diff\"] )) * 2.0)) +\n(((((((data[\"detected_flux_diff\"]) - (data[\"detected_flux_err_median\"]))) - (data[\"flux_d0_pb0\"]))) - (((data[\"detected_flux_err_mean\"]) * 2.0)))) +\n(((data[\"4__skewness_x\"]) - (data[\"1__fft_coefficient__coeff_0__attr__abs__y\"]))) +\n(((((np.where((((np.minimum(((data[\"hostgal_photoz_err\"])), ((data[\"detected_mjd_diff\"])))) + (data[\"distmod\"]))/2.0) > -1, data[\"flux_dif2\"], data[\"distmod\"] )) * 2.0)) * 2.0)) +\n(np.where(data[\"detected_flux_min\"] > -1, (((((data[\"flux_diff\"]) + (((np.where(data[\"hostgal_photoz\"] > -1, data[\"hostgal_photoz\"], data[\"detected_flux_min\"] )) * 2.0)))/2.0)) * 2.0), data[\"detected_flux_min\"] )) +\n(((((data[\"5__skewness_y\"]) - (((data[\"detected_mjd_diff\"]) * 2.0)))) - (data[\"flux_d0_pb5\"]))) +\n(np.where(np.tanh(((-1.0*((np.maximum(((data[\"1__fft_coefficient__coeff_1__attr__abs__x\"])), ((data[\"detected_flux_err_median\"]))))))))>0, data[\"5__fft_coefficient__coeff_0__attr__abs__x\"], np.where(data[\"3__skewness_x\"]>0, data[\"distmod\"], data[\"5__fft_coefficient__coeff_0__attr__abs__x\"] ) )) +\n(np.where(data[\"flux_dif2\"]<0, data[\"flux_dif2\"], np.where(((data[\"distmod\"]) * 2.0) > -1, data[\"flux_dif2\"], data[\"distmod\"] ) )) +\n(((((((data[\"flux_d0_pb2\"]) - (data[\"detected_flux_std\"]))) + (data[\"flux_median\"]))) + (((((data[\"flux_d0_pb2\"]) - (data[\"detected_flux_std\"]))) + (data[\"flux_median\"]))))) +\n(((((data[\"flux_err_min\"]) + (((((data[\"flux_err_min\"]) + (np.minimum(((data[\"detected_mean\"])), ((((data[\"flux_err_min\"]) - (data[\"flux_err_median\"])))))))) * 2.0)))) * 2.0)) +\n(np.where(data[\"hostgal_photoz\"] > -1, ((((data[\"detected_mjd_diff\"]) - (data[\"distmod\"]))) * 2.0), data[\"distmod\"] )) +\n(np.where(data[\"flux_skew\"] > -1, ((np.where(data[\"hostgal_photoz_err\"]>0, np.tanh((data[\"3__fft_coefficient__coeff_0__attr__abs__y\"])), data[\"flux_skew\"] )) - (data[\"hostgal_photoz_err\"])), data[\"flux_skew\"] )) +\n(np.where(((data[\"distmod\"]) / 2.0) > -1, ((((data[\"hostgal_photoz_err\"]) - ((2.19761300086975098)))) * (data[\"hostgal_photoz\"])), data[\"distmod\"] )) +\n(((data[\"detected_mjd_diff\"]) - (np.maximum(((data[\"4__fft_coefficient__coeff_0__attr__abs__y\"])), (((((((np.maximum(((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"])), ((data[\"4__fft_coefficient__coeff_0__attr__abs__y\"])))) - (data[\"detected_mjd_diff\"]))) < (data[\"3__fft_coefficient__coeff_1__attr__abs__x\"]))*1.))))))) +\n(np.where(data[\"5__kurtosis_x\"] > -1, np.where(data[\"3__fft_coefficient__coeff_1__attr__abs__x\"]>0, data[\"5__kurtosis_x\"], data[\"5__kurtosis_x\"] ), data[\"hostgal_photoz\"] )) +\n(((((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]) + (((data[\"5__fft_coefficient__coeff_0__attr__abs__y\"]) - (data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]))))) - (data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]))) +\n(((((data[\"flux_by_flux_ratio_sq_skew\"]) - (data[\"5__fft_coefficient__coeff_0__attr__abs__y\"]))) + (((((data[\"1__skewness_y\"]) - (data[\"5__fft_coefficient__coeff_0__attr__abs__y\"]))) * 2.0)))) +\n(((((((((((((((((((data[\"flux_dif2\"]) * 2.0)) * 2.0)) * 2.0)) * 2.0)) * 2.0)) * 2.0)) * 2.0)) * 2.0)) * 2.0)) +\n(((((data[\"detected_flux_min\"]) - (((data[\"detected_flux_std\"]) * 2.0)))) - (((((((data[\"detected_flux_std\"]) + (data[\"distmod\"]))) - (data[\"4__fft_coefficient__coeff_1__attr__abs__x\"]))) * 2.0)))) +\n(np.tanh((((data[\"flux_ratio_sq_skew\"]) - (data[\"flux_d0_pb4\"]))))) +\n((((((((data[\"flux_mean\"]) + ((((data[\"5__skewness_y\"]) + (data[\"flux_min\"]))/2.0)))/2.0)) - (data[\"detected_flux_max\"]))) * 2.0)) +\n((((((data[\"4__kurtosis_y\"]) + (data[\"2__kurtosis_y\"]))/2.0)) + (((((((data[\"2__kurtosis_y\"]) - (data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]))) + (data[\"distmod\"]))) + (data[\"2__kurtosis_y\"]))))) +\n(((data[\"5__skewness_x\"]) - (((data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]) - ((((data[\"3__kurtosis_y\"]) > (data[\"detected_mjd_diff\"]))*1.)))))) +\n((((((((data[\"4__kurtosis_x\"]) - (data[\"flux_d1_pb1\"]))) + (data[\"4__kurtosis_x\"]))/2.0)) - (data[\"flux_d1_pb1\"]))) +\n(((((np.where(data[\"3__kurtosis_y\"] > -1, data[\"3__kurtosis_y\"], np.where((0.98831200599670410)<0, data[\"3__kurtosis_y\"], data[\"3__kurtosis_y\"] ) )) - (data[\"flux_by_flux_ratio_sq_skew\"]))) - (data[\"0__fft_coefficient__coeff_1__attr__abs__y\"]))) +\n(((data[\"detected_flux_skew\"]) + (data[\"3__skewness_y\"]))) +\n(np.where(np.where(data[\"5__fft_coefficient__coeff_1__attr__abs__x\"] > -1, data[\"detected_mjd_diff\"], ((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]) - (data[\"5__fft_coefficient__coeff_1__attr__abs__x\"])) ) > -1, ((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]) - (data[\"1__fft_coefficient__coeff_1__attr__abs__y\"])), data[\"detected_mjd_diff\"] )) +\n(((np.tanh((np.where(np.minimum(((data[\"5__kurtosis_x\"])), ((data[\"2__kurtosis_x\"])))<0, data[\"flux_dif3\"], data[\"flux_d0_pb3\"] )))) * 2.0)) +\n(((((data[\"5__kurtosis_y\"]) - (((data[\"detected_flux_diff\"]) - (data[\"mwebv\"]))))) - (data[\"detected_flux_diff\"]))) +\n(np.where(data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]>0, np.minimum(((np.minimum(((np.minimum(((data[\"0__skewness_x\"])), ((data[\"flux_diff\"]))))), ((data[\"flux_skew\"]))))), ((data[\"0__skewness_x\"]))), data[\"4__fft_coefficient__coeff_1__attr__abs__y\"] )) +\n(((((data[\"5__kurtosis_y\"]) + (((data[\"flux_median\"]) + (((data[\"3__skewness_y\"]) + (data[\"1__kurtosis_y\"]))))))) * 2.0)) +\n((((((data[\"flux_diff\"]) + ((((data[\"flux_skew\"]) + (((data[\"0__fft_coefficient__coeff_0__attr__abs__y\"]) - (data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]))))/2.0)))/2.0)) - (data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]))) +\n(((((data[\"flux_ratio_sq_skew\"]) - (data[\"flux_by_flux_ratio_sq_skew\"]))) * (((((((data[\"flux_d1_pb2\"]) + (data[\"flux_err_min\"]))/2.0)) + (((data[\"distmod\"]) - (data[\"flux_err_min\"]))))/2.0)))) +\n(((((np.tanh((((data[\"0__skewness_x\"]) * (data[\"distmod\"]))))) * 2.0)) * (data[\"1__fft_coefficient__coeff_0__attr__abs__x\"]))) +\n(((((data[\"flux_max\"]) * (np.tanh((data[\"detected_flux_err_mean\"]))))) / 2.0)) +\n(((((data[\"3__skewness_x\"]) - (((data[\"detected_flux_ratio_sq_skew\"]) - (data[\"2__skewness_y\"]))))) - (((data[\"detected_flux_ratio_sq_skew\"]) - (((data[\"detected_flux_ratio_sq_skew\"]) - (data[\"detected_flux_ratio_sq_skew\"]))))))) +\n(np.where(data[\"distmod\"]<0, (((data[\"4__skewness_x\"]) + (((data[\"distmod\"]) + (((data[\"hostgal_photoz_err\"]) * (data[\"hostgal_photoz_err\"]))))))/2.0), data[\"hostgal_photoz_err\"] )) +\n(((((((((data[\"0__kurtosis_x\"]) + (data[\"flux_median\"]))) + (data[\"flux_median\"]))) + (((data[\"flux_median\"]) + (data[\"4__kurtosis_y\"]))))) * 2.0)) +\n((((-1.0*((np.where(data[\"distmod\"] > -1, ((data[\"distmod\"]) + (data[\"2__fft_coefficient__coeff_1__attr__abs__y\"])), data[\"flux_by_flux_ratio_sq_skew\"] ))))) * 2.0)) +\n(np.where(data[\"detected_mjd_size\"] > -1, np.where(data[\"distmod\"] > -1, ((data[\"flux_d0_pb1\"]) - (data[\"2__fft_coefficient__coeff_1__attr__abs__y\"])), data[\"2__fft_coefficient__coeff_1__attr__abs__y\"] ), data[\"4__fft_coefficient__coeff_1__attr__abs__y\"] )) +\n(((((data[\"0__kurtosis_x\"]) - (data[\"detected_flux_std\"]))) - (data[\"flux_d0_pb0\"]))) +\n(((((((data[\"2__skewness_x\"]) - (data[\"flux_d0_pb5\"]))) + (np.where(data[\"1__skewness_y\"]<0, ((data[\"2__skewness_x\"]) - (data[\"flux_d0_pb5\"])), data[\"detected_flux_skew\"] )))) * 2.0)) +\n(((np.where(data[\"hostgal_photoz\"]>0, ((data[\"hostgal_photoz_err\"]) - (((data[\"hostgal_photoz_err\"]) - (data[\"hostgal_photoz_err\"])))), data[\"flux_d0_pb4\"] )) - (data[\"detected_flux_std\"]))) +\n(((data[\"detected_flux_min\"]) + (data[\"detected_mjd_diff\"]))) +\n(((((data[\"flux_dif2\"]) * 2.0)) / 2.0)) +\n(((np.where(np.where(((data[\"detected_mjd_diff\"]) - (data[\"detected_mjd_diff\"])) > -1, data[\"detected_mjd_diff\"], data[\"flux_err_mean\"] )>0, data[\"detected_flux_skew\"], data[\"flux_err_mean\"] )) - (data[\"detected_mjd_diff\"]))) +\n(((np.minimum(((data[\"5__fft_coefficient__coeff_0__attr__abs__x\"])), ((((data[\"flux_std\"]) - (data[\"detected_mean\"])))))) + (((data[\"flux_skew\"]) * (((data[\"hostgal_photoz\"]) + (data[\"hostgal_photoz\"]))))))) +\n(np.where(data[\"distmod\"]>0, ((((data[\"distmod\"]) * (data[\"3__kurtosis_x\"]))) - (data[\"4__fft_coefficient__coeff_1__attr__abs__y\"])), ((data[\"distmod\"]) * (data[\"3__kurtosis_x\"])) )) +\n(np.where(data[\"flux_d0_pb1\"] > -1, ((data[\"flux_d0_pb0\"]) - (data[\"2__fft_coefficient__coeff_1__attr__abs__y\"])), np.where(data[\"flux_d0_pb0\"] > -1, ((data[\"flux_d0_pb0\"]) - (data[\"flux_d0_pb0\"])), data[\"2__fft_coefficient__coeff_1__attr__abs__y\"] ) )) +\n((((data[\"distmod\"]) + ((-1.0*((data[\"2__kurtosis_x\"])))))/2.0)) +\n(np.where(data[\"3__skewness_y\"]<0, ((data[\"0__skewness_x\"]) / 2.0), np.where(data[\"4__fft_coefficient__coeff_1__attr__abs__x\"] > -1, np.where(data[\"0__skewness_x\"] > -1, data[\"0__skewness_x\"], data[\"0__skewness_x\"] ), data[\"0__skewness_x\"] ) )) +\n(((data[\"detected_flux_diff\"]) + (((((data[\"distmod\"]) + (data[\"distmod\"]))) + (data[\"flux_diff\"]))))) +\n(((data[\"1__fft_coefficient__coeff_0__attr__abs__x\"]) - (data[\"3__fft_coefficient__coeff_0__attr__abs__x\"]))) +\n(np.minimum(((((data[\"mjd_diff\"]) * 2.0))), ((data[\"mjd_diff\"])))) +\n(((np.where(np.where(data[\"1__fft_coefficient__coeff_0__attr__abs__x\"]>0, (((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]) + (data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]))/2.0), data[\"2__fft_coefficient__coeff_1__attr__abs__x\"] )>0, data[\"5__fft_coefficient__coeff_1__attr__abs__x\"], data[\"5__fft_coefficient__coeff_0__attr__abs__y\"] )) - (data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]))) +\n(((((data[\"flux_by_flux_ratio_sq_skew\"]) - (np.tanh((np.minimum(((data[\"2__fft_coefficient__coeff_1__attr__abs__x\"])), ((np.tanh((data[\"hostgal_photoz\"])))))))))) * (((data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]) * 2.0)))) +\n(np.where(data[\"hostgal_photoz\"] > -1, (-1.0*((data[\"detected_flux_ratio_sq_sum\"]))), np.where(data[\"4__kurtosis_x\"] > -1, data[\"flux_dif3\"], ((data[\"hostgal_photoz\"]) * (data[\"detected_flux_min\"])) ) )) +\n(np.where(((data[\"distmod\"]) + (data[\"detected_flux_diff\"]))<0, ((data[\"distmod\"]) - (data[\"detected_flux_diff\"])), data[\"flux_diff\"] )) +\n(((((data[\"2__kurtosis_y\"]) - (data[\"detected_flux_diff\"]))) - (data[\"detected_flux_ratio_sq_sum\"]))) +\n(((((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]) - (data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]))) - (((np.maximum(((np.maximum(((data[\"1__fft_coefficient__coeff_1__attr__abs__x\"])), ((data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]))))), ((data[\"flux_max\"])))) - (data[\"5__fft_coefficient__coeff_0__attr__abs__y\"]))))) +\n(((data[\"detected_mjd_diff\"]) - (np.where(data[\"distmod\"] > -1, data[\"flux_err_skew\"], (((((data[\"detected_flux_median\"]) / 2.0)) + (data[\"detected_mjd_diff\"]))/2.0) )))) +\n(((((np.where(data[\"0__skewness_x\"]>0, data[\"5__skewness_x\"], data[\"1__skewness_x\"] )) + (data[\"1__skewness_x\"]))) + (((data[\"0__skewness_x\"]) + (data[\"1__skewness_x\"]))))) +\n(((((data[\"flux_err_min\"]) * 2.0)) - (data[\"detected_flux_max\"]))) +\n(((((data[\"flux_dif3\"]) + (((((data[\"2__fft_coefficient__coeff_1__attr__abs__y\"]) * (data[\"3__kurtosis_x\"]))) - (data[\"4__fft_coefficient__coeff_1__attr__abs__y\"]))))) + (data[\"hostgal_photoz_err\"]))) +\n(np.where(data[\"distmod\"] > -1, ((data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]) - (2.0)), ((((data[\"2__skewness_x\"]) - (data[\"distmod\"]))) - (data[\"2__fft_coefficient__coeff_0__attr__abs__x\"])) )) +\n(((((data[\"ddf\"]) - (np.where(data[\"flux_ratio_sq_sum\"] > -1, data[\"flux_d1_pb0\"], data[\"ddf\"] )))) - (np.where(data[\"hostgal_photoz\"] > -1, data[\"hostgal_photoz\"], data[\"flux_ratio_sq_sum\"] )))) +\n((((data[\"flux_err_skew\"]) + ((-1.0*(((((-1.0*(((((-1.0*((((data[\"flux_ratio_sq_skew\"]) - (data[\"flux_median\"])))))) / 2.0))))) - (data[\"detected_mean\"])))))))/2.0)) +\n(((((data[\"distmod\"]) * (data[\"distmod\"]))) - (data[\"hostgal_photoz\"]))) +\n(((((((data[\"hostgal_photoz\"]) + (((data[\"hostgal_photoz\"]) * 2.0)))) + (np.where(data[\"hostgal_photoz\"] > -1, data[\"flux_std\"], data[\"hostgal_photoz\"] )))) * (data[\"4__skewness_x\"]))) +\n(((((np.where(((data[\"5__kurtosis_x\"]) / 2.0) > -1, data[\"5__kurtosis_x\"], data[\"5__kurtosis_x\"] )) * (data[\"4__fft_coefficient__coeff_1__attr__abs__x\"]))) - (data[\"flux_d0_pb0\"]))) +\n((((((((((data[\"flux_skew\"]) + (data[\"flux_d1_pb1\"]))/2.0)) * (data[\"2__fft_coefficient__coeff_1__attr__abs__y\"]))) - (((data[\"detected_mjd_diff\"]) * (data[\"detected_mjd_diff\"]))))) - (data[\"flux_d1_pb1\"]))) +\n(((((np.where(data[\"distmod\"] > -1, data[\"flux_ratio_sq_skew\"], np.where(data[\"flux_err_skew\"] > -1, data[\"flux_err_min\"], data[\"flux_err_skew\"] ) )) - (data[\"detected_flux_std\"]))) - (data[\"distmod\"]))) +\n(np.where(((data[\"detected_mjd_diff\"]) / 2.0) > -1, ((data[\"detected_mjd_diff\"]) - (data[\"3__fft_coefficient__coeff_1__attr__abs__y\"])), (((data[\"3__fft_coefficient__coeff_1__attr__abs__y\"]) < (data[\"detected_mjd_diff\"]))*1.) )) +\n(((((np.where(data[\"distmod\"] > -1, data[\"mjd_diff\"], data[\"distmod\"] )) + (((data[\"detected_mjd_diff\"]) + (data[\"0__fft_coefficient__coeff_0__attr__abs__x\"]))))) - (data[\"3__fft_coefficient__coeff_0__attr__abs__y\"]))) +\n(((np.where(data[\"flux_dif3\"] > -1, data[\"detected_flux_ratio_sq_skew\"], np.tanh((data[\"3__fft_coefficient__coeff_1__attr__abs__y\"])) )) - ((-1.0*(((-1.0*((np.tanh((data[\"3__fft_coefficient__coeff_1__attr__abs__y\"]))))))))))) +\n(((((np.where(data[\"flux_w_mean\"]<0, data[\"flux_w_mean\"], data[\"flux_w_mean\"] )) * (data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]))) - (np.where(data[\"flux_d0_pb0\"]<0, data[\"flux_w_mean\"], data[\"flux_d0_pb0\"] )))) +\n(((data[\"mjd_diff\"]) + (data[\"mjd_diff\"]))) +\n(((np.where(data[\"flux_ratio_sq_skew\"] > -1, data[\"detected_mjd_diff\"], ((data[\"detected_flux_max\"]) - (data[\"1__kurtosis_x\"])) )) - (((data[\"flux_max\"]) - (data[\"flux_max\"]))))) +\n(((data[\"flux_err_max\"]) + (((((data[\"flux_err_max\"]) + (data[\"flux_ratio_sq_skew\"]))) + (np.where(data[\"0__kurtosis_x\"]<0, data[\"flux_err_max\"], data[\"5__kurtosis_x\"] )))))) +\n(((np.where(np.maximum(((data[\"flux_err_max\"])), ((((data[\"flux_err_max\"]) + (data[\"flux_err_max\"]))))) > -1, ((data[\"flux_err_max\"]) - (data[\"detected_flux_err_median\"])), data[\"hostgal_photoz_err\"] )) * 2.0)) +\n(((((np.where(data[\"flux_d1_pb5\"]>0, ((data[\"3__skewness_y\"]) * 2.0), data[\"3__skewness_y\"] )) + (data[\"flux_err_max\"]))) + ((((data[\"5__skewness_x\"]) < (data[\"3__skewness_y\"]))*1.)))) +\n(np.where(((data[\"distmod\"]) - (data[\"hostgal_photoz\"])) > -1, ((data[\"detected_mjd_diff\"]) * ((-1.0*((((data[\"distmod\"]) + (data[\"distmod\"]))))))), data[\"distmod\"] )) +\n(((data[\"detected_flux_min\"]) + (((((data[\"detected_flux_min\"]) + (((((data[\"detected_flux_min\"]) + (data[\"detected_mjd_diff\"]))) * (data[\"4__skewness_x\"]))))) - (data[\"4__skewness_x\"]))))) +\n(((data[\"4__fft_coefficient__coeff_1__attr__abs__y\"]) * ((((-1.0*((data[\"detected_flux_median\"])))) - ((((((-1.0*((data[\"0__fft_coefficient__coeff_0__attr__abs__y\"])))) * (data[\"flux_w_mean\"]))) * 2.0)))))) +\n(((np.where(data[\"distmod\"]<0, ((data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]) - (data[\"detected_flux_std\"])), ((((data[\"flux_dif2\"]) * 2.0)) - (data[\"hostgal_photoz\"])) )) * 2.0)) +\n((((((((data[\"2__kurtosis_x\"]) - (((((data[\"2__skewness_x\"]) - (data[\"distmod\"]))) * 2.0)))) - (data[\"detected_flux_ratio_sq_skew\"]))) + (data[\"0__fft_coefficient__coeff_0__attr__abs__x\"]))/2.0)) +\n(np.minimum(((data[\"0__fft_coefficient__coeff_0__attr__abs__y\"])), ((((((data[\"flux_err_median\"]) + (data[\"detected_flux_err_max\"]))) * 2.0))))) +\n(((((data[\"detected_flux_dif2\"]) * (data[\"detected_flux_max\"]))) - (np.where(data[\"detected_flux_dif2\"]>0, data[\"detected_mjd_diff\"], data[\"detected_mjd_diff\"] )))) +\n(((np.where(data[\"flux_d1_pb4\"]>0, data[\"detected_flux_err_skew\"], data[\"4__fft_coefficient__coeff_1__attr__abs__y\"] )) + (data[\"3__skewness_y\"]))) +\n(np.where((((data[\"detected_flux_skew\"]) + (data[\"flux_mean\"]))/2.0)<0, ((data[\"detected_flux_skew\"]) / 2.0), data[\"detected_flux_skew\"] )) +\n(np.where(data[\"hostgal_photoz\"]<0, (-1.0*((data[\"3__kurtosis_x\"]))), np.where(data[\"3__kurtosis_x\"]<0, np.where(data[\"4__skewness_x\"]<0, data[\"3__kurtosis_x\"], data[\"hostgal_photoz\"] ), data[\"hostgal_photoz\"] ) )) +\n(np.where(((data[\"mwebv\"]) + ((((data[\"2__kurtosis_y\"]) < (data[\"detected_flux_dif2\"]))*1.)))<0, data[\"flux_dif2\"], data[\"2__kurtosis_y\"] )) +\n(np.where(data[\"4__fft_coefficient__coeff_1__attr__abs__x\"]>0, (((data[\"flux_w_mean\"]) < (np.where(((data[\"flux_d0_pb2\"]) * 2.0)>0, data[\"4__fft_coefficient__coeff_0__attr__abs__x\"], data[\"detected_flux_err_min\"] )))*1.), data[\"distmod\"] )) +\n(((((((((((data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]) - (data[\"1__fft_coefficient__coeff_0__attr__abs__x\"]))) * 2.0)) * 2.0)) - (data[\"2__fft_coefficient__coeff_0__attr__abs__x\"]))) - (data[\"1__fft_coefficient__coeff_0__attr__abs__x\"]))) +\n((((((((data[\"4__kurtosis_y\"]) - (data[\"2__kurtosis_y\"]))) - (((data[\"flux_min\"]) - (data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]))))) + (((data[\"2__skewness_x\"]) - (data[\"1__skewness_x\"]))))/2.0)) +\n(((((((np.where(np.where(data[\"2__fft_coefficient__coeff_1__attr__abs__y\"]>0, data[\"flux_d0_pb3\"], data[\"detected_flux_err_skew\"] ) > -1, data[\"2__fft_coefficient__coeff_1__attr__abs__y\"], data[\"detected_flux_err_skew\"] )) - (data[\"flux_d0_pb0\"]))) * 2.0)) * 2.0)) +\n(((((data[\"1__kurtosis_x\"]) - (data[\"3__kurtosis_x\"]))) + (((((((data[\"1__kurtosis_x\"]) - (data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]))) - (data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]))) - (data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]))))) +\n(((((((data[\"1__skewness_x\"]) + (((((data[\"detected_flux_min\"]) * 2.0)) / 2.0)))) + (data[\"detected_flux_min\"]))) + (((data[\"1__skewness_x\"]) / 2.0)))) +\n(((data[\"distmod\"]) - (data[\"hostgal_photoz_err\"]))) +\n(((((((((data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]) - (data[\"1__fft_coefficient__coeff_0__attr__abs__x\"]))) - (data[\"detected_mean\"]))) + (data[\"5__fft_coefficient__coeff_1__attr__abs__x\"]))) - (data[\"flux_skew\"]))) +\n((((data[\"flux_ratio_sq_skew\"]) + (((data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]) - (data[\"flux_min\"]))))/2.0)) +\n(((np.where(data[\"distmod\"]>0, data[\"flux_dif2\"], ((data[\"distmod\"]) + (np.maximum(((((data[\"distmod\"]) - (data[\"flux_diff\"])))), ((data[\"flux_diff\"]))))) )) * 2.0)) +\n(((((((((data[\"5__skewness_x\"]) - (data[\"detected_flux_std\"]))) - (data[\"3__skewness_y\"]))) - (data[\"3__skewness_y\"]))) - (data[\"3__skewness_y\"]))) +\n((((data[\"flux_max\"]) < (np.where(0.636620>0, ((data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]) - (data[\"1__fft_coefficient__coeff_0__attr__abs__x\"])), data[\"5__kurtosis_x\"] )))*1.)) +\n(((((data[\"hostgal_photoz\"]) - (((data[\"hostgal_photoz_err\"]) * (data[\"hostgal_photoz\"]))))) + (((data[\"0__skewness_y\"]) + (((data[\"hostgal_photoz\"]) - (data[\"hostgal_photoz\"]))))))) +\n(((((-1.0*((data[\"3__skewness_y\"])))) > (data[\"detected_flux_std\"]))*1.)) +\n(np.where(data[\"0__kurtosis_x\"]>0, ((data[\"5__skewness_x\"]) - (data[\"0__fft_coefficient__coeff_1__attr__abs__x\"])), ((((data[\"1__kurtosis_y\"]) * (data[\"flux_err_max\"]))) + (data[\"flux_err_max\"])) )) +\n(((np.where(data[\"5__kurtosis_x\"]<0, data[\"flux_err_max\"], np.where(data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]<0, np.tanh((((data[\"flux_median\"]) * 2.0))), data[\"5__kurtosis_x\"] ) )) * 2.0)) +\n(((data[\"detected_flux_err_median\"]) * (data[\"4__kurtosis_x\"]))) +\n(((((data[\"flux_err_min\"]) - (data[\"flux_d0_pb0\"]))) - ((-1.0*((((data[\"detected_flux_std\"]) * (np.where(data[\"4__skewness_x\"] > -1, data[\"flux_d0_pb4\"], data[\"2__fft_coefficient__coeff_0__attr__abs__x\"] ))))))))) +\n(((data[\"flux_err_skew\"]) - (np.where(((data[\"2__skewness_x\"]) - (data[\"2__kurtosis_x\"]))<0, np.where(data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]<0, data[\"2__skewness_x\"], data[\"2__skewness_x\"] ), data[\"1__fft_coefficient__coeff_1__attr__abs__x\"] )))) +\n(((np.where(data[\"flux_d0_pb0\"]<0, data[\"flux_d0_pb0\"], data[\"hostgal_photoz_err\"] )) + (np.where(data[\"distmod\"]<0, data[\"5__fft_coefficient__coeff_1__attr__abs__y\"], data[\"hostgal_photoz_err\"] )))) +\n(((((data[\"distmod\"]) * 2.0)) - (((((data[\"distmod\"]) * 2.0)) * (np.where(data[\"1__skewness_y\"]>0, data[\"flux_d0_pb0\"], data[\"distmod\"] )))))) +\n(((((((data[\"flux_d0_pb5\"]) * 2.0)) * (data[\"flux_d0_pb5\"]))) * (np.maximum(((data[\"flux_d0_pb0\"])), (((((data[\"1__skewness_x\"]) < (np.tanh((data[\"3__skewness_x\"]))))*1.))))))) +\n(((((data[\"0__skewness_x\"]) - (data[\"2__fft_coefficient__coeff_1__attr__abs__x\"]))) - (data[\"3__fft_coefficient__coeff_0__attr__abs__y\"]))) +\n((((data[\"flux_dif2\"]) + (((((data[\"hostgal_photoz\"]) * (data[\"hostgal_photoz_err\"]))) - (np.where(data[\"hostgal_photoz_err\"]<0, data[\"1__fft_coefficient__coeff_1__attr__abs__y\"], data[\"hostgal_photoz_err\"] )))))/2.0)) +\n(np.where(data[\"flux_by_flux_ratio_sq_sum\"]<0, (0.98469996452331543), np.minimum(((np.minimum(((data[\"flux_d0_pb0\"])), ((data[\"5__skewness_x\"]))))), ((data[\"flux_max\"]))) )) +\n(((data[\"distmod\"]) + (((((data[\"2__skewness_y\"]) + (data[\"distmod\"]))) - (data[\"hostgal_photoz\"]))))) +\n(((data[\"distmod\"]) - (((np.tanh((data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]))) * (((data[\"1__fft_coefficient__coeff_1__attr__abs__x\"]) * ((-1.0*((data[\"3__kurtosis_y\"])))))))))) +\n(((np.where(data[\"3__kurtosis_x\"] > -1, np.where(data[\"1__kurtosis_x\"] > -1, ((data[\"flux_median\"]) * 2.0), ((data[\"detected_flux_err_min\"]) * 2.0) ), data[\"detected_flux_err_min\"] )) * 2.0)) +\n(((((data[\"distmod\"]) / 2.0)) - (data[\"4__kurtosis_y\"]))) +\n(((data[\"1__skewness_y\"]) - (data[\"0__skewness_x\"]))) +\n(((((((data[\"hostgal_photoz\"]) * ((-1.0*((data[\"hostgal_photoz_err\"])))))) * 2.0)) + (np.where(data[\"4__kurtosis_x\"] > -1, data[\"hostgal_photoz\"], data[\"hostgal_photoz_err\"] )))) +\n(((data[\"4__skewness_x\"]) * ((-1.0*((((data[\"flux_min\"]) - ((-1.0*((data[\"detected_flux_dif2\"]))))))))))) +\n(np.where(data[\"detected_flux_ratio_sq_sum\"]>0, data[\"0__kurtosis_x\"], np.where(data[\"flux_d0_pb3\"]>0, (-1.0*((data[\"detected_flux_ratio_sq_sum\"]))), np.where(data[\"flux_d0_pb3\"]>0, data[\"detected_flux_ratio_sq_sum\"], data[\"flux_std\"] ) ) )) +\n(((data[\"1__skewness_x\"]) + (((np.where(((data[\"1__skewness_y\"]) - (data[\"flux_skew\"]))<0, (-1.0*((data[\"5__fft_coefficient__coeff_1__attr__abs__y\"]))), data[\"1__skewness_y\"] )) * 2.0)))) +\n(((((data[\"flux_w_mean\"]) - (((data[\"flux_d0_pb0\"]) * (((data[\"flux_d0_pb0\"]) * 2.0)))))) * 2.0)) +\n(((((data[\"2__fft_coefficient__coeff_0__attr__abs__y\"]) - (data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]))) * (data[\"1__fft_coefficient__coeff_1__attr__abs__y\"]))) +\n(np.where(data[\"flux_d0_pb3\"]>0, ((data[\"detected_flux_err_min\"]) + (np.where(data[\"4__fft_coefficient__coeff_1__attr__abs__y\"]<0, data[\"flux_err_max\"], data[\"2__fft_coefficient__coeff_0__attr__abs__x\"] ))), data[\"4__fft_coefficient__coeff_1__attr__abs__x\"] )) +\n(np.where(data[\"0__fft_coefficient__coeff_1__attr__abs__x\"]>0, ((data[\"5__skewness_x\"]) - (data[\"0__fft_coefficient__coeff_1__attr__abs__x\"])), ((((data[\"detected_mjd_diff\"]) - (data[\"5__kurtosis_x\"]))) - (data[\"5__kurtosis_x\"])) )) +\n((-1.0*((((data[\"flux_err_min\"]) + (np.where(np.where(data[\"flux_ratio_sq_skew\"]>0, data[\"flux_err_min\"], data[\"0__fft_coefficient__coeff_1__attr__abs__y\"] )>0, data[\"detected_flux_ratio_sq_skew\"], data[\"flux_ratio_sq_skew\"] ))))))) +\n(((((((data[\"hostgal_photoz_err\"]) * (data[\"distmod\"]))) * (data[\"distmod\"]))) - (data[\"distmod\"]))) +\n(np.where(data[\"detected_flux_err_mean\"] > -1, np.where(data[\"flux_err_mean\"] > -1, np.where(data[\"mjd_size\"] > -1, data[\"flux_err_mean\"], data[\"3__fft_coefficient__coeff_1__attr__abs__y\"] ), data[\"flux_err_mean\"] ), data[\"mjd_size\"] )) +\n(((((data[\"5__kurtosis_y\"]) + (((data[\"3__skewness_y\"]) + (np.minimum(((((data[\"mjd_size\"]) - (data[\"detected_mjd_diff\"])))), ((data[\"flux_err_median\"])))))))) + (data[\"mjd_size\"]))))","execution_count":null,"outputs":[]},{"metadata":{"_uuid":"a41cf7fcdab2a3085e03cec12534365a2fc01192"},"cell_type":"markdown","source":"Here are all the classes"},{"metadata":{"trusted":true,"_uuid":"a626aa0ac7e987cc155f7630e704cb9bfc5a1af7"},"cell_type":"code","source":"cm = plt.cm.get_cmap('RdYlBu')\nfig, axes = plt.subplots(1, 1, figsize=(15, 15))\nsc = axes.scatter(GPx(full_train_ss),\n                  GPy(full_train_ss),\n                  alpha=1,\n                  c=(y),\n                  cmap=cm,\n                  s=30)\ncbar = fig.colorbar(sc, ax=axes)\ncbar.set_label('Target')\n_ = axes.set_title(\"Clustering colored by target\")","execution_count":null,"outputs":[]},{"metadata":{"_uuid":"c392dc0a7d79cc5538a9068d0fdc41dc2eb5cdf5"},"cell_type":"markdown","source":"Most models can separate 88 from 92"},{"metadata":{"trusted":true,"_uuid":"272f7440c4136a42930495e0250de91f90c277e5"},"cell_type":"code","source":"myfilter = ((y==92)|(y==88))\ncm = plt.cm.get_cmap('RdYlBu')\nfig, axes = plt.subplots(1, 1, figsize=(15, 15))\nsc = axes.scatter(GPx(full_train_ss[myfilter]),\n                  GPy(full_train_ss[myfilter]),\n                  alpha=1,\n                  c=(y[myfilter]),\n                  cmap=cm,\n                  s=30)\ncbar = fig.colorbar(sc, ax=axes)\ncbar.set_label('Target')\n_ = axes.set_title(\"Clustering colored by target\")","execution_count":null,"outputs":[]},{"metadata":{"trusted":true,"_uuid":"3f19209e6337d1f93e7ee328e67752282c7a6b46"},"cell_type":"markdown","source":"Now an example of a bad separation!"},{"metadata":{"trusted":true,"_uuid":"4bb2d41fa375cf0debbe8870758886f21750c395"},"cell_type":"code","source":"myfilter = ((y==90)|(y==42))\ncm = plt.cm.get_cmap('RdYlBu')\nfig, axes = plt.subplots(1, 1, figsize=(15, 15))\nsc = axes.scatter(GPx(full_train_ss[myfilter]),\n                  GPy(full_train_ss[myfilter]),\n                  alpha=1,\n                  c=(y[myfilter]),\n                  cmap=cm,\n                  s=30)\ncbar = fig.colorbar(sc, ax=axes)\ncbar.set_label('Target')\n_ = axes.set_title(\"Clustering colored by target\")","execution_count":null,"outputs":[]},{"metadata":{"_uuid":"416619848a86523c67a56379a7114f83b5713970"},"cell_type":"markdown","source":"If anyone with astronomical knowledge could help me out on what they believe the astronomical objects are for each class it would be greatly appreciated -- help! ;)"}],"metadata":{"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"},"language_info":{"name":"python","version":"3.6.6","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"}},"nbformat":4,"nbformat_minor":1}