Machine Learning  |  Google for Developers (2024)

  • Home
  • Products
  • Machine Learning
  • Advanced courses
  • Decision Forests
Stay organized with collections Save and categorize content based on your preferences.

Variable importances

Variable importance (also known as feature importance) is a score thatindicates how "important" a feature is to the model. For example, if for a givenmodel with two input features "f1" and "f2", the variable importances are{f1=5.8, f2=2.5}, then the feature "f1" is more "important" to the model thanfeature "f2". As with other machine learning models, variable importance is asimple way to understand how a decision tree works.

You can apply model agnostic variable importances such as permutation variableimportances,to decision trees.

Decision trees also have specific variable importances, such as:

  • The sum of the split score with a given variable.
  • The number of nodes with a given variable.
  • The average depth of the first occurrence of a feature across all the treepaths.

Variable importances can differ by qualities such as:

  • semantics
  • scale
  • properties

Furthermore, variable importances provide different types of information about:

  • the model
  • the dataset
  • the training process

For example, the number of conditions containing a specific feature indicateshow much a decision tree is looking at this specific feature, which mightindicate variable importance. After all, the learning algorithm would not haveused a feature in multiple conditions if it did not matter. However, the samefeature appearing in multiple conditions might also indicate that a model istrying but failing to generalize the pattern of a feature. For example, thiscan happen when a feature is just an example identifier with no informationto generalize.

On the other hand, a high value for a high permutation variable importanceindicates that removing a feature hurts the model, which is an indication ofvariable importance. However, if the model is robust, removing any one featuremight not hurt the model.

Because different variable importances inform about different aspects of themodels, looking at several variable importances at the same time is informative.For example, if a feature is important according to all the variableimportances, this feature is likely important. As another example, if a featurehas a high "number of nodes" variable importance and a small "permutation"variable importance, then this feature might be hard to generalize and canhurt the model quality.

YDF Code

In YDF, you can see the variable importance of a model by callingmodel.describe() and looking at the "variable importance" tab.See theModel understanding tutorial for more details.

Previous arrow_back Check your understanding
Next Check your understanding arrow_forward

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-04-18 UTC.

Machine Learning  |  Google for Developers (2024)
Top Articles
Electronic Federal Tax Payment System
Atomic Wallet
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Nfsd Web Portal
Selly Medaline
Latest Posts
Article information

Author: Roderick King

Last Updated:

Views: 5870

Rating: 4 / 5 (71 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Roderick King

Birthday: 1997-10-09

Address: 3782 Madge Knoll, East Dudley, MA 63913

Phone: +2521695290067

Job: Customer Sales Coordinator

Hobby: Gunsmithing, Embroidery, Parkour, Kitesurfing, Rock climbing, Sand art, Beekeeping

Introduction: My name is Roderick King, I am a cute, splendid, excited, perfect, gentle, funny, vivacious person who loves writing and wants to share my knowledge and understanding with you.