- Timestamp:
- 06/23/15 17:20:23 (9 years ago)
- Location:
- branches/DataPreprocessingImprovements/HeuristicLab.DataPreprocessing.Views/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessingImprovements/HeuristicLab.DataPreprocessing.Views/3.4/ManipulationView.Designer.cs
r11381 r12502 49 49 this.label10 = new System.Windows.Forms.Label(); 50 50 this.tabDataShuffle = new System.Windows.Forms.TabPage(); 51 this.shuffleSeparatelyCheckbox = new System.Windows.Forms.CheckBox(); 51 52 this.lblShuffleProperties = new System.Windows.Forms.Label(); 52 53 this.grpBoxPreview = new System.Windows.Forms.GroupBox(); … … 66 67 this.lblPreviewShuffle = new System.Windows.Forms.Label(); 67 68 this.label9 = new System.Windows.Forms.Label(); 68 this.shuffleSeparatelyCheckbox = new System.Windows.Forms.CheckBox(); 69 this.panel1 = new System.Windows.Forms.Panel(); 70 this.panel2 = new System.Windows.Forms.Panel(); 69 71 this.grpBoxData.SuspendLayout(); 70 72 this.tabsData.SuspendLayout(); … … 83 85 this.tabPreviewReplaceMissingValues.SuspendLayout(); 84 86 this.tabPreviewShuffle.SuspendLayout(); 87 this.panel1.SuspendLayout(); 88 this.panel2.SuspendLayout(); 85 89 this.SuspendLayout(); 86 90 // … … 90 94 | System.Windows.Forms.AnchorStyles.Right))); 91 95 this.lstMethods.FormattingEnabled = true; 96 this.lstMethods.ItemHeight = 16; 92 97 this.lstMethods.Items.AddRange(new object[] { 93 98 "Delete Columns with insufficient Information", … … 96 101 "Replace Missing Values", 97 102 "Shuffle Data"}); 98 this.lstMethods.Location = new System.Drawing.Point(3, 3); 103 this.lstMethods.Location = new System.Drawing.Point(4, 4); 104 this.lstMethods.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 99 105 this.lstMethods.Name = "lstMethods"; 100 this.lstMethods.Size = new System.Drawing.Size( 733, 95);106 this.lstMethods.Size = new System.Drawing.Size(976, 116); 101 107 this.lstMethods.Sorted = true; 102 108 this.lstMethods.TabIndex = 0; … … 107 113 this.btnApply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 108 114 this.btnApply.Enabled = false; 109 this.btnApply.Location = new System.Drawing.Point(603, 500); 115 this.btnApply.Location = new System.Drawing.Point(804, 615); 116 this.btnApply.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 110 117 this.btnApply.Name = "btnApply"; 111 this.btnApply.Size = new System.Drawing.Size(1 29, 23);118 this.btnApply.Size = new System.Drawing.Size(172, 28); 112 119 this.btnApply.TabIndex = 2; 113 120 this.btnApply.Text = "Apply Manipulation"; … … 120 127 | System.Windows.Forms.AnchorStyles.Right))); 121 128 this.grpBoxData.Controls.Add(this.tabsData); 122 this.grpBoxData.Location = new System.Drawing.Point(4, 105); 129 this.grpBoxData.Location = new System.Drawing.Point(5, 129); 130 this.grpBoxData.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 123 131 this.grpBoxData.Name = "grpBoxData"; 124 this.grpBoxData.Size = new System.Drawing.Size(732, 189); 132 this.grpBoxData.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); 133 this.grpBoxData.Size = new System.Drawing.Size(976, 233); 125 134 this.grpBoxData.TabIndex = 3; 126 135 this.grpBoxData.TabStop = false; … … 138 147 this.tabsData.Controls.Add(this.tabDataShuffle); 139 148 this.tabsData.ItemSize = new System.Drawing.Size(58, 18); 140 this.tabsData.Location = new System.Drawing.Point(6, 19); 149 this.tabsData.Location = new System.Drawing.Point(8, 23); 150 this.tabsData.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 141 151 this.tabsData.Name = "tabsData"; 142 152 this.tabsData.SelectedIndex = 0; 143 this.tabsData.Size = new System.Drawing.Size( 719, 164);153 this.tabsData.Size = new System.Drawing.Size(959, 202); 144 154 this.tabsData.TabIndex = 3; 145 155 // … … 148 158 this.tabPage1.Controls.Add(this.label7); 149 159 this.tabPage1.Location = new System.Drawing.Point(4, 22); 160 this.tabPage1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 150 161 this.tabPage1.Name = "tabPage1"; 151 this.tabPage1.Padding = new System.Windows.Forms.Padding( 3);152 this.tabPage1.Size = new System.Drawing.Size( 711, 138);162 this.tabPage1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); 163 this.tabPage1.Size = new System.Drawing.Size(951, 176); 153 164 this.tabPage1.TabIndex = 5; 154 165 this.tabPage1.Text = "tabDataInactive"; … … 159 170 this.label7.AutoSize = true; 160 171 this.label7.Enabled = false; 161 this.label7.Location = new System.Drawing.Point(3, 3); 172 this.label7.Location = new System.Drawing.Point(4, 4); 173 this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 162 174 this.label7.Name = "label7"; 163 this.label7.Size = new System.Drawing.Size( 259, 13);175 this.label7.Size = new System.Drawing.Size(345, 17); 164 176 this.label7.TabIndex = 1; 165 177 this.label7.Text = "Please select one of the manipulation methods above"; … … 171 183 this.tabDataDeleteColumnsInformation.Controls.Add(this.label1); 172 184 this.tabDataDeleteColumnsInformation.Location = new System.Drawing.Point(4, 22); 185 this.tabDataDeleteColumnsInformation.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 173 186 this.tabDataDeleteColumnsInformation.Name = "tabDataDeleteColumnsInformation"; 174 this.tabDataDeleteColumnsInformation.Padding = new System.Windows.Forms.Padding( 3);175 this.tabDataDeleteColumnsInformation.Size = new System.Drawing.Size( 711, 138);187 this.tabDataDeleteColumnsInformation.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); 188 this.tabDataDeleteColumnsInformation.Size = new System.Drawing.Size(951, 176); 176 189 this.tabDataDeleteColumnsInformation.TabIndex = 0; 177 190 this.tabDataDeleteColumnsInformation.Text = "del columns info"; … … 181 194 // 182 195 this.label2.AutoSize = true; 183 this.label2.Location = new System.Drawing.Point(204, 3); 196 this.label2.Location = new System.Drawing.Point(272, 4); 197 this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 184 198 this.label2.Name = "label2"; 185 this.label2.Size = new System.Drawing.Size( 89, 13);199 this.label2.Size = new System.Drawing.Size(120, 17); 186 200 this.label2.TabIndex = 5; 187 201 this.label2.Text = "% missing values."; … … 189 203 // txtDeleteColumnsInfo 190 204 // 191 this.txtDeleteColumnsInfo.Location = new System.Drawing.Point(164, 0); 205 this.txtDeleteColumnsInfo.Location = new System.Drawing.Point(219, 0); 206 this.txtDeleteColumnsInfo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 192 207 this.txtDeleteColumnsInfo.Name = "txtDeleteColumnsInfo"; 193 this.txtDeleteColumnsInfo.Size = new System.Drawing.Size( 34, 20);208 this.txtDeleteColumnsInfo.Size = new System.Drawing.Size(44, 22); 194 209 this.txtDeleteColumnsInfo.TabIndex = 4; 195 210 this.txtDeleteColumnsInfo.TextChanged += new System.EventHandler(this.txtDeleteColumnsInfo_TextChanged); … … 198 213 // 199 214 this.label1.AutoSize = true; 200 this.label1.Location = new System.Drawing.Point(3, 3); 215 this.label1.Location = new System.Drawing.Point(4, 4); 216 this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 201 217 this.label1.Name = "label1"; 202 this.label1.Size = new System.Drawing.Size( 155, 13);218 this.label1.Size = new System.Drawing.Size(205, 17); 203 219 this.label1.TabIndex = 3; 204 220 this.label1.Text = "Delete columns with more than "; … … 209 225 this.tabDataDeleteColumnsVariance.Controls.Add(this.label4); 210 226 this.tabDataDeleteColumnsVariance.Location = new System.Drawing.Point(4, 22); 227 this.tabDataDeleteColumnsVariance.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 211 228 this.tabDataDeleteColumnsVariance.Name = "tabDataDeleteColumnsVariance"; 212 this.tabDataDeleteColumnsVariance.Padding = new System.Windows.Forms.Padding( 3);213 this.tabDataDeleteColumnsVariance.Size = new System.Drawing.Size( 711, 138);229 this.tabDataDeleteColumnsVariance.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); 230 this.tabDataDeleteColumnsVariance.Size = new System.Drawing.Size(951, 176); 214 231 this.tabDataDeleteColumnsVariance.TabIndex = 1; 215 232 this.tabDataDeleteColumnsVariance.Text = "del columns variance"; … … 218 235 // txtDeleteColumnsVariance 219 236 // 220 this.txtDeleteColumnsVariance.Location = new System.Drawing.Point(229, 0); 237 this.txtDeleteColumnsVariance.Location = new System.Drawing.Point(305, 0); 238 this.txtDeleteColumnsVariance.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 221 239 this.txtDeleteColumnsVariance.Name = "txtDeleteColumnsVariance"; 222 this.txtDeleteColumnsVariance.Size = new System.Drawing.Size(1 35, 20);240 this.txtDeleteColumnsVariance.Size = new System.Drawing.Size(179, 22); 223 241 this.txtDeleteColumnsVariance.TabIndex = 4; 224 242 this.txtDeleteColumnsVariance.TextChanged += new System.EventHandler(this.txtDeleteColumnsVariance_TextChanged); … … 227 245 // 228 246 this.label4.AutoSize = true; 229 this.label4.Location = new System.Drawing.Point(3, 3); 247 this.label4.Location = new System.Drawing.Point(4, 4); 248 this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 230 249 this.label4.Name = "label4"; 231 this.label4.Size = new System.Drawing.Size(2 20, 13);250 this.label4.Size = new System.Drawing.Size(292, 17); 232 251 this.label4.TabIndex = 3; 233 252 this.label4.Text = "Delete columns with a variance smaller than "; … … 239 258 this.tabDataDeleteRowsInfo.Controls.Add(this.label5); 240 259 this.tabDataDeleteRowsInfo.Location = new System.Drawing.Point(4, 22); 260 this.tabDataDeleteRowsInfo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 241 261 this.tabDataDeleteRowsInfo.Name = "tabDataDeleteRowsInfo"; 242 this.tabDataDeleteRowsInfo.Padding = new System.Windows.Forms.Padding( 3);243 this.tabDataDeleteRowsInfo.Size = new System.Drawing.Size( 711, 138);262 this.tabDataDeleteRowsInfo.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); 263 this.tabDataDeleteRowsInfo.Size = new System.Drawing.Size(951, 176); 244 264 this.tabDataDeleteRowsInfo.TabIndex = 2; 245 265 this.tabDataDeleteRowsInfo.Text = "del rows info"; … … 249 269 // 250 270 this.label3.AutoSize = true; 251 this.label3.Location = new System.Drawing.Point(189, 3); 271 this.label3.Location = new System.Drawing.Point(252, 4); 272 this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 252 273 this.label3.Name = "label3"; 253 this.label3.Size = new System.Drawing.Size( 89, 13);274 this.label3.Size = new System.Drawing.Size(120, 17); 254 275 this.label3.TabIndex = 8; 255 276 this.label3.Text = "% missing values."; … … 257 278 // txtDeleteRowsInfo 258 279 // 259 this.txtDeleteRowsInfo.Location = new System.Drawing.Point(147, 0); 280 this.txtDeleteRowsInfo.Location = new System.Drawing.Point(196, 0); 281 this.txtDeleteRowsInfo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 260 282 this.txtDeleteRowsInfo.Name = "txtDeleteRowsInfo"; 261 this.txtDeleteRowsInfo.Size = new System.Drawing.Size( 34, 20);283 this.txtDeleteRowsInfo.Size = new System.Drawing.Size(44, 22); 262 284 this.txtDeleteRowsInfo.TabIndex = 7; 263 285 this.txtDeleteRowsInfo.TextChanged += new System.EventHandler(this.txtDeleteRowsInfo_TextChanged); … … 266 288 // 267 289 this.label5.AutoSize = true; 268 this.label5.Location = new System.Drawing.Point(3, 3); 290 this.label5.Location = new System.Drawing.Point(4, 4); 291 this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 269 292 this.label5.Name = "label5"; 270 this.label5.Size = new System.Drawing.Size(1 38, 13);293 this.label5.Size = new System.Drawing.Size(182, 17); 271 294 this.label5.TabIndex = 6; 272 295 this.label5.Text = "Delete rows with more than "; … … 281 304 this.tabReplaceMissingValues.Controls.Add(this.label10); 282 305 this.tabReplaceMissingValues.Location = new System.Drawing.Point(4, 22); 306 this.tabReplaceMissingValues.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 283 307 this.tabReplaceMissingValues.Name = "tabReplaceMissingValues"; 284 this.tabReplaceMissingValues.Padding = new System.Windows.Forms.Padding( 3);285 this.tabReplaceMissingValues.Size = new System.Drawing.Size( 711, 138);308 this.tabReplaceMissingValues.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); 309 this.tabReplaceMissingValues.Size = new System.Drawing.Size(951, 176); 286 310 this.tabReplaceMissingValues.TabIndex = 6; 287 311 this.tabReplaceMissingValues.Text = "repl missing vals"; … … 290 314 // txtReplaceValue 291 315 // 292 this.txtReplaceValue.Location = new System.Drawing.Point(173, 27); 316 this.txtReplaceValue.Location = new System.Drawing.Point(231, 33); 317 this.txtReplaceValue.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 293 318 this.txtReplaceValue.Name = "txtReplaceValue"; 294 this.txtReplaceValue.Size = new System.Drawing.Size(1 00, 20);319 this.txtReplaceValue.Size = new System.Drawing.Size(132, 22); 295 320 this.txtReplaceValue.TabIndex = 2; 296 321 this.txtReplaceValue.TextChanged += new System.EventHandler(this.txtReplaceValue_TextChanged); … … 300 325 this.cmbVariableNames.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 301 326 this.cmbVariableNames.FormattingEnabled = true; 302 this.cmbVariableNames.Location = new System.Drawing.Point(142, 0); 327 this.cmbVariableNames.Location = new System.Drawing.Point(189, 0); 328 this.cmbVariableNames.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 303 329 this.cmbVariableNames.Name = "cmbVariableNames"; 304 this.cmbVariableNames.Size = new System.Drawing.Size(1 21, 21);330 this.cmbVariableNames.Size = new System.Drawing.Size(160, 24); 305 331 this.cmbVariableNames.TabIndex = 1; 306 332 this.cmbVariableNames.SelectedIndexChanged += new System.EventHandler(this.cmbReplaceWith_SelectedIndexChanged); … … 316 342 "Most Common", 317 343 "Random"}); 318 this.cmbReplaceWith.Location = new System.Drawing.Point(35, 27); 344 this.cmbReplaceWith.Location = new System.Drawing.Point(47, 33); 345 this.cmbReplaceWith.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 319 346 this.cmbReplaceWith.Name = "cmbReplaceWith"; 320 this.cmbReplaceWith.Size = new System.Drawing.Size(1 21, 21);347 this.cmbReplaceWith.Size = new System.Drawing.Size(160, 24); 321 348 this.cmbReplaceWith.TabIndex = 1; 322 349 this.cmbReplaceWith.SelectedIndexChanged += new System.EventHandler(this.cmbReplaceWith_SelectedIndexChanged); … … 325 352 // 326 353 this.lblValueColon.AutoSize = true; 327 this.lblValueColon.Location = new System.Drawing.Point(157, 30); 354 this.lblValueColon.Location = new System.Drawing.Point(209, 37); 355 this.lblValueColon.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 328 356 this.lblValueColon.Name = "lblValueColon"; 329 this.lblValueColon.Size = new System.Drawing.Size(1 0, 13);357 this.lblValueColon.Size = new System.Drawing.Size(12, 17); 330 358 this.lblValueColon.TabIndex = 0; 331 359 this.lblValueColon.Text = ":"; … … 334 362 // 335 363 this.label8.AutoSize = true; 336 this.label8.Location = new System.Drawing.Point(3, 30); 364 this.label8.Location = new System.Drawing.Point(4, 37); 365 this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 337 366 this.label8.Name = "label8"; 338 this.label8.Size = new System.Drawing.Size( 26, 13);367 this.label8.Size = new System.Drawing.Size(32, 17); 339 368 this.label8.TabIndex = 0; 340 369 this.label8.Text = "with"; … … 343 372 // 344 373 this.label10.AutoSize = true; 345 this.label10.Location = new System.Drawing.Point(3, 3); 374 this.label10.Location = new System.Drawing.Point(4, 4); 375 this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 346 376 this.label10.Name = "label10"; 347 this.label10.Size = new System.Drawing.Size(1 33, 13);377 this.label10.Size = new System.Drawing.Size(177, 17); 348 378 this.label10.TabIndex = 0; 349 379 this.label10.Text = "Replace missing values for"; … … 354 384 this.tabDataShuffle.Controls.Add(this.lblShuffleProperties); 355 385 this.tabDataShuffle.Location = new System.Drawing.Point(4, 22); 386 this.tabDataShuffle.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 356 387 this.tabDataShuffle.Name = "tabDataShuffle"; 357 this.tabDataShuffle.Padding = new System.Windows.Forms.Padding( 3);358 this.tabDataShuffle.Size = new System.Drawing.Size( 711, 138);388 this.tabDataShuffle.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); 389 this.tabDataShuffle.Size = new System.Drawing.Size(951, 176); 359 390 this.tabDataShuffle.TabIndex = 4; 360 391 this.tabDataShuffle.Text = "shuffle"; 361 392 this.tabDataShuffle.UseVisualStyleBackColor = true; 362 393 // 394 // shuffleSeparatelyCheckbox 395 // 396 this.shuffleSeparatelyCheckbox.AutoSize = true; 397 this.shuffleSeparatelyCheckbox.Location = new System.Drawing.Point(8, 2); 398 this.shuffleSeparatelyCheckbox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 399 this.shuffleSeparatelyCheckbox.Name = "shuffleSeparatelyCheckbox"; 400 this.shuffleSeparatelyCheckbox.Size = new System.Drawing.Size(312, 21); 401 this.shuffleSeparatelyCheckbox.TabIndex = 1; 402 this.shuffleSeparatelyCheckbox.Text = "Shuffle training and test partitions separately"; 403 this.shuffleSeparatelyCheckbox.UseVisualStyleBackColor = true; 404 // 363 405 // lblShuffleProperties 364 406 // 365 407 this.lblShuffleProperties.AutoSize = true; 366 408 this.lblShuffleProperties.Enabled = false; 367 this.lblShuffleProperties.Location = new System.Drawing.Point(3, 3); 409 this.lblShuffleProperties.Location = new System.Drawing.Point(4, 4); 410 this.lblShuffleProperties.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 368 411 this.lblShuffleProperties.Name = "lblShuffleProperties"; 369 this.lblShuffleProperties.Size = new System.Drawing.Size(1 15, 13);412 this.lblShuffleProperties.Size = new System.Drawing.Size(154, 17); 370 413 this.lblShuffleProperties.TabIndex = 0; 371 414 this.lblShuffleProperties.Text = "No properties available"; … … 377 420 | System.Windows.Forms.AnchorStyles.Right))); 378 421 this.grpBoxPreview.Controls.Add(this.tabsPreview); 379 this.grpBoxPreview.Location = new System.Drawing.Point(4, 301); 422 this.grpBoxPreview.Location = new System.Drawing.Point(5, 370); 423 this.grpBoxPreview.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 380 424 this.grpBoxPreview.Name = "grpBoxPreview"; 381 this.grpBoxPreview.Size = new System.Drawing.Size(732, 193); 425 this.grpBoxPreview.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); 426 this.grpBoxPreview.Size = new System.Drawing.Size(976, 238); 382 427 this.grpBoxPreview.TabIndex = 4; 383 428 this.grpBoxPreview.TabStop = false; … … 395 440 this.tabsPreview.Controls.Add(this.tabPreviewShuffle); 396 441 this.tabsPreview.ItemSize = new System.Drawing.Size(58, 18); 397 this.tabsPreview.Location = new System.Drawing.Point(6, 19); 442 this.tabsPreview.Location = new System.Drawing.Point(8, 23); 443 this.tabsPreview.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 398 444 this.tabsPreview.Name = "tabsPreview"; 399 445 this.tabsPreview.SelectedIndex = 0; 400 this.tabsPreview.Size = new System.Drawing.Size( 719, 168);446 this.tabsPreview.Size = new System.Drawing.Size(959, 207); 401 447 this.tabsPreview.TabIndex = 3; 402 448 // … … 405 451 this.tabPreviewInactive.Controls.Add(this.lblPreviewInActive); 406 452 this.tabPreviewInactive.Location = new System.Drawing.Point(4, 22); 453 this.tabPreviewInactive.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 407 454 this.tabPreviewInactive.Name = "tabPreviewInactive"; 408 this.tabPreviewInactive.Padding = new System.Windows.Forms.Padding( 3);409 this.tabPreviewInactive.Size = new System.Drawing.Size( 711, 142);455 this.tabPreviewInactive.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); 456 this.tabPreviewInactive.Size = new System.Drawing.Size(951, 181); 410 457 this.tabPreviewInactive.TabIndex = 5; 411 458 this.tabPreviewInactive.Text = "inactive"; … … 415 462 // 416 463 this.lblPreviewInActive.AutoSize = true; 417 this.lblPreviewInActive.Location = new System.Drawing.Point(3, 3); 464 this.lblPreviewInActive.Location = new System.Drawing.Point(4, 4); 465 this.lblPreviewInActive.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 418 466 this.lblPreviewInActive.Name = "lblPreviewInActive"; 419 this.lblPreviewInActive.Size = new System.Drawing.Size( 361, 39);467 this.lblPreviewInActive.Size = new System.Drawing.Size(491, 51); 420 468 this.lblPreviewInActive.TabIndex = 2; 421 469 this.lblPreviewInActive.Text = "Filters are active and thus manipulations cannot be applied!\r\n\r\nPlease deactive t" + … … 425 473 // tabPreviewDeleteColumnsInfo 426 474 // 427 this.tabPreviewDeleteColumnsInfo.Controls.Add(this. lblPreviewColumnsInfo);475 this.tabPreviewDeleteColumnsInfo.Controls.Add(this.panel1); 428 476 this.tabPreviewDeleteColumnsInfo.Location = new System.Drawing.Point(4, 22); 477 this.tabPreviewDeleteColumnsInfo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 429 478 this.tabPreviewDeleteColumnsInfo.Name = "tabPreviewDeleteColumnsInfo"; 430 this.tabPreviewDeleteColumnsInfo.Padding = new System.Windows.Forms.Padding( 3);431 this.tabPreviewDeleteColumnsInfo.Size = new System.Drawing.Size( 711, 142);479 this.tabPreviewDeleteColumnsInfo.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); 480 this.tabPreviewDeleteColumnsInfo.Size = new System.Drawing.Size(951, 181); 432 481 this.tabPreviewDeleteColumnsInfo.TabIndex = 0; 433 482 this.tabPreviewDeleteColumnsInfo.Text = "del columns info"; … … 437 486 // 438 487 this.lblPreviewColumnsInfo.AutoSize = true; 439 this.lblPreviewColumnsInfo.Location = new System.Drawing.Point(3, 3); 488 this.lblPreviewColumnsInfo.Dock = System.Windows.Forms.DockStyle.Left; 489 this.lblPreviewColumnsInfo.Location = new System.Drawing.Point(0, 0); 490 this.lblPreviewColumnsInfo.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 440 491 this.lblPreviewColumnsInfo.Name = "lblPreviewColumnsInfo"; 441 this.lblPreviewColumnsInfo.Size = new System.Drawing.Size( 318, 13);492 this.lblPreviewColumnsInfo.Size = new System.Drawing.Size(423, 17); 442 493 this.lblPreviewColumnsInfo.TabIndex = 1; 443 494 this.lblPreviewColumnsInfo.Text = "{0} columns with more than {1} % missing values would be deleted"; … … 445 496 // tabPreviewDeleteColumnsVariance 446 497 // 498 this.tabPreviewDeleteColumnsVariance.Controls.Add(this.panel2); 447 499 this.tabPreviewDeleteColumnsVariance.Controls.Add(this.label12); 448 this.tabPreviewDeleteColumnsVariance.Controls.Add(this.lblPreviewColumnsVariance);449 500 this.tabPreviewDeleteColumnsVariance.Location = new System.Drawing.Point(4, 22); 501 this.tabPreviewDeleteColumnsVariance.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 450 502 this.tabPreviewDeleteColumnsVariance.Name = "tabPreviewDeleteColumnsVariance"; 451 this.tabPreviewDeleteColumnsVariance.Padding = new System.Windows.Forms.Padding( 3);452 this.tabPreviewDeleteColumnsVariance.Size = new System.Drawing.Size( 711, 142);503 this.tabPreviewDeleteColumnsVariance.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); 504 this.tabPreviewDeleteColumnsVariance.Size = new System.Drawing.Size(951, 181); 453 505 this.tabPreviewDeleteColumnsVariance.TabIndex = 1; 454 506 this.tabPreviewDeleteColumnsVariance.Text = "del columns variance"; … … 458 510 // 459 511 this.label12.AutoSize = true; 460 this.label12.Location = new System.Drawing.Point(6, 22); 512 this.label12.Location = new System.Drawing.Point(8, 27); 513 this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 461 514 this.label12.Name = "label12"; 462 this.label12.Size = new System.Drawing.Size(0, 1 3);515 this.label12.Size = new System.Drawing.Size(0, 17); 463 516 this.label12.TabIndex = 2; 464 517 // … … 466 519 // 467 520 this.lblPreviewColumnsVariance.AutoSize = true; 468 this.lblPreviewColumnsVariance.Location = new System.Drawing.Point(3, 3); 521 this.lblPreviewColumnsVariance.Dock = System.Windows.Forms.DockStyle.Left; 522 this.lblPreviewColumnsVariance.Location = new System.Drawing.Point(0, 0); 523 this.lblPreviewColumnsVariance.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 469 524 this.lblPreviewColumnsVariance.Name = "lblPreviewColumnsVariance"; 470 this.lblPreviewColumnsVariance.Size = new System.Drawing.Size(3 01, 13);525 this.lblPreviewColumnsVariance.Size = new System.Drawing.Size(398, 17); 471 526 this.lblPreviewColumnsVariance.TabIndex = 2; 472 527 this.lblPreviewColumnsVariance.Text = "{0} columns with a variance smaller than {1} would be deleted."; … … 476 531 this.tabPreviewDeleteRowsInfo.Controls.Add(this.lblPreviewRowsInfo); 477 532 this.tabPreviewDeleteRowsInfo.Location = new System.Drawing.Point(4, 22); 533 this.tabPreviewDeleteRowsInfo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 478 534 this.tabPreviewDeleteRowsInfo.Name = "tabPreviewDeleteRowsInfo"; 479 this.tabPreviewDeleteRowsInfo.Padding = new System.Windows.Forms.Padding( 3);480 this.tabPreviewDeleteRowsInfo.Size = new System.Drawing.Size( 711, 142);535 this.tabPreviewDeleteRowsInfo.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); 536 this.tabPreviewDeleteRowsInfo.Size = new System.Drawing.Size(951, 181); 481 537 this.tabPreviewDeleteRowsInfo.TabIndex = 2; 482 538 this.tabPreviewDeleteRowsInfo.Text = "del rows info"; … … 486 542 // 487 543 this.lblPreviewRowsInfo.AutoSize = true; 488 this.lblPreviewRowsInfo.Location = new System.Drawing.Point(3, 3); 544 this.lblPreviewRowsInfo.Location = new System.Drawing.Point(4, 4); 545 this.lblPreviewRowsInfo.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 489 546 this.lblPreviewRowsInfo.Name = "lblPreviewRowsInfo"; 490 this.lblPreviewRowsInfo.Size = new System.Drawing.Size( 301, 13);547 this.lblPreviewRowsInfo.Size = new System.Drawing.Size(400, 17); 491 548 this.lblPreviewRowsInfo.TabIndex = 2; 492 549 this.lblPreviewRowsInfo.Text = "{0} rows with more than {1} % missing values would be deleted"; … … 496 553 this.tabPreviewReplaceMissingValues.Controls.Add(this.lblPreviewReplaceMissingValues); 497 554 this.tabPreviewReplaceMissingValues.Location = new System.Drawing.Point(4, 22); 555 this.tabPreviewReplaceMissingValues.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 498 556 this.tabPreviewReplaceMissingValues.Name = "tabPreviewReplaceMissingValues"; 499 this.tabPreviewReplaceMissingValues.Padding = new System.Windows.Forms.Padding( 3);500 this.tabPreviewReplaceMissingValues.Size = new System.Drawing.Size( 711, 142);557 this.tabPreviewReplaceMissingValues.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); 558 this.tabPreviewReplaceMissingValues.Size = new System.Drawing.Size(951, 181); 501 559 this.tabPreviewReplaceMissingValues.TabIndex = 6; 502 560 this.tabPreviewReplaceMissingValues.Text = "repl missing vals"; … … 506 564 // 507 565 this.lblPreviewReplaceMissingValues.AutoSize = true; 508 this.lblPreviewReplaceMissingValues.Location = new System.Drawing.Point(3, 3); 566 this.lblPreviewReplaceMissingValues.Location = new System.Drawing.Point(4, 4); 567 this.lblPreviewReplaceMissingValues.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 509 568 this.lblPreviewReplaceMissingValues.Name = "lblPreviewReplaceMissingValues"; 510 this.lblPreviewReplaceMissingValues.Size = new System.Drawing.Size( 343, 13);569 this.lblPreviewReplaceMissingValues.Size = new System.Drawing.Size(449, 17); 511 570 this.lblPreviewReplaceMissingValues.TabIndex = 3; 512 571 this.lblPreviewReplaceMissingValues.Text = "{0} cells detected with missing values which would be replaced with {1}"; … … 516 575 this.tabPreviewShuffle.Controls.Add(this.lblPreviewShuffle); 517 576 this.tabPreviewShuffle.Location = new System.Drawing.Point(4, 22); 577 this.tabPreviewShuffle.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 518 578 this.tabPreviewShuffle.Name = "tabPreviewShuffle"; 519 this.tabPreviewShuffle.Padding = new System.Windows.Forms.Padding( 3);520 this.tabPreviewShuffle.Size = new System.Drawing.Size( 711, 142);579 this.tabPreviewShuffle.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); 580 this.tabPreviewShuffle.Size = new System.Drawing.Size(951, 181); 521 581 this.tabPreviewShuffle.TabIndex = 4; 522 582 this.tabPreviewShuffle.Text = "shuffle"; … … 526 586 // 527 587 this.lblPreviewShuffle.AutoSize = true; 528 this.lblPreviewShuffle.Location = new System.Drawing.Point(3, 3); 588 this.lblPreviewShuffle.Location = new System.Drawing.Point(4, 4); 589 this.lblPreviewShuffle.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); 529 590 this.lblPreviewShuffle.Name = "lblPreviewShuffle"; 530 this.lblPreviewShuffle.Size = new System.Drawing.Size( 252, 13);591 this.lblPreviewShuffle.Size = new System.Drawing.Size(337, 17); 531 592 this.lblPreviewShuffle.TabIndex = 0; 532 593 this.lblPreviewShuffle.Text = "Data will be shuffled randomly - preview not possible"; … … 539 600 this.label9.TabIndex = 0; 540 601 // 541 // shuffleSeparatelyCheckbox 542 // 543 this.shuffleSeparatelyCheckbox.AutoSize = true; 544 this.shuffleSeparatelyCheckbox.Location = new System.Drawing.Point(6, 2); 545 this.shuffleSeparatelyCheckbox.Name = "shuffleSeparatelyCheckbox"; 546 this.shuffleSeparatelyCheckbox.Size = new System.Drawing.Size(233, 17); 547 this.shuffleSeparatelyCheckbox.TabIndex = 1; 548 this.shuffleSeparatelyCheckbox.Text = "Shuffle training and test partitions separately"; 549 this.shuffleSeparatelyCheckbox.UseVisualStyleBackColor = true; 602 // panel1 603 // 604 this.panel1.AutoScroll = true; 605 this.panel1.Controls.Add(this.lblPreviewColumnsInfo); 606 this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; 607 this.panel1.Location = new System.Drawing.Point(4, 4); 608 this.panel1.Name = "panel1"; 609 this.panel1.Size = new System.Drawing.Size(943, 173); 610 this.panel1.TabIndex = 2; 611 // 612 // panel2 613 // 614 this.panel2.AutoScroll = true; 615 this.panel2.Controls.Add(this.lblPreviewColumnsVariance); 616 this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; 617 this.panel2.Location = new System.Drawing.Point(4, 4); 618 this.panel2.Name = "panel2"; 619 this.panel2.Size = new System.Drawing.Size(943, 173); 620 this.panel2.TabIndex = 3; 550 621 // 551 622 // ManipulationView 552 623 // 553 this.AutoScaleDimensions = new System.Drawing.SizeF( 6F, 13F);624 this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); 554 625 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 555 626 this.Controls.Add(this.btnApply); … … 557 628 this.Controls.Add(this.grpBoxData); 558 629 this.Controls.Add(this.lstMethods); 630 this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); 559 631 this.Name = "ManipulationView"; 560 this.Size = new System.Drawing.Size( 739, 529);632 this.Size = new System.Drawing.Size(985, 651); 561 633 this.grpBoxData.ResumeLayout(false); 562 634 this.tabsData.ResumeLayout(false); … … 578 650 this.tabPreviewInactive.PerformLayout(); 579 651 this.tabPreviewDeleteColumnsInfo.ResumeLayout(false); 580 this.tabPreviewDeleteColumnsInfo.PerformLayout();581 652 this.tabPreviewDeleteColumnsVariance.ResumeLayout(false); 582 653 this.tabPreviewDeleteColumnsVariance.PerformLayout(); … … 587 658 this.tabPreviewShuffle.ResumeLayout(false); 588 659 this.tabPreviewShuffle.PerformLayout(); 660 this.panel1.ResumeLayout(false); 661 this.panel1.PerformLayout(); 662 this.panel2.ResumeLayout(false); 663 this.panel2.PerformLayout(); 589 664 this.ResumeLayout(false); 590 665 … … 636 711 private System.Windows.Forms.Label lblPreviewInActive; 637 712 private System.Windows.Forms.CheckBox shuffleSeparatelyCheckbox; 713 private System.Windows.Forms.Panel panel1; 714 private System.Windows.Forms.Panel panel2; 638 715 } 639 716 } -
branches/DataPreprocessingImprovements/HeuristicLab.DataPreprocessing.Views/3.4/ManipulationView.cs
r12012 r12502 23 23 using System.Collections.Generic; 24 24 using System.Drawing; 25 using System.Linq; 26 using System.Text; 25 27 using System.Windows.Forms; 26 28 using HeuristicLab.Core.Views; … … 148 150 private void validateDeleteColumnsInfo() { 149 151 validateDoubleTextBox(txtDeleteColumnsInfo.Text); 150 if (btnApply.Enabled) { 151 int count = Content.ManipulationLogic.ColumnsWithMissingValuesGreater(getDeleteColumnsInfo()).Count; 152 int rowCount = Content.FilterLogic.PreprocessingData.Rows; 153 lblPreviewColumnsInfo.Text = count + " column" + (count > 1 || count == 0 ? "s" : "") + " of " + rowCount + " (" + string.Format("{0:F2}%", 100d / rowCount * count) + ") were detected with more than " + txtDeleteColumnsInfo.Text + "% missing values."; 152 if (btnApply.Enabled) 153 { 154 var filteredColumns = Content.ManipulationLogic.ColumnsWithMissingValuesGreater(getDeleteColumnsInfo()); 155 int count = filteredColumns.Count; 156 int columnCount = Content.FilterLogic.PreprocessingData.Columns; 157 lblPreviewColumnsInfo.Text = count + " column" + (count > 1 || count == 0 ? "s" : "") + " of " + columnCount + " (" + string.Format("{0:F2}%", 100d / columnCount * count) + ") were detected with more than " + txtDeleteColumnsInfo.Text + "% missing values."; 154 158 if (count > 0) { 155 lblPreviewColumnsInfo.Text += Environment.NewLine + Environment.NewLine + "Please press the button \"Apply Manipulation\" if you wish to delete those columns."; 159 StringBuilder sb = new StringBuilder(); 160 sb.Append(Environment.NewLine); 161 sb.Append("Columns: "); 162 sb.Append(Content.SearchLogic.VariableNames.ElementAt(filteredColumns.ElementAt(0))); 163 for (int i = 1; i < filteredColumns.Count; i++) { 164 string columnName = Content.SearchLogic.VariableNames.ElementAt(filteredColumns.ElementAt(i)); 165 sb.Append(", "); 166 sb.Append(columnName); 167 } 168 sb.Append(Environment.NewLine); 169 sb.Append("Please press the button \"Apply Manipulation\" if you wish to delete those columns."); 170 171 lblPreviewColumnsInfo.Text += sb.ToString(); 156 172 } else { 157 173 btnApply.Enabled = false; … … 165 181 validateDoubleTextBox(txtDeleteColumnsVariance.Text); 166 182 if (btnApply.Enabled) { 167 int count = Content.ManipulationLogic.ColumnsWithVarianceSmaller(getDeleteColumnsVariance()).Count; 168 int rowCount = Content.FilterLogic.PreprocessingData.Rows; 169 lblPreviewColumnsVariance.Text = count + " column" + (count > 1 || count == 0 ? "s" : "") + " of " + rowCount + " (" + string.Format("{0:F2}%", 100d / rowCount * count) + ") were detected with a variance smaller than " + txtDeleteColumnsVariance.Text + "."; 183 var filteredColumns = Content.ManipulationLogic.ColumnsWithVarianceSmaller(getDeleteColumnsVariance()); 184 int count = filteredColumns.Count; 185 int columnCount = Content.FilterLogic.PreprocessingData.Columns; 186 lblPreviewColumnsVariance.Text = count + " column" + (count > 1 || count == 0 ? "s" : "") + " of " + columnCount + " (" + string.Format("{0:F2}%", 100d / columnCount * count) + ") were detected with a variance smaller than " + txtDeleteColumnsVariance.Text + "."; 170 187 if (count > 0) { 171 lblPreviewColumnsVariance.Text += Environment.NewLine + Environment.NewLine + "Please press the button \"Apply Manipulation\" if you wish to delete those columns."; 188 StringBuilder sb = new StringBuilder(); 189 sb.Append(Environment.NewLine); 190 sb.Append("Columns: "); 191 sb.Append(Content.SearchLogic.VariableNames.ElementAt(filteredColumns.ElementAt(0))); 192 for (int i = 1; i < filteredColumns.Count; i++) { 193 string columnName = Content.SearchLogic.VariableNames.ElementAt(filteredColumns.ElementAt(i)); 194 sb.Append(", "); 195 sb.Append(columnName); 196 } 197 sb.Append(Environment.NewLine); 198 sb.Append("Please press the button \"Apply Manipulation\" if you wish to delete those columns."); 199 200 lblPreviewColumnsVariance.Text += sb.ToString(); 172 201 } else { 173 202 btnApply.Enabled = false;
Note: See TracChangeset
for help on using the changeset viewer.