News
Entertainment
Science & Technology
Life
Culture & Art
Hobbies
News
Entertainment
Science & Technology
Culture & Art
Hobbies
Program 1 // Project: Traffic Light Simulation Using Queue Linked List //---------------------------------------------------------- // Features: // Add vehicles to queue (simulating arrival) // Process vehicles when the signal turns green // Show vehicles in the...
Get Job-ready: Java Course with 45+ Real-time Projects! - Learn Java Program 1 class TestCommand { public static void main(String args[]) { // if(args[0].toUpperCase().equals(args[1].toUpperCase())) if(args[0].equalsIgnoreCase(args[1])) System.out.println("Same"); else System.out.println("Not same"); // System.out.println("Total Arguments: "+ args.length);...
Full Stack Web Development Courses with Real-time projects Start Now!! Program 1 { "name": "movie-ratings-console", "version": "1.0.0", "description": "Console-based Movie Ratings and Analytics System in Node.js", "main": "app.js", "scripts": { "start": "node app.js" },...
Full Stack Web Development Courses with Real-time projects Start Now!! Program 1 const db = require('./db'); const readline = require('readline'); const rl = readline.createInterface({ input: process.stdin, output: process.stdout }); function showMenu() { console.log("n -------...
Machine Learning courses with 100+ Real-time projects Start Now!! Program 1 Flight Booking Dataset # Flight Booking Cancellation Prediction Using Decision Tree # To build a machine learning model that predicts whether a booked...
Machine Learning courses with 100+ Real-time projects Start Now!! Program 1 Admission Dataset # College Admission Eligibility Predictor Using Decision Tree import pandas as pd from sklearn.model_selection import train_test_split from sklearn.tree import DecisionTreeClassifier from...
Machine Learning courses with 100+ Real-time projects Start Now!! Program 1 Login Dataset # Suspicious Login Detection Using Logistic Regression # Detect whether a login attempt is normal or suspicious # based on parameter...
Machine Learning courses with 100+ Real-time projects Start Now!! Program 1 Restaurant Preference Dataset import pandas as pd from sklearn.preprocessing import LabelEncoder from sklearn.model_selection import train_test_split from sklearn.tree import DecisionTreeClassifier from sklearn.metrics import accuracy_score...
Machine Learning courses with 100+ Real-time projects Start Now!! Program 1 Loan Dataset # Loan Approval Classifier for Microfinance Institutions Using Logistic Regression # Project is to predict whether a loan application should be...
Machine Learning courses with 100+ Real-time projects Start Now!! Program 1 Admission Dataset # Admission Chance Predictor Based on Test Scores and Profile # This project uses a Logistic Regression model to predict #...
Machine Learning courses with 100+ Real-time projects Start Now!! Program 1 College Dataset # To build a machine learning model that can predict the annual tuition fee of a # private college based on:...
Machine Learning courses with 100+ Real-time projects Start Now!! Program 1 Retail Sales Dataset # Project Sales Forecasting for a Retail Store # To predict future sales for a retail store based on historical...
Machine Learning courses with 100+ Real-time projects Start Now!! Program 1 Iris Dataset import pandas as pd import numpy as np from sklearn.preprocessing import LabelEncoder from sklearn.model_selection import train_test_split from sklearn.metrics import confusion_matrix from...
Get Job-ready: Java Course with 45+ Real-time Projects! - Learn Java SQL Queries CREATE DATABASE restaurant_db; USE restaurant_db; CREATE TABLE customers ( customer_id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(100), contact VARCHAR(15) ); CREATE TABLE...
Machine Learning courses with 100+ Real-time projects Start Now!! Program 1 E-Commerce Sales Dataset # E-Commerce Sales Visualization using Seaborn #This project analyzes e-commerce sales data using Seaborn and Matplotlib. # It visualizes trends...
Machine Learning courses with 100+ Real-time projects Start Now!! Program 1 import pandas as pd import numpy as np import seaborn as sns import matplotlib.pyplot as plt df_sales=pd.read_excel("D://scikit_data/Sale/sales.xlsx") df_sales.head() df_sales.info() df_sales.isnull().sum() df_sales.shape sns.relplot(x='Sales',y='Profit',data=df_sales,hue='Order Priority',style='Ship...
Machine Learning courses with 100+ Real-time projects Start Now!! Program 1 import matplotlib.pyplot as plt from sklearn.datasets import load_digits digits=load_digits() digits dir(digits) digits.images[0] plt.gray() plt.matshow(digits.images[9]) plt.show() for i in range(9): plt.matshow(digits.images[i]) digits.target[:10] from sklearn.model_selection...
Machine Learning courses with 100+ Real-time projects Start Now!! Program 1 import pandas as pd import numpy as np import seaborn as sns df_tip=pd.read_csv("D://scikit_data/Billing/tips.csv") df_tip.head() df_tip.shape df_tip.info() df_tip.isnull().sum() sns.barplot(x='day',y='total_bill',hue='sex',data=df_tip,hue_order=['Male','Female']) sns.barplot(x='day',y='total_bill',hue='sex',hue_order=['Male','Female'],order=['Thur','Fri','Sat','Sun'],data=df_tip) sns.barplot(x='day',y='total_bill',hue='sex',data=df_tip) sns.barplot(x='day',y='total_bill',hue='sex',data=df_tip,ci=12) sns.barplot(x='day',y='total_bill',hue='sex',data=df_tip,orient='h') sns.barplot(y='day',x='total_bill',hue='sex',data=df_tip)...
Machine Learning courses with 100+ Real-time projects Start Now!! Program 1 import pandas as pd import numpy as np import seaborn as sns import matplotlib.pyplot as plt df_tips=pd.read_csv("D://scikit_data/Billing/tips.csv") df_tips.head() df_tips.info() df_tips.isnull().sum() df_tips.shape sns.pairplot(df_tips,hue='sex',palette='Accent_r') sns.pairplot(df_tips,hue='sex',kind='scatter')...
Machine Learning courses with 100+ Real-time projects Start Now!! Program 1 import matplotlib.pyplot as plt import pandas as pd import numpy as np df=pd.read_csv("D:scikit_datacardatacarprices.csv") df.head(5) df=df.rename(columns={'Age(yrs)':'Age'}) df=df.rename(columns={'Sell Price($)':'SellPrice'}) df.head(5) plt.scatter(df['Mileage'],df['SellPrice'],color='red') plt.scatter(df['Age'],df['SellPrice'],color='red') from sklearn.model_selection import...
Get Job-ready: Java Course with 45+ Real-time Projects! - Learn Java Program 1 import java.io.*; import java.util.*; public class ToDoListProject { static ArrayList<String> tasks=new ArrayList<String>(); public static void main(String[] args) { Scanner scan=new Scanner(System.in);...
Master Python with 70+ Hands-on Projects and Get Job-ready - Learn Python Program 1 # Program for PDBC import MySQLdb try: con=MySQLdb.connect(host='localhost',user='root',password='root',database='DataFlair') print("Data Base connected") eno=int(input("Enter Employee No:")) name=input("Enter Employee Name:") mobile=int(input("Enter Mobile No:"))...
Master Python with 70+ Hands-on Projects and Get Job-ready - Learn Python Program 1 import mysql.connector from tabulate import tabulate # Database connection def connect_db(): return mysql.connector.connect( host="localhost", user="root", password="root", database="sales_db" ) # 1....
Master Python with 70+ Hands-on Projects and Get Job-ready - Learn Python Program 1 # Project: Movie Ratings and Analytics System import mysql.connector # Connect to MySQL db = mysql.connector.connect( host="localhost", user="root", password="root", #...
Master Python with 70+ Hands-on Projects and Get Job-ready - Learn Python Program 1 # Program for PDBC Delete Data by id import MySQLdb try: con=MySQLdb.connect(host='localhost',user='root',password='root',database='DataFlair') print("Data Base connected") empid=int(input("Enter employee id for delete:...
Master Python with 70+ Hands-on Projects and Get Job-ready - Learn Python Program 1 # PDBC with OOPS import MySQLdb class EmployeeDatabase: # Connection def __init__(self): self.con=MySQLdb.connect(host='localhost',user='root',password='root',database='college') #print("Connection success") # Insert record def insertdata(self,name,dept,salary,gender,city):...