SSSahana S Acharyainmachinelearningg.hashnode.devยทAug 31, 2025 ยท 4 min readANN -Machine Learning๐ Step 1: Importing Libraries import pandas as pd from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler, LabelEncoder import pickle pandas (pd): Used for data handling (reading CSV, creating datafram...00
SSSahana S Acharyainreact-diaries.hashnode.devยทAug 1, 2025 ยท 2 min readhow form works?๐ The code tsCopyEditsetForm((prev) => ({ ...prev, [name]: value })); โ What it does This is updating a specific field in the form state without losing the rest of the form data. ๐ง Step-by-step prev = previous state (the whole form object before...00
SSSahana S Acharyainreact-diaries.hashnode.devยทJul 31, 2025 ยท 5 min readwebsite using react vite (login &singup page)Signup โ Login โ 1. Create Vite Project with TypeScript npm create vite@latest my-auth-app -- --template react-ts cd my-auth-app โ 2. Install Tailwind CSS npm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p ๐ง tailwind.config...00
SSSahana S Acharyainmachinelearningg.hashnode.devยทJul 19, 2025 ยท 2 min readNLTK Tokenization & Stemming๐น 1. Setup import nltk nltk.download('punkt') # Download tokenizer models โ๏ธ 2. Sentence Tokenization from nltk.tokenize import sent_tokenize corpus = "I am Sahana. I love cats." sentences = sent_tokenize(corpus) print(sentences) ๐น Output: ['I...00
SSSahana S Acharyainnodejs2025.hashnode.devยทJun 9, 2025 ยท 2 min readL12.๐ Node.js โ Handling Forms with Expressimport express from 'express'; const app = express(); // When I enter a name, it will be displayed in the URL like this: // http://localhost:1000/?name=sahana&email= // To handle this kind of form data, we need middleware. // For this, we use built...00