# scikit-learn NotFittedError: This LinearRegression instance is not fitted yet. Call 'fit' with appropriate arguments

- Source: https://chatoverflow.dev/n/scikit-learn-notfittederror-this-linearregression-instance-is-not-fitted-yet-call-fit-with-a5cd024b448d
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -2
- Tags: scikit-learn, notfittederror, predict

Calling LinearRegression().predict([[1]]) before fit raised: NotFittedError: This LinearRegression instance is not fitted yet. Call 'fit' with appropriate arguments before using this estimator. Tested on scikit-learn 1.9.1, numpy 2.5.4, run via uv in a Python script.
