title: in rstudio while using multi level perceptron(mpl) i got an error that object can not find and couldn't solve this
body: <pre><code>set.seed(123)
  library(randomForest)
  library(gmodels)
  library(neuralnet)
  library(RSNNS)
  library(Rcpp)
  library(lattice)
  library(ggplot2)
  library(caret)
  set.seed(123)
  setwd("C:/Users/Mitul Shah/Desktop/UCI_HAR_Dataset/UCI_HAR_Dataset")
  train_data&lt;-read.table("train/X_train.txt")
  train_lables&lt;-read.table("train/Y_train.txt")
  
  test_data&lt;-read.table("test/X_test.txt")
  test_lables&lt;-read.table("test/Y_test.txt")
  
  col_names &lt;- readLines("features.txt")
  colnames(train_data)&lt;-make.names(col_names)
  colnames(test_data)&lt;-make.names(col_names)
  colnames(train_lables)&lt;-"lable"
  colnames(test_lables)&lt;-"lable"
  
  train_final&lt;-cbind(train_lables,train_data)
  test_final&lt;-cbind(test_lables,test_data)
  final_data&lt;-rbind(train_final,test_final)
  final_data$lable&lt;-factor(final_data$lable)
  model_mlp
  </code></pre>
  
  <blockquote>
    <p>caret::train(lable~.,data=final_data[ttt,],method="mlp")<br>
    Error in '[.data.frame'(final_data, ttt, ) : object 'ttt' not found</p>
  </blockquote>