Posts

Showing posts from August, 2018

Liner Regression Solved Example for ML

Image
Formula : Y=aX+b So first we calculate a and b a=n* summation(xy)-summation(x)*summation(y) / n* summation(x*x)- summation(x*x) b=1/n * (summation(y)- a * summation(x))

Naive Bayes Algorithm For Machine Learning..working

Image
                        

Mysql Hosting Comming Soon

https://www.freemysqlhosting.net

JSP Automatic Redirect After Session Expire/Timeout

 Steps : 1.Create index.jsp and write below code ================================================ <html>     <head>         <META HTTP-EQUIV="refresh" CONTENT="<%= session.getMaxInactiveInterval() %>; URL=error.jsp" />         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">         <title>JSP Page</title>     </head>     <body>         </body> </html> ================================================== 2.create error.jsp ================================================== 3. in web.xml write below entry of session in minit  <session-config>         <session-timeout>             1         </session-timeout>     </session-config> ================================================== 4.run index.jsp and wait for 1 minit , after one minit automatically error page display. ================================================