Austria
Exploring Austria: A Journey Through History and Nature. Nestled in Central Europe, a mosaic of culture.
Read Guide →I am Prasanna Kulkarni. I write Python to detect outliers in data, and I travel the globe to discover the outliers in culture. Welcome to my public journal and mangoblogger blogs.
Get in Touch# Published: Tue 25 Feb 2025
import pandas as pd
from sklearn.ensemble import IsolationForest
def anamoly_detection(new: pd.DataFrame):
# Tracking anomaly in the data
new["std"] = new["value"].std()
new["mean"] = new["value"].mean()
# AI Model Logic
model = IsolationForest(contamination=0.3)
model.fit(new[["value"]])
new["anomaly_score"] = model.predict(new[["value"]])
if last_value.score == -1:
return "Anomaly Detected!"
else:
return "System Normal."
Exploring Austria: A Journey Through History and Nature. Nestled in Central Europe, a mosaic of culture.
Read Guide →AI Tools for Enhanced Productivity. Leveraging ChatGPT and Generative AI for content creation.
View Tools →Exploring India: A Land of Rich History and Natural Beauty. Birthplace of major religions.
Start Journey →Right to Self-Representation in Canada. Understanding the "pro se" process in legal proceedings.
Read Entry →Discover Italy: A Journey Through History and Beauty. A testament to human achievement.
Visit Rome →Import XML sitemap data into Google Sheets. A guide for SEOs and Developers.
See Script →* Featured: Anomaly Detection Visualized / Travel Vlogs
Available for web design, data analysis projects, or travel tips.