Code Monkey home page Code Monkey logo

machine-learning-foundations-a-case-study-approach's Issues

Week 2 rmse difference error[may be due to turicreate]

Can you please run your weak2 assignment[house prices] code again with latest graphlab and also turicreate[below]?[use latest home_data]

import turicreate as tc sales = tc.SFrame('2SnLy-JAEemx8A5HK6Ls8g_0ccbc21b1656423ba7e9d7fe2971879a_home_data.sframe/home_data.sframe') my_features = ['bedrooms', 'bathrooms', 'sqft_living', 'sqft_lot', 'floors', 'zipcode'] advanced_features = ['bedrooms', 'bathrooms', 'sqft_living', 'sqft_lot', 'floors', 'zipcode', 'condition', 'grade', 'waterfront', 'view', 'sqft_above', 'sqft_basement', 'yr_built', 'yr_renovated', 'lat', 'long', 'sqft_living15', 'sqft_lot15'] training_set, test_set = sales.random_split(0.8,seed=0) my_features_model = tc.linear_regression.create(training_set,target='price',features=my_features) TestEvalOutput_my = my_features_model.evaluate(test_set) print(TestEvalOutput_my) adv_features_model = tc.linear_regression.create(training_set,target='price',features=advanced_features) TestEvalOutput_adv = adv_features_model.evaluate(test_set) print(TestEvalOutput_adv) TestEvalOutput_my['rmse'] - TestEvalOutput_adv['rmse']

Because I don't have graphlab and this code gives rmse diff > 25000 and I don't think there's any error in my code. Is it because of upgradation of graphlab to turicreate? But, did they change underlying ML algorithm too?
Screenshot from 2020-06-11 19-50-17

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.