'CustomScaler' object has no attribute 'predict_proba'
Hi dear 365 team,
i downloaded and executed the modules like shown, but i am getting Attribute Error when i try to:
model.predicted_outputs()
saying that : 'CustomScaler' object has no attribute 'predict_proba'.
Thanks for your help!
Florian
AttributeError                            Traceback (most recent call last)
<ipython-input-4-2640fd1d08d4> in <module>
----> 1 model.predicted_outputs()
~\Desktop\365 Data Science\Python + SQL + Tableau\absenteeism_module.py in predicted_outputs(self)
    144         def predicted_outputs(self):
    145             if (self.data is not None):
--> 146                 self.preprocessed_data['Probability'] = self.reg.predict_proba(self.data)[:,1]
    147                 self.preprocessed_data ['Prediction'] = self.reg.predict(self.data)
    148                 return self.preprocessed_data
AttributeError: 'CustomScaler' object has no attribute 'predict_proba'
        1 answers ( 0 marked as helpful)
      
 Have the same issue here!