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
almond37 [142]
3 years ago
5

Is the function y=1/9x-6 linear or nonlinear?

Mathematics
1 answer:
Galina-37 [17]3 years ago
6 0
It is in the form y = mx + b. therefore it is linear.
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
Someone help me with b.
Kruka [31]
Number of pinatas = x ; profit = y
Each pinata costs $3, so the equation would be 3x = y
6 0
3 years ago
Read 2 more answers
The drama club is ordering t-shirts for its members. A local t-shirt company charges $83.95 to set up the design plus $7.45 for
Scilla [17]

Answer:

The max # of shirts they can order is <u>29</u>

Step-by-step explanation:

300 = 83.95 + 7.45x

216.05 = 7.45x

x = 29

6 0
3 years ago
Read 2 more answers
In the diagram shown, line m is parallel to line n . Justine says that ∠3 ∠ 3 and ∠7 ∠ 7 are supplementary angles. Is she correc
agasfer [191]

The correct answer is C.

Because by looking at the diagram you can see that angles 7 and 8 are intersected

6 0
3 years ago
27. A bag contains 2 red and 4 yellow apples. Brandon selects 2 apples at random. What
djyliett [7]

Answer:12/30

Step-by-step explanation:

Total apple =6

Yellow apples = 4

4/6

3/5

(4/6)*(3/5)= 12/30

4 0
2 years ago
Other questions:
  • In ΔBCD, the measure of ∠D=90°, BD = 63, CB = 65, and DC = 16. What ratio represents the cosine of ∠B?
    10·1 answer
  • solve the x:(pls help with explanation) 1. 2x/3=18 2. 1.6= x/1.5 3. 14y-8=13 4. 17+6p=9 5. x/3+1= 7/15
    5·1 answer
  • Rewrite without rational exponents, and simplify, if possible   (x²y²)1/7    
    5·1 answer
  • Round this number to the nearest 100 4,398,202
    14·1 answer
  • HELP PLEASE MATHEMATICS SIMPLIFY!!!!
    13·1 answer
  • What is the value of x? Leave your answer in simplest radical form.
    6·1 answer
  • Find the value of x to the nearest degree.
    7·1 answer
  • Please help will mark Brainliest​
    12·1 answer
  • Im jus starting this math and ifk how to do iy
    10·2 answers
  • Please help! I am having trouble with this lesson.
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!