What would differ between these simple codes? : <p>So I've been kinda new to some concepts, can someone please briefly explain what is the difference between these two codes?</p>

<pre><code>regressor=LinearRegression()
regressor.fit(train_X,train_Y)
</code></pre>

<p>.</p>

<pre><code>LinearRegression().fit(train_X,train_Y)
</code></pre>
