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

📄 d3.jsp

📁 AOI(面向属性的归纳)是数据分析中有效的数据约简手段
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<jsp:useBean id="data" scope="page" class="data.Conn"/>
<%!
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>数据挖掘中基于属性归纳方法的实现</title>
<LINK href="images/css2.css" type=text/css rel=stylesheet><style type="text/css">
<!--
body,td,th {
	font-size: 14pt;
	color: #CC3399;
}
-->
</style></HEAD>
<BODY leftMargin=0 
background="images/somibg.gif" topMargin=0 
marginheight="0" marginwidth="0">
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
    
  <TR>
    <TD bgColor=#ffffff height=12></TD></TR>
  <TR>
    <TD bgColor=#ffffff>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          
        <TR>
          <TD width="2%">&nbsp;</TD>
          <TD width="48%"><IMG height=30 
            src="images/somilogo.gif" 
            width=180></TD>
          <TD width="48%">
            <DIV align=right><IMG height=30 
            src="images/somiright.gif" 
            width=130></DIV></TD>
          <TD width="2%">&nbsp;</TD></TR> </TABLE></TD></TR>
  <TR>
    <TD bgColor=#ffffff height=12></TD></TR> </TABLE>

<LINK href="images/css.css" type=text/css rel=stylesheet>

<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
    
  <TR>
    <TD bgColor=#ffffff height=3></TD></TR>
  <TR>
    <TD align="center" valign="middle" bgColor=#ffffff class="maint">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="5%">&nbsp;</td>
          <td align="center" valign="middle" class="bigmenu"><br />
          数据挖掘中基于属性归纳方法的实现</td>
          <td width="5%">&nbsp;</td>
        </tr>
        <tr>
          <td width="5%">&nbsp;</td>
          <td align="left"><br />
              <br />
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="10%">&nbsp;</td>
              <td>
                 <p>
				 <%
				  String sql;
				 String str;
				 int temp;
				 int type=Integer.parseInt(request.getParameter("type"));
				 int No=Integer.parseInt(request.getParameter("select"));
				  switch(No)
				  {
				  case 1:
				  sql="select count(Total) from jys where Total between 0 and 5" ;
				  str="A";
				  break;
				  case 2:
				  sql="select count(Total) from jys where Total between 5 and 20" ;
				  str="B";
				  break;
				  case 3:
				  sql="select count(Total) from jys where Total between 20 and 50" ;
				  str="C";
				  break;
				  case 4:
				  sql="select count(Total) from jys where Total between 50 and 100";
				  str="D";
				  break;
				  default:
				  sql="select count(Total) from jys where Total between 0 and 5";
				  str="E";
				  break;
				  }
				 %>
				 选择的是 &nbsp;&nbsp;&nbsp;<%=str%>,<br />
属性泛化阈值是&nbsp;&nbsp;&nbsp;&nbsp;<%=type%>,<br />

                   <% 
				 
				   ResultSet rs=data.executeQuery(sql);
				   if(rs.next())
				  {
				  temp=rs.getInt(1);
				  if(temp<type)
				  out.print("<font color=red>!!结果超出它的泛化阈值!</font>");
				  else
				  out.print("查询结果是   &nbsp;&nbsp;&nbsp;  "+temp);
				  }
				   
				 %>
                 </p>
                </td>
              <td width="10%">&nbsp;</td>
            </tr>
            <tr>
              <td width="10%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="10%">&nbsp;</td>
            </tr>
            <tr>
              <td width="10%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="10%">&nbsp;</td>
            </tr>
          </table>
          <br /></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
      </table>
      </TD>
  </TR> </TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
 
  <TR>

    <TD  background="images/somibutt.gif" 
    bgColor=#ffffff height=57>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
       
        <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              
            </TABLE></TD>
        </TR> </TABLE></TD></TR> </TABLE>

</BODY></HTML>

⌨️ 快捷键说明

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