IInvokerininvoker.hashnode.dev·Sep 2, 2025 · 8 min readGenerativeAI# Sigmoid function import matplotlib.pyplot as plt import numpy as np def sigmoid(x): s=1/(1+np.exp(-x)) ds=s*(1-s) return s,ds x=np.arange(-8,8,0.01) sigmoid(x) fig, ax = plt.subplots(figsize=(9,5)) ax.spines['left'].set_posit...00
IInvokerininvoker.hashnode.dev·Aug 24, 2025 · 2 min readDPS-Prac5Senario 1: You are investigating a money transfer network to detect suspicious behavior. You suspect one account (A6) to be fraudulent due to multiple high-value transfers. CREATE (p1:Person {id:'P1', name:'Alice'}), (p2:Person {id:'P2', name:'B...00
IInvokerininvoker.hashnode.dev·Aug 24, 2025 · 1 min readDPS-Prac2Practical 2 CREATE (:Person {name: 'Alice', age: 25}) MATCH (p:Person) RETURN p MATCH (a:Person {name: 'Alice'}), (b:Person {name: 'Bob'}) CREATE (a)-[:FRIENDS_WITH {since:2021}]->(b) MATCH (a:Person {name: 'Alice'}), (b:Person {name: 'Bob'}) MAT...00
IInvokerininvoker.hashnode.dev·Aug 21, 2025 · 1 min readNLP-prac*POEM* import nltk from nltk import sent_tokenize from nltk import word_tokenize textfile = open('/content/mytext.txt') text = textfile.read() print(text) words = word_tokenize(text) words nltk.download('punkt_tab') #filtereing stop words from nl...00
IInvokerininvoker.hashnode.dev·Apr 7, 2025 · 2 min readAfts-garchimport pandas as pd import matplotlib.pyplot as plt import numpy as np import seaborn as sns from matplotlib import style %matplotlib inline from datetime import datetime import yfinance as yf stock = yf.Ticker("GS") volitality_data = stock.history(...00