Why scl.fit(data[['Volume']].iloc[:-test_size].values.reshape(-1, 1)) the shape of OUTPUT data

Hi, 

i am doing the course Neural Networks in Tranding. As Section 4, Unit 15 it is stated:



that this expression:



scl.fit( data[['Volume']].iloc[:-test_size].values.reshape(-1, 1) )



will shape the OUTPUT data.



That is, what I do not understand: Why Output Data. To my opinion it is the shape of INPUT data for scl.fit()



Or do I have a wrong understanding on this?



Thanks.

 

Hi Johannes,



You are right when you say that we are working on the shape of the input data. Basically, we are telling the program to reshape the input data. This would give us the "input" data in the required shape as our "output". 

The question was formed in such a way that we were asking about how the output data should be. Since the usage of terminology can be confusing, this question will be improved upon now.



Hope this helps.