reducing the dimensions, and Deep Neural Network 
(DNN)  for  classification.  Milica  M.  Badža  et  al. 
(Badža, 2020) presented a new CNN method to detect 
and  classify  brain  tumors,  depending  on  their  kind 
(Meningioma, Glioma, Pituitary). 
To improve the studies made on the topic of brain 
tumors,  we  used  a  deep  learning  interface  (API 
FastAI),  which  allows  us  to  resize  the  images  and 
speed up the training of the applied models. 
Transfer learning is defined as  an approach  that 
allows  using  the  information  of  a  model  that  has 
already been trained to learn another target data set. 
Arshia Rehman et al. (Rehman, 2020) employed and 
explored CNN approaches (AlexNet, GoogleNet, and 
VGG-16) to detect and  classify  brain  tumors, using 
MRI images. 
In this paper, we propose an architecture based on 
transfer  Learning  using  the  VGG-16  model  to  our 
data set in order to get the feature extractions for the 
machine learning models for the purpose of having a 
higher prediction score. 
The  remainder  of  the  paper  is  organized  as 
follows: in the second section, we present the related 
work, followed by the material and the methods, then 
the experimental results, ending with a conclusion. 
2  RELATED WORK 
The  main  aim  of  this  part  is  to  describe  previous 
studies related  to the  detection  and  classification  of 
brain  tumors  using  machine  learning  and  deep 
learning  models.  Many  researchers  who  used 
Machine  Learning  classifier.  George,  D.  N.  et  al. 
(George,  2015)  proposed  architecture  to  segment 
brain  tumors  and  detect  regions  of  MRI  images.  In 
this regard, Ali and Hanbay (Ari Ali, 2018) proposed 
a  method  that  included  three  main  steps:  image 
preprocessing, image  classification with ELM-LRF, 
along  tumor  extraction  using  image  processing 
techniques.  Amin  et  al.  (Amin,  Sharif,  Raza,  & 
Yasmin, 2018) proposed  a  methodology to segment 
and  classify  the  brain  tumor  using  Deep  Neural 
Networks  (DNN)  and  magnetic  resonance  images 
(MRI). 
Deep  Learning  is  another  powerful  approach  to 
classifying problems. H. Sultan et al. (HOSSAM H. 
SULTAN, 2019) suggested a deep learning approach 
that uses a convolutional neural network (CNNs) for 
the  detection  and  classification  (Meningioma, 
Glioma, Pituitary) kinds of brain tumors. Amin Kabir 
Anaraki et al. (Kabir Anaraki, 2019) presented a new 
approach using CNNs, and a genetic algorithm (GA) 
to classify brain tumors based on magnetic resonance 
imaging.  Correspondingly,  Hüseyin  and  Engin 
(Hüseyin  Kultu,  2019)  proposed  a  new  approach  to 
categorising liver and brain tumors based on the CNN 
efficiency in feature extraction, the capability of the 
discrete wavelet transform in signal processing, and 
the  ability  of  memory  long-term  in  signal 
classification.  Parnian  Afshar  et  al.  (Afshar, 
Plataniotis, & Mohammadi, 2019) proposed a method 
to  classify  brain  tumors  into  three  categories: 
Meningioma, Pituitary,  and Glioma, based on  CNN 
usage via CapsuleNet architecture and MRI images, 
these  are  frequently  used  approaches  for  early 
prediction of brain disease. 
Although  these  approaches  give  perfect  results, 
another technique based on data pre-training is very 
effective  when  processing  extensive  data.  Several 
methods are involved in this challenge; S. Deepak et 
al.  (Deepak,  2019)  applied  a  pre-trained  deep 
network, based  on  GoogLeNet to  classify problems 
(MR  images  brain  tumors)  via  transfer  learning,  in 
this regard, Swati et al. (wati, et al., 2019) proposed a 
new method that uses the deep neural network, and 
trained CNN on the short data set, using a pre-trained 
deep CNN model, and proposed a block-based fine-
tuning approach based on transfer learning. 
3  MATERIAL AND METHODS 
This  research  study  has  adopted  three  main  steps 
method.  First,  image  preprocessing;  second,  image 
representation; last but not least, image classification. 
The structure of the proposed method is illustrated 
in the figure below. The acquisition of images are the 
first  step  of  this  method,  the  second  step  is  the 
preprocessing  of  images  (cropping,  resize,  and 
splitting  increase)  via  the  FastAI  interface, 
afterwards, the classification step by transfer learning 
VGG-16, then, we transform the output images into 
arrays, in the last step in this study, various Machine 
Learning classification algorithms have been used to 
compare their performance including Random Forest, 
Support  Vector  Machine,  Decision  Tree,  Gaussian 
Naive Bayes, and K-Nearest Neighbor.