1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Aleks [24]
3 years ago
6

Find the length of AB.​

Mathematics
1 answer:
alexdok [17]3 years ago
4 0
Jdjdjjddjdjdjjdjdjdjd
You might be interested in
Randomly split the messages into a training set D1 (80% of messages) and a testing set D2 (20% of messages). Calculate the testi
Blizzard [7]

Answer:

In the step-by-step

Step-by-step explanation:

This is the code i created using the R software and the packages "caret" and "e0171".

The script was supposed to work in all general cases.

library(caret)

library(e1071)

# Categorical vector

spam <- c("spam","not_spam")

spam_vec <- sample(spam,60, replace = T)

# Supposing two independent variables so that the kappa will be close to 0.

x1 <- rnorm(60)

x2 <- rnorm(60)

# Creating the dataset

data1 <- cbind(spam_vec,x1,x2)

data1 <- as.data.frame(data1)

names(data1) <- make.names(c("spamvec","x","y"))

# Creating the partition

index <- createDataPartition(data1$spamvec,

                            p=0.8, list=FALSE)

training_data <- data1[index,]

testing_data <- data1[-index,]

fitControl <- trainControl(method = "cv",

                         number = 5,

                         savePred = TRUE,

                         classProb = TRUE)

tune.grid <- expand.grid(C = seq(0, 10, .1))

# Scaling the predictors

preProcess_cs <- preProcess(training_data[, -1],

                                 method = c("center", "scale"))

spam_training_cs      <- predict(preProcess_cs, training_data)

spam_testing_cs       <- predict(preProcess_cs, testing_data)

# Training a Naive Bayes to predict binary outcome

Naive_Bayes_Model=naiveBayes(spamvec ~.,

                            data=spam_training_cs,

                            tuneGrid = tune.grid,

                            trControl = fitControl)

# Confusion matrix

prediction <- predict(Naive_Bayes_Model, spam_testing_cs)

confusionMatrix(prediction, spam_testing_cs$spamvec, positive = "spam")

confM <- confusionMatrix(prediction, spam_testing_cs$spamvec, positive = "spam")

accuracy <- confM$overall[1]

accuracy

3 0
3 years ago
Finals test tomorrow, would really appreciate the help
ss7ja [257]

Answer:

they are opposite

Step-by-step explanation:

8 0
3 years ago
Read 2 more answers
Solve the inequality 7x-6&lt;14x+8 write the solution in interval form??? ....[2.4]
Likurg_2 [28]
(-2,infinite]

negative two and the infinite symbol
3 0
3 years ago
If p q r is prime numbers such that pq+r=73, what is the least possible value of p+q+r
Jobisdone [24]
The answer to this question would be: p+q+r = 2 + 17 + 39= 58

In this question, p q r is a prime number. Most of the prime number is an odd number. If p q r all odd number, it wouldn't be possible to get 73 since
odd x odd + odd= odd + odd = even
Since 73 is an odd number, it is clear that one of the p q r needs to be an even number. 

There is only one odd prime number which is 2. If you put 2 in the r the result would be:
pq+2= 73
pq= 71
There will be no solution for pq since 71 is prime number. That mean 2 must be either p or q. Let say that 2 is p, then the equation would be: 2q + r= 73

The least possible value of p+q+r would be achieved by founding the highest q since its coefficient is 2 times r. Maximum q would be 73/2= 36.5 so you can try backward from that. Since q= 31, q=29, q=23 and q=19 wouldn't result in a prime number r, the least result would be q=17
r= 73-2q
r= 73- 2(17)
r= 73-34=39

p+q+r = 2 + 17 + 39= 58
6 0
3 years ago
Read 2 more answers
PLS HELP ME ASAP FOR 12 (SHOW WORK!!)
alex41 [277]
160 is the first because 1 inches 20 but it says 2 inches so at 40+40+40+40
and the 2nd part is yes he is correct because he converted the inches into feet so i think he is also correct
6 0
3 years ago
Other questions:
  • It's a picture!Can someone please tell me the answer and please make it clear so I can know what it's supposed to say
    11·1 answer
  • The answer please !!!!!!!!
    7·2 answers
  • A TV has a listed price of $647.99 before tax. If the sales tax rate is 9.75%, find the total costs of the TV with the sales tax
    13·1 answer
  • Michael Jackson's "Thriller" album has sold 29,000,000 copies. This number can be written as n x 107.
    15·2 answers
  • Solve the inequality. Graph your solution.<br> -2m &lt; 12
    9·1 answer
  • One group (A) contains 130 people. Two-fifths of the people in group A will be selected to win $50 fuel cards. There is another
    8·1 answer
  • Given that Y = 2x^2-96, find x
    14·1 answer
  • The expression 3^5 means to _____.
    10·2 answers
  • The greater of two consecutive even integers is 20 more than twice the smaller. find the integers
    7·1 answer
  • You have $225 in your savings account. If you deposit $50 per month into your savings
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!