⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addtestdata.cs

📁 基于决策树和贝叶斯的预测分析器
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DecisionTreeAlgorithm;
using DecisionTree;
using System.Collections;

namespace DecisionTreeAlgorithm
{
    public partial class AddTestData : Form
    {
        //struct Item
        //{
        //    public int ID;
        //    public ageType age;
        //    public native_countryType native_country;
        //    public educationType education;
        //    public occupationType occupation;
        //    public makeover50kType makeover50k;
        //}
        //private ArrayList attributeList;
        //public AddTestData()
        //{
        //    InitializeComponent();
        //}

        //private void AddTestDate_Load(object sender, EventArgs e)
        //{
        //    cbAge.Items.Add("youth");
        //    cbAge.Items.Add("middle_aged");
        //    cbAge.Items.Add("senior ");
        //    comboBox2.Items.Add("developing");
        //    comboBox2.Items.Add("developed");
        //    comboBox2.Items.Add("verydeveloped");
        //    comboBox3.Items.Add("yes");
        //    comboBox3.Items.Add("no");
        //    comboBox4.Items.Add("normal");
        //    comboBox4.Items.Add("excellent");
        //    comboBox5.Items.Add("yes");
        //    comboBox5.Items.Add("no ");
        //    comboBox5.Items.Add("");
        //}

        //private void button1_Click(object sender, EventArgs e)
        //{
        //    Item testItem = new Item();
        //    testItem.age = cbAge.SelectedValue;
        //    testItem.education = comboBox2.SelectedValue;
        //    testItem.native_country = comboBox3.SelectedValue;
        //    testItem.occupation = comboBox4.SelectedValue;
        //    testItem.makeover50k = comboBox5.SelectedValue;


        //}
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -