Comments (2)
I had this issue as well, but values in the next cell were also wrong.
from dsc-bias-variance-trade-off-lab.
I looked into this issue and here is what I found:
Error 1
- The only way that I can get an output that is similar to the output suggested by the comments (-8.12...e-09) is to run the code with X_train and not X_train scaled. (see the attached image)
- I changed the suggested answer to the scaled output to avoid confusion in the future to -4.063...e-09.
![Screenshot 2023-06-05 at 10 14 10 AM](https://private-user-images.githubusercontent.com/116017015/243385668-83230e47-849e-4b09-adff-91ee481c71dc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5Mzk3MzAsIm5iZiI6MTcxODkzOTQzMCwicGF0aCI6Ii8xMTYwMTcwMTUvMjQzMzg1NjY4LTgzMjMwZTQ3LTg0OWUtNGIwOS1hZGZmLTkxZWU0ODFjNzFkYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMVQwMzEwMzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wNGZhMGRjOGI4ODI5MjhmZTg2ODJlZmQxOTJiYmRhYTI0OWVkZWI0MzM5ZmM3NzJlNTBhZTAzOWNlYWY0NjU0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.IMr584rl9GglWJDv5RpwG3OL3OF_scqx9PLPTlf_NEU)
Error 2
- To avoid an incorrect answer here, make sure that you are using
.fit_transform()
to apply MinMax scaler to the X_train set, and.transform()
to X_test.
from dsc-bias-variance-trade-off-lab.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsc-bias-variance-trade-off-lab.