Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Tanuja Trivedi

Tanuja Trivedi

Community Learner
Active in: Data Science
Share
3Questions
3Answers
2.9KViews on questions

Explain how for loops work and how to iterate a for loop over a vector

A for loop allows us to iterate over an object (such as a vector) and we can then perform and execute blocks of codes for every loop we go through. The syntax for a for loop is: for (temporary_variable in object){ # Execute some code at every loop } For loop can be applied in many real world cases when a proper…

Data Science

Answered Dec 13, 2019 · 929 Views Read answer →

Explain how a decision tree works along with the assumptions.

Every machine learning algorithm has their own benefits and a reason for implementation. Decision tree algorithm is one such widely used algorithm. A decision tree is an upside down tree that makes decisions based on the conditions present in the data. Let us illustrate this to make it easy. Let us take a titanic…

Data Science

Answered Dec 10, 2019 · 1.2K Views Read answer →

More members from the Data Science community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest Data Science Blogs

Guides, tips and career advice on Data Science from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.