Saturday, 16 December 2017

Advanced Computer Science Projects - 2017 - 18

Hi All,

Doing an innovative project using advance technology is no big deal.
You need passion...that's the only requirement.
Anyone can be taught any technology if interested.


1. Windspeed prediction using Artificial Neural Networks (ANN)

2. Weather Reporting using R-Pi, Python and Twitter Interface

3. Student performance Prediction using Artificial Neural Networks (ANN)

4. Weather Forecasting using Artificial Neural Networks (ANN)

5. Twitter Sentiment Analysis using Python

6. Cancer prediction using Artificial Neural Networks (ANN)

7. Protein Interaction Prediction using Support Vector machine(SVM)

8. Car Number Plate detection and recognition using Matlab Image Processing Toolkit.

9. DNA cryptography for Text and Image Encryption using Matlab

Thursday, 6 April 2017

Show Id automatically in the form - VB.NET

Dear All,
See the code which show the Id automatically in the form.

Form program - Default.aspx
---------------

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!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 id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    Welcome to User Edit
    </div>

    Roll No <asp:TextBox ID="huprollno" runat="server"></asp:TextBox>
    <br />
     Name&nbsp;&nbsp; <asp:TextBox ID="hupname" runat="server"></asp:TextBox>
    <br />
 Marks&nbsp;&nbsp; <asp:TextBox ID="hupmarks" runat="server"></asp:TextBox>
    <br />
    <asp:Button ID="Button1" runat="server" Text="Insert" />
    <br />
    </form>
</body>
</html>






Code file - Default.aspx.vb
--------------

Imports System.Data
Imports System.Data.SqlClient
Partial Class _Default
    Inherits System.Web.UI.Page
    Public constr As String
    Public ds As New DataSet()
    Public da As SqlClient.SqlDataAdapter
    Public mySqlConn1 As New SqlClient.SqlConnection(constr)
    Public sql, sql1, code, asd, type, cartno As String



    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
     
        Dim conn As New SqlConnection
        Dim constr As String
        constr = "Data Source=.\SQLEXPRESS;AttachDbFilename=E:\AUM HUP C#\HUPAEdit\App_Data\HUPDB.mdf;Integrated Security=true;User Instance=true"

        conn.ConnectionString = constr
        conn.Open()
        sql = "insert into tblHUP values('" & hupname.Text & "','" & huprollno.Text & "','" & hupmarks.Text & "')"

        Dim comm As New SqlCommand(sql, conn)



        Dim i As Integer
        i = comm.ExecuteNonQuery()


        MsgBox("Data saved")
        Response.Redirect("Default.aspx")
        conn.Close()

    End Sub

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim conn As New SqlConnection
        Dim constr As String
        constr = "Data Source=.\SQLEXPRESS;AttachDbFilename=E:\AUM HUP C#\HUPAEdit\App_Data\HUPDB.mdf;Integrated Security=true;User Instance=true"

        conn.ConnectionString = constr
        conn.Open()
        sql = "select max(rollno) as mid from tblHUP"

        Dim comm As New SqlCommand(sql, conn)

        Dim id As Integer

        Dim dr As SqlDataReader
        dr = comm.ExecuteReader
        Dim a As Integer
        If dr.Read() = True Then
            a = 1
            id = dr("mid")
        End If
        id = id + 1
        huprollno.Text = id
        huprollno.Enabled = False
        dr.Close()
    End Sub
End Class




Monday, 6 March 2017

A simple Support Vector Machine Program in Matlab

 Hi All,

See a simple SVM training and testing module

// Here a student performance prediction is done
//Three inputs are marks for series1, series2 and attendance percentage
//1 indicates pass and 0 indicates fail
//Testing with [25 30 and 35
//result will be stored in classes
train1=[75 81 82 ; 30 21 40];
test1=[25 30 35];
G=[1 0];
G=G';
svmStruct = svmtrain(train1,G,'Kernel_Function','rbf','Method','QP');
classes = svmclassify(svmStruct,test1);
classes