Posts

IS PRACTICALS

  Download

BIDA PRACTICALS

  Full File Only Codes Files Txt Codes Practical No. 3 : Aim: Perform the data classification using classification algorithm using R/Python Python CODE: import numpy as np import matplotlib.pyplot as plt rainfall = [799, 1174.8, 865.1, 1334.6, 635.4, 918.5,  685.5, 998.6, 784.2, 985, 882.8, 1071] months = np.arange("2012-01", "2013-01",  dtype="datetime64[M]") plt.figure() plt.plot(months, rainfall, marker='o') plt.title("Monthly Rainfall (2012)") plt.xlabel("Month") plt.ylabel("Rainfall (mm)") plt.grid(True) plt.savefig("rainfall.png") plt.close() plt.figure() plt.plot(months, rainfall, marker='o') plt.title("Monthly Rainfall (2012)") plt.xlabel("Month") plt.ylabel("Rainfall (mm)") plt.grid(True) plt.show() ------------------ PRACTICAL NO: 4 Aim: Perform the data clustering using clustering algorithm using R/python R Code: newiris <- iris newiris$Species <- NULL (k...

FGIS PRACTICALS

Download PDF

Java

  Download Download 2

CG copy Paste

 Brensam  #include<graphics.h>  #include<stdio.h>  void main()  {  int x,y,x1,y1,x2,y2,dx,dy,p;  int i,gd=DETECT,gm;  initgraph(&gd,&gm,"C:\\TURBOC3\\BGI");  prinƞ("\n\nEnter co-ordinates of first point:");  scanf("%d%d",&x1,&y1);  prinƞ("\n\nEnter co-ordinates of second point:");  scanf("%d%d",&x2,&y2);  dx=(x2-x1);  dy=(y2-y1);  p=2*(dy)-(dx);  x=x1;  y=y1;  putpixel(x,y,WHITE);  while(x<=x2)  {  if(p<0)  { x=x+1;  y=y;  p=p+2*(dy); }  else  {  x=x+1;  y=y+1;  p=p+2*(dy-dx);  }  putpixel(x,y,WHITE);  }  getch();  closegraph();  } Basic shapes in center #include<stdio.h> void main() { int gd=DETECT,gm,x,y; initgraph(&gd,&gm,"C:\\TURBOC3\\BGI"); x=getmaxx(); y=getmaxy(); circle(x/2,y/2,15); rectangle(275,204,363,273); rectangle(x/2-20,y/2-20,x/2+20,y/...

Cg

  Download Link