Answer:
Bayesian filtering
Explanation:
This is a type of filtering software that makes use of Bayesian logic to evaluate every incoming email that you receive, analyzing the header and content of the email to determinate if it is spam or not. It uses a preset of common words that are present in most spam emails, and it categorizes all received emails according to their probability to contain spam in trusted, or not trusted email. These categories are usually set by the user.
In short, Bayesian logic uses the knowledge acquired from past events to try to predict future events. Determinate the probability of success (from 0 to 100%) of a certain activity, according to the result of prior tests. It was first suggested in 1763 after the death of its creator Thomas Bayes, and it is widely spread across several different sciences such as programming, artificial intelligence, physics, etc.
Just quizlet it believe me it will help 100%
Answer:
#include <iostream>
using namespace std;
void filterEvens(int myArray[]) {
for (int i = 0; i < 8; ++i) {
if(myArray[i]%2==0){
cout<<myArray[i]<<" ";
}
}
}
int main(){
int myArray[8];
for(int i =0;i<8;i++){
cin>>myArray[i];
}
filterEvens(myArray);
return 0;
}
Explanation:
The solution is provided in C++
#include <iostream>
using namespace std;
The function filerEvens is defined here
void filterEvens(int myArray[]) {
This iterates through the elements of the array
for (int i = 0; i < 8; ++i) {
This checks if current element is an even number
if(myArray[i]%2==0){
If yes, this prints the array element
cout<<myArray[i]<<" ";
}
}
}
The main begins here
int main(){
This declares an integer array of 8 elements
int myArray[8];
The following iteration allows input into the array
<em> for(int i =0;i<8;i++){</em>
<em> cin>>myArray[i];</em>
<em> }</em>
This calls the defined function filter Evens
filterEvens(myArray);
return 0;
}
Answer:
. go to a page you wanna bookmark, and click the little star icon :)