Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.90 KB | None | 0 0
  1. class cid A_CLI_monto_sucursal_1 A_CLI_monto_sucursal_2 A_CLI_monto_sucursal_3
  2. 1 N 55600018227 0.00 0.00 192.00
  3. 2 N 55600021052 144.69 0.00 16.19
  4. 3 N 55600028433 0.00 623.24 230.23
  5. 4 N 55600029142 0.00 29.00 87.00
  6. 5 N 55600035510 0.00 269.98 51.50
  7. 6 N 55600037073 0.00 0.00 83.00
  8. A_CLI_monto_sucursal_4 A_CLI_promociones A_CLI_dias_cliente A_CLI_sucursales
  9. 1 0.00 19 511 1
  10. 2 0.00 4 91 2
  11. 3 0.00 18 694 2
  12. 4 0.00 8 323 2
  13. 5 52.48 20 341 3
  14. 6 0.00 5 516 1
  15. A_CLI_promos_enviadas
  16. 1 8
  17. 2 0
  18. 3 11
  19. 4 3
  20. 5 5
  21. 6 2
  22.  
  23. for (i in colnames(todo6)[2:ncol(todo6)]) {
  24. todo6[,i]<-as.numeric(todo6[,i])}
  25.  
  26. > sapply(todo6, class)
  27. class cid A_CLI_monto_sucursal_1 A_CLI_monto_sucursal_2
  28. "factor" "numeric" "numeric" "numeric"
  29. A_CLI_monto_sucursal_3 A_CLI_monto_sucursal_4 A_CLI_promociones A_CLI_dias_cliente
  30. "numeric" "numeric" "numeric" "numeric"
  31. A_CLI_sucursales A_CLI_promos_enviadas
  32. "numeric" "numeric"
  33. colnames(todo6)[1] # class
  34. class(todo6$class) # factor
  35.  
  36. pnn <- learn(todo6)
  37.  
  38. > pnn<-smooth(pnn)
  39.  
  40. Domains:
  41. 0.000000e+00 <= X1 <= 1.000000e+01
  42.  
  43. Data Type: Floating Point
  44. Operators (code number, name, population)
  45. (1) Cloning........................... 0
  46. (2) Uniform Mutation.................. 1
  47. (3) Boundary Mutation................. 1
  48. (4) Non-Uniform Mutation.............. 1
  49. (5) Polytope Crossover................ 1
  50. (6) Simple Crossover.................. 2
  51. (7) Whole Non-Uniform Mutation........ 1
  52. (8) Heuristic Crossover............... 2
  53. (9) Local-Minimum Crossover........... 0
  54.  
  55. HARD Maximum Number of Generations: 100
  56. Maximum Nonchanging Generations: 2
  57. Population size : 10
  58. Convergence Tolerance: 1.000000e+00
  59.  
  60. Using the BFGS Derivative Based Optimizer on the Best Individual Each Generation.
  61. Checking Gradients before Stopping.
  62. Using Out of Bounds Individuals.
  63.  
  64. Minimization Problem.
  65. Error in guess(model0, as.matrix(X))$category :
  66. $ operator is invalid for atomic vectors
  67.  
  68. pnn$sigma <- 0.5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement