<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def predict_is(self, h):
 """ Outputs predictions for the Aggregate algorithm on the in-sample data Parameters h : int How many steps to run the aggregating algorithm on Returns - pd.DataFrame of ensemble predictions """

        result = pd.DataFrame([self.run(h=h)[2]]).T  
        result.index = self.index[-h:]
        return result