Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Natasha Kadam

Natasha Kadam

Community Learner
Share
9Questions
9Answers
11.0KViews on questions

Rollback a Git merge

Rolling back a Git merge can be necessary when something goes wrong or if you merged the wrong branch by mistake. Don’t worry—Git gives you a few ways to undo the merge depending on whether it was committed or not. If the merge is not yet committed: You can easily cancel the merge using: git merge --abortThis restores…

Devops

Answered May 12, 2025 · 690 Views Read answer →

What way is the best for selenium select dropdown python?

I think using selenium.webdriver.support.ui.Select is the cleanest way for selenium select dropdown python: from selenium import webdriver from selenium.webdriver.support.ui import Select b = webdriver.Firefox() # navigate to the page select = Select(b.find_element_by_id(....)) print select.options print [o.text for o…

Cyber Security

Answered Oct 18, 2022 · 917 Views Read answer →

Mention some of the applications of text classification?

Text classification can be used in many cases in real world applications. Also, they are helpful in solving problems like time management and they prove to be very efficient in such cases. They can be useful in platforms such as E-commerce, news agencies, content curators, blogs, etc by tagging content or products…

Data Science

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

In R,a user wants to use a naive Bayes classifier to make some predictions. The real data is about 100 features big. So what would be the best way to select the most important features for naive…

## Test KNN Classification train = dtm_control_tfidf_treino # train set from 1:7 test = dtm_control_tfidf_teste # test set from 8:10 cl = factor(dtm_control_tfidf_treino$class[1:7]) x = knn(train, test, cl, k = 3, prob = TRUE) attributes(.Last.value) He is receiving the following error. How to fix that? > x =…

Data Science

Answered Dec 20, 2019 · 1.3K Views Read answer →

How to concatenate and merge a dataset in Python?

Concatenation is joining of two datasets either horizontally or vertically. Merging is merging two or more datasets based on a common column Let us make a dataframe and illustrate concatenation and merging. Now we have created three data frames in which we will perform concatenationHere all the data frames are joined…

Data Science

Answered Nov 30, 2019 · 1.7K Views Read answer →

Explain with a case study of logistic regression in R.

Same as Python, we will be following similar steps in R also while creating a model. We will import the dataset initially # Importing the dataset dataset = read.csv('Social_Network_Ads.csv') dataset = dataset[3:5] For encoding target features as a factor with levels 0,1 we need to do this # Encoding the target feature…

Data Science

Answered Nov 30, 2019 · 1.6K 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.