Most answered questions

1 1 vote
3 3 answers
4.4k
4.4k views
The KNN function in the sklearn library (when coded properly), outputs the points closest to p based on the value of k, and others.The point(s) would include itself when ...
5 5 votes
3 answers 3 answers
3.5k
3.5k views
I was wondering on how to convert between number systems when the factor of decimal in binary and hexadecimal numbers is in play. For example,Convert 011010.011b into a d...
1 1 vote
2 2 answers
2.2k
2.2k views
Hello,I have a dataset with a categorical column that contains three categories. One of the categories represents 98% of the data, while the remaining 2% are distributed ...
2 2 votes
2 answers 2 answers
3.8k
3.8k views
$(p → q) ∧ (q → r) → (p → r)$Without Truth Tables!
0 0 votes
2 2 answers
1.3k
1.3k views
Hi Everyone,How to install Matplotlib in Python IDLE. 3.7.4I'm a student in Data Science and I want to do The Birthday Paradox and it requires me to import matplotlib.pyp...
1 1 vote
2 answers 2 answers
3.1k
3.1k views
Hive is not enabled by default on GCP on Apache Zeppelin on Dataproc on GCP. How can we activate it?
1 1 vote
2 answers 2 answers
13.2k
13.2k views
Hi,Since I still have confuse to use the score() and accuracy_score(), so I want to confirm my test assumption.Q1: score(), we use the split data to test the accuracy by...
1 1 vote
2 answers 2 answers
1.3k
1.3k views
Need help solving this question
1 1 vote
2 answers 2 answers
1.8k
1.8k views
If $h(x) =4x+5$, how do i find h inverse of x?
2 2 votes
2 2 answers
11.7k
11.7k views
The hypothesis (model) of Logistic Regression which is a binary classifier ( $y =\{0,1\} $) is given in the equation below:Hypothesis$S(z)=P(y=1 | x)=h_{\theta}(x)=\frac{...
3 3 votes
2 answers 2 answers
8.8k
8.8k views
The scatter plot of Iris Dataset is shown in the figure below. Assume Softmax Regression is used to classify Iris to Setosa, Versicolor, or Viriginica using just petal le...
0 0 votes
2 answers 2 answers
1.9k
1.9k views
Please also check if the fibo(7) = 8
0 0 votes
2 2 answers
1.5k
1.5k views
Please provide a list of software you know for creating mobile application prototypes. Please include their pros and cons.
2 2 votes
2 2 answers
1.7k
1.7k views
Hello,I am trying to gain insight of the data but having hard time plotting it.Suppose I have a data frame like belowIDFeature 1Class1agood2agood3bgood4bbad5abad6abad7bba...
2 2 votes
2 2 answers
3.4k
3.4k views
I think these two statements are similar, can anyone tell me the differences?
3 3 votes
2 2 answers
14.1k
14.1k views
I am wondering what happens as K increases in the KNN algorithm. It seems that as K increases the "p" (new point) tends to move closer to the middle of the decision bound...
1 1 vote
2 answers 2 answers
2.4k
2.4k views
Please see example from the following link.The question is leaning towards a programming code solution in Python as the link above shows. Involving sklearn and any other ...
3 3 votes
2 answers 2 answers
3.7k
3.7k views
How do I use the information provided in this link to apply in defining a L1-norm and L2-norm function in python?
1 1 vote
2 2 answers
2.7k
2.7k views
I have these series of numbers and I am wondering each one is how much percentile and also how to calculate a custom percentile such as 60th percentile? [1, 3, 5, 7, 9, 9...