From 421fc7a0f92f0227a553da95111702c1739213f9 Mon Sep 17 00:00:00 2001 From: kanitvural Date: Fri, 10 Jan 2025 10:26:37 +0300 Subject: [PATCH] week1 day1 update --- week1/day1.ipynb | 639 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 595 insertions(+), 44 deletions(-) diff --git a/week1/day1.ipynb b/week1/day1.ipynb index d1823b1..6abb44c 100644 --- a/week1/day1.ipynb +++ b/week1/day1.ipynb @@ -72,7 +72,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "id": "4e2a9393-7767-488e-a8bf-27c12dca35bd", "metadata": {}, "outputs": [], @@ -111,10 +111,18 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "id": "7b87cadb-d513-4303-baee-a37b6f938e4d", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "API key found and looks good so far!\n" + ] + } + ], "source": [ "# Load environment variables in a file called .env\n", "\n", @@ -135,7 +143,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "id": "019974d9-f3ad-4a8a-b5f9-0a3719aea2d3", "metadata": {}, "outputs": [], @@ -156,15 +164,23 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 4, "id": "a58394bf-1e45-46af-9bfd-01e24da6f49a", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Hello! Welcome to our chat! What can I help you with today?\n" + ] + } + ], "source": [ "# To give you a preview -- calling OpenAI with these messages is this easy. Any problems, head over to the Troubleshooting notebook.\n", "\n", "message = \"Hello, GPT! This is my first ever message to you! Hi!\"\n", - "response = openai.chat.completions.create(model=\"gpt-4o-mini\", messages=[{\"role\":\"user\", \"content\":message}])\n", + "response = openai.chat.completions.create(model=\"gpt-3.5-turbo\", messages=[{\"role\":\"user\", \"content\":message}])\n", "print(response.choices[0].message.content)" ] }, @@ -178,7 +194,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 5, "id": "c5e793b2-6775-426a-a139-4848291d0463", "metadata": {}, "outputs": [], @@ -208,16 +224,223 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 8, "id": "2ef960cf-6dc2-4cda-afb3-b38be12f4c97", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Kanit Vural | Data Scientist & ML Engineer\n", + "Home\n", + "About\n", + "Skills\n", + "Projects\n", + "Blog\n", + "Contact\n", + "Kanıt Vural\n", + "|\n", + "Transforming data into actionable insights and building intelligent solutions\n", + "Get in Touch\n", + "About Me\n", + "Data Scientist & Mine Research & Development Engineer with expertise in AI-driven solutions\n", + "He began his career in 2008 at Erdemir Mining Company as a Mining R&D Engineer, part of Oyak Mining Metallurgy Group in Divriği, Turkey. Early on, he worked on geophysical gravity and magnetic iron ore exploration and learned Surpac software to create 3D solid models from drill data. He enhanced his skills in Geostatistics through training at Hacettepe University.\n", + "With this expertise, he created block models and conducted reserve classifications, improving the company’s cost-efficiency and profits. He played a key role in discovering new fields and developing existing reserves, contributing to significant financial gains.\n", + "In 2020, he joined Tosyalı Iron Steel Angola, a subsidiary of Tosyalı Holding, in Jamba, Angola. He continued reserve classifications using Datamine software and discovered new iron and gold fields. He also mentored junior engineers by providing Datamine training.\n", + "Software has always been his passion, starting in high school and continuing throughout his career. He pursued courses in web development, mobile app development, cybersecurity, and data science, eventually discovering his true passion for data science. He took a career break to intensively train in this field, and continues to learn and work on projects daily.\n", + "Key Achievements\n", + "Discovered iron ore deposits totaling more than 300 million tons across multiple sites.\n", + "Applied AI-driven approaches to his work, boosting efficiency.\n", + "Passionately mentored junior engineers, empowering them to grow and reach their full potential.\n", + "With all the knowledge and experience gained over 15 years, he is ready to create added value by applying it in both the mining and IT industries.\n", + "Download CV\n", + "GitHub\n", + "AI/ML\n", + "Cloud\n", + "Data\n", + "MLOps\n", + "Skills & Expertise\n", + "Data Analysis\n", + "Statistical Analysis\n", + "Data Visualization\n", + "CRM Analytics\n", + "Machine & Deep Learning\n", + "Machine Learning Models\n", + "Computer Vision\n", + "Natural Language Processing\n", + "Cloud & Infrastructure\n", + "AWS Services\n", + "MLOps\n", + "Data Engineering\n", + "Generative AI\n", + "Large Language Models\n", + "Prompt Engineering\n", + "AI Applications\n", + "Mine Research & Development\n", + "Mine Exploration\n", + "Geostatistics\n", + "Solid & Block Modeling\n", + "Technologies I Work With\n", + "Python\n", + "NumPy\n", + "Pandas\n", + "Scikit-learn\n", + "TensorFlow\n", + "PyTorch\n", + "PySpark\n", + "Power BI\n", + "ChatGPT\n", + "Claude\n", + "LangChain\n", + "HuggingFace\n", + "FastAPI\n", + "Streamlit\n", + "Gradio\n", + "PostgreSQL\n", + "MLflow\n", + "Docker\n", + "Kubernetes\n", + "Git\n", + "GitHub\n", + "Red Hat\n", + "Jenkins\n", + "AWS\n", + "Terraform\n", + "Hadoop\n", + "Kafka\n", + "Airflow\n", + "JavaScript\n", + "Node.js\n", + "Datamine\n", + "Surpac\n", + "Qgis\n", + "Featured Projects\n", + "Smile-Based Face Recognition Access Control System\n", + "A facial recognition application using AWS infrastructure that activates with your smile and grants\n", + " access to registered users. Features email notifications, entry logging, and optional ChatGPT\n", + " integration.\n", + "AWS\n", + "Terraform\n", + "Python\n", + "Face Recognition\n", + "Learn More\n", + "Voice2Image AI Generator\n", + "An innovative application that transforms voice into images using AI. Record your voice to generate\n", + " text via\n", + " OpenAI's Whisper, create images with DALL·E, and enhance results using Gemini 1.5 Pro for\n", + " regeneration.\n", + "OpenAI\n", + "DALL·E\n", + "Python\n", + "Gemini\n", + "Learn More\n", + "Chat with YouTube Video\n", + "A powerful application that allows you to interact with YouTube videos by converting them into text\n", + " and asking\n", + " questions about their content. Uses OpenAI's Whisper for speech-to-text, LangChain's RAG for Q&A, and\n", + " Gemini\n", + " Pro for chat.\n", + "OpenAI Whisper\n", + "LangChain\n", + "Gemini Pro\n", + "Streamlit\n", + "Learn More\n", + "Data Analyzer with LLM Agents\n", + "An intelligent application that analyzes CSV files using advanced language models. Features automatic\n", + " descriptive statistics, data visualization, and LLM-powered Q&A about datasets. Supports multiple\n", + " models like\n", + " Gemini, Claude, and GPT.\n", + "LangChain\n", + "Streamlit\n", + "Data Analysis\n", + "LLM Agents\n", + "Learn More\n", + "Evolution of Sentiment Analysis\n", + "A comprehensive exploration of NLP techniques from rule-based to transformer models, analyzing IMDB\n", + " reviews.\n", + " Features machine learning, deep learning (LSTM, CNN), and BERT implementations with detailed\n", + " performance comparisons.\n", + "NLP\n", + "BERT\n", + "Deep Learning\n", + "TensorFlow\n", + "Learn More\n", + "Fish Species Classification with ANN\n", + "An image classification project using Artificial Neural Networks to identify 9 different fish\n", + " species. Features\n", + " smart cropping, PCA dimensionality reduction, and K-means clustering for image preprocessing,\n", + " achieving 91%\n", + " accuracy.\n", + "TensorFlow\n", + "Computer Vision\n", + "Neural Networks\n", + "Image Processing\n", + "Learn More\n", + "Cardiovascular Disease Prediction\n", + "A machine learning model for predicting cardiovascular diseases using patient attributes. Features\n", + " MLflow for\n", + " model tracking, Gradio for UI, and FastAPI backend. Analyzes various health metrics including ECG\n", + " results,\n", + " blood pressure, and cholesterol levels.\n", + "MLflow\n", + "FastAPI\n", + "Gradio\n", + "Machine Learning\n", + "Learn More\n", + "Vegetable Image Classification\n", + "A deep learning project that classifies 15 different types of vegetables using transfer learning with\n", + " EfficientNet B0. Features a Gradio interface for easy interaction, PyTorch implementation, and high\n", + " accuracy\n", + " image recognition.\n", + "PyTorch\n", + "EfficientNet\n", + "Gradio\n", + "Transfer Learning\n", + "Learn More\n", + "CRM Analytics & Customer Segmentation\n", + "A comprehensive CRM analysis project featuring cohort analysis, customer lifetime value prediction\n", + " using\n", + " BG-NBD and Gamma-Gamma models, RFM analysis, and purchase propensity prediction. Includes customer\n", + " segmentation and targeted marketing strategies.\n", + "Customer Analytics\n", + "Machine Learning\n", + "RFM Analysis\n", + "CLTV Prediction\n", + "Learn More\n", + "Amazon Multi-Model Analysis\n", + "A comprehensive project combining sentiment analysis (LSTM with self-attention), image classification\n", + " (EfficientNetB0), and recommendation systems. Features transfer learning, BERT embeddings, and\n", + " FAISS/ChromaDB\n", + " for similarity search.\n", + "Deep Learning\n", + "BERT\n", + "AWS\n", + "TensorFlow\n", + "Learn More\n", + "Latest Blog Posts\n", + "Tracing the Evolution of Natural Language Processing Through Sentiment Analysis\n", + "An exploration of NLP's journey and its applications in sentiment\n", + " analysis...\n", + "Read on Medium\n", + "Building a Smile-Based Access Control System Using AWS\n", + "Let your smile be your password - A unique approach to access\n", + " control\n", + " using AWS services and facial recognition...\n", + "Read on Medium\n", + "Get in Touch\n", + "Interested in collaboration? Let's connect!\n", + "[email protected]\n", + "© 2025 Kanıt Vural. All rights reserved.\n" + ] + } + ], "source": [ "# Let's try one out. Change the website and add print statements to follow along.\n", "\n", - "ed = Website(\"https://edwarddonner.com\")\n", - "print(ed.title)\n", - "print(ed.text)" + "kanit = Website(\"https://kanitvural.com\")\n", + "print(kanit.title)\n", + "print(kanit.text)" ] }, { @@ -240,7 +463,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 16, "id": "abdb8417-c5dc-44bc-9bee-2e059d162699", "metadata": {}, "outputs": [], @@ -254,7 +477,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 10, "id": "f0275b1b-7cfe-4f9d-abfa-7650d378da0c", "metadata": {}, "outputs": [], @@ -272,12 +495,221 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "26448ec4-5c00-4204-baec-7df91d11ff2e", + "execution_count": 11, + "id": "47a22222", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "You are looking at a website titled Kanit Vural | Data Scientist & ML Engineer\n", + "The contents of this website is as follows; please provide a short summary of this website in markdown. If it includes news or announcements, then summarize these too.\n", + "\n", + "Home\n", + "About\n", + "Skills\n", + "Projects\n", + "Blog\n", + "Contact\n", + "Kanıt Vural\n", + "|\n", + "Transforming data into actionable insights and building intelligent solutions\n", + "Get in Touch\n", + "About Me\n", + "Data Scientist & Mine Research & Development Engineer with expertise in AI-driven solutions\n", + "He began his career in 2008 at Erdemir Mining Company as a Mining R&D Engineer, part of Oyak Mining Metallurgy Group in Divriği, Turkey. Early on, he worked on geophysical gravity and magnetic iron ore exploration and learned Surpac software to create 3D solid models from drill data. He enhanced his skills in Geostatistics through training at Hacettepe University.\n", + "With this expertise, he created block models and conducted reserve classifications, improving the company’s cost-efficiency and profits. He played a key role in discovering new fields and developing existing reserves, contributing to significant financial gains.\n", + "In 2020, he joined Tosyalı Iron Steel Angola, a subsidiary of Tosyalı Holding, in Jamba, Angola. He continued reserve classifications using Datamine software and discovered new iron and gold fields. He also mentored junior engineers by providing Datamine training.\n", + "Software has always been his passion, starting in high school and continuing throughout his career. He pursued courses in web development, mobile app development, cybersecurity, and data science, eventually discovering his true passion for data science. He took a career break to intensively train in this field, and continues to learn and work on projects daily.\n", + "Key Achievements\n", + "Discovered iron ore deposits totaling more than 300 million tons across multiple sites.\n", + "Applied AI-driven approaches to his work, boosting efficiency.\n", + "Passionately mentored junior engineers, empowering them to grow and reach their full potential.\n", + "With all the knowledge and experience gained over 15 years, he is ready to create added value by applying it in both the mining and IT industries.\n", + "Download CV\n", + "GitHub\n", + "AI/ML\n", + "Cloud\n", + "Data\n", + "MLOps\n", + "Skills & Expertise\n", + "Data Analysis\n", + "Statistical Analysis\n", + "Data Visualization\n", + "CRM Analytics\n", + "Machine & Deep Learning\n", + "Machine Learning Models\n", + "Computer Vision\n", + "Natural Language Processing\n", + "Cloud & Infrastructure\n", + "AWS Services\n", + "MLOps\n", + "Data Engineering\n", + "Generative AI\n", + "Large Language Models\n", + "Prompt Engineering\n", + "AI Applications\n", + "Mine Research & Development\n", + "Mine Exploration\n", + "Geostatistics\n", + "Solid & Block Modeling\n", + "Technologies I Work With\n", + "Python\n", + "NumPy\n", + "Pandas\n", + "Scikit-learn\n", + "TensorFlow\n", + "PyTorch\n", + "PySpark\n", + "Power BI\n", + "ChatGPT\n", + "Claude\n", + "LangChain\n", + "HuggingFace\n", + "FastAPI\n", + "Streamlit\n", + "Gradio\n", + "PostgreSQL\n", + "MLflow\n", + "Docker\n", + "Kubernetes\n", + "Git\n", + "GitHub\n", + "Red Hat\n", + "Jenkins\n", + "AWS\n", + "Terraform\n", + "Hadoop\n", + "Kafka\n", + "Airflow\n", + "JavaScript\n", + "Node.js\n", + "Datamine\n", + "Surpac\n", + "Qgis\n", + "Featured Projects\n", + "Smile-Based Face Recognition Access Control System\n", + "A facial recognition application using AWS infrastructure that activates with your smile and grants\n", + " access to registered users. Features email notifications, entry logging, and optional ChatGPT\n", + " integration.\n", + "AWS\n", + "Terraform\n", + "Python\n", + "Face Recognition\n", + "Learn More\n", + "Voice2Image AI Generator\n", + "An innovative application that transforms voice into images using AI. Record your voice to generate\n", + " text via\n", + " OpenAI's Whisper, create images with DALL·E, and enhance results using Gemini 1.5 Pro for\n", + " regeneration.\n", + "OpenAI\n", + "DALL·E\n", + "Python\n", + "Gemini\n", + "Learn More\n", + "Chat with YouTube Video\n", + "A powerful application that allows you to interact with YouTube videos by converting them into text\n", + " and asking\n", + " questions about their content. Uses OpenAI's Whisper for speech-to-text, LangChain's RAG for Q&A, and\n", + " Gemini\n", + " Pro for chat.\n", + "OpenAI Whisper\n", + "LangChain\n", + "Gemini Pro\n", + "Streamlit\n", + "Learn More\n", + "Data Analyzer with LLM Agents\n", + "An intelligent application that analyzes CSV files using advanced language models. Features automatic\n", + " descriptive statistics, data visualization, and LLM-powered Q&A about datasets. Supports multiple\n", + " models like\n", + " Gemini, Claude, and GPT.\n", + "LangChain\n", + "Streamlit\n", + "Data Analysis\n", + "LLM Agents\n", + "Learn More\n", + "Evolution of Sentiment Analysis\n", + "A comprehensive exploration of NLP techniques from rule-based to transformer models, analyzing IMDB\n", + " reviews.\n", + " Features machine learning, deep learning (LSTM, CNN), and BERT implementations with detailed\n", + " performance comparisons.\n", + "NLP\n", + "BERT\n", + "Deep Learning\n", + "TensorFlow\n", + "Learn More\n", + "Fish Species Classification with ANN\n", + "An image classification project using Artificial Neural Networks to identify 9 different fish\n", + " species. Features\n", + " smart cropping, PCA dimensionality reduction, and K-means clustering for image preprocessing,\n", + " achieving 91%\n", + " accuracy.\n", + "TensorFlow\n", + "Computer Vision\n", + "Neural Networks\n", + "Image Processing\n", + "Learn More\n", + "Cardiovascular Disease Prediction\n", + "A machine learning model for predicting cardiovascular diseases using patient attributes. Features\n", + " MLflow for\n", + " model tracking, Gradio for UI, and FastAPI backend. Analyzes various health metrics including ECG\n", + " results,\n", + " blood pressure, and cholesterol levels.\n", + "MLflow\n", + "FastAPI\n", + "Gradio\n", + "Machine Learning\n", + "Learn More\n", + "Vegetable Image Classification\n", + "A deep learning project that classifies 15 different types of vegetables using transfer learning with\n", + " EfficientNet B0. Features a Gradio interface for easy interaction, PyTorch implementation, and high\n", + " accuracy\n", + " image recognition.\n", + "PyTorch\n", + "EfficientNet\n", + "Gradio\n", + "Transfer Learning\n", + "Learn More\n", + "CRM Analytics & Customer Segmentation\n", + "A comprehensive CRM analysis project featuring cohort analysis, customer lifetime value prediction\n", + " using\n", + " BG-NBD and Gamma-Gamma models, RFM analysis, and purchase propensity prediction. Includes customer\n", + " segmentation and targeted marketing strategies.\n", + "Customer Analytics\n", + "Machine Learning\n", + "RFM Analysis\n", + "CLTV Prediction\n", + "Learn More\n", + "Amazon Multi-Model Analysis\n", + "A comprehensive project combining sentiment analysis (LSTM with self-attention), image classification\n", + " (EfficientNetB0), and recommendation systems. Features transfer learning, BERT embeddings, and\n", + " FAISS/ChromaDB\n", + " for similarity search.\n", + "Deep Learning\n", + "BERT\n", + "AWS\n", + "TensorFlow\n", + "Learn More\n", + "Latest Blog Posts\n", + "Tracing the Evolution of Natural Language Processing Through Sentiment Analysis\n", + "An exploration of NLP's journey and its applications in sentiment\n", + " analysis...\n", + "Read on Medium\n", + "Building a Smile-Based Access Control System Using AWS\n", + "Let your smile be your password - A unique approach to access\n", + " control\n", + " using AWS services and facial recognition...\n", + "Read on Medium\n", + "Get in Touch\n", + "Interested in collaboration? Let's connect!\n", + "[email protected]\n", + "© 2025 Kanıt Vural. All rights reserved.\n" + ] + } + ], "source": [ - "print(user_prompt_for(ed))" + "print(user_prompt_for(kanit))" ] }, { @@ -301,7 +733,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 12, "id": "f25dcd35-0cd0-4235-9f64-ac37ed9eaaa5", "metadata": {}, "outputs": [], @@ -314,14 +746,22 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 13, "id": "21ed95c5-7001-47de-a36d-1d6673b403ce", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Hmm, let me put on my thinking cap for this one... *drumroll*... 2 + 2 equals 4! So exciting, right?\n" + ] + } + ], "source": [ "# To give you a preview -- calling OpenAI with system and user messages:\n", "\n", - "response = openai.chat.completions.create(model=\"gpt-4o-mini\", messages=messages)\n", + "response = openai.chat.completions.create(model=\"gpt-3.5-turbo\", messages=messages)\n", "print(response.choices[0].message.content)" ] }, @@ -335,7 +775,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 14, "id": "0134dfa4-8299-48b5-b444-f2a8c3403c88", "metadata": {}, "outputs": [], @@ -351,14 +791,26 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "36478464-39ee-485c-9f3f-6a4e458dbc9c", + "execution_count": 17, + "id": "26bf8bb9", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "[{'role': 'system',\n", + " 'content': 'You are an assistant that analyzes the contents of a website and provides a short summary, ignoring text that might be navigation related. Respond in markdown.'},\n", + " {'role': 'user',\n", + " 'content': \"You are looking at a website titled Kanit Vural | Data Scientist & ML Engineer\\nThe contents of this website is as follows; please provide a short summary of this website in markdown. If it includes news or announcements, then summarize these too.\\n\\nHome\\nAbout\\nSkills\\nProjects\\nBlog\\nContact\\nKanıt Vural\\n|\\nTransforming data into actionable insights and building intelligent solutions\\nGet in Touch\\nAbout Me\\nData Scientist & Mine Research & Development Engineer with expertise in AI-driven solutions\\nHe began his career in 2008 at Erdemir Mining Company as a Mining R&D Engineer, part of Oyak Mining Metallurgy Group in Divriği, Turkey. Early on, he worked on geophysical gravity and magnetic iron ore exploration and learned Surpac software to create 3D solid models from drill data. He enhanced his skills in Geostatistics through training at Hacettepe University.\\nWith this expertise, he created block models and conducted reserve classifications, improving the company’s cost-efficiency and profits. He played a key role in discovering new fields and developing existing reserves, contributing to significant financial gains.\\nIn 2020, he joined Tosyalı Iron Steel Angola, a subsidiary of Tosyalı Holding, in Jamba, Angola. He continued reserve classifications using Datamine software and discovered new iron and gold fields. He also mentored junior engineers by providing Datamine training.\\nSoftware has always been his passion, starting in high school and continuing throughout his career. He pursued courses in web development, mobile app development, cybersecurity, and data science, eventually discovering his true passion for data science. He took a career break to intensively train in this field, and continues to learn and work on projects daily.\\nKey Achievements\\nDiscovered iron ore deposits totaling more than 300 million tons across multiple sites.\\nApplied AI-driven approaches to his work, boosting efficiency.\\nPassionately mentored junior engineers, empowering them to grow and reach their full potential.\\nWith all the knowledge and experience gained over 15 years, he is ready to create added value by applying it in both the mining and IT industries.\\nDownload CV\\nGitHub\\nAI/ML\\nCloud\\nData\\nMLOps\\nSkills & Expertise\\nData Analysis\\nStatistical Analysis\\nData Visualization\\nCRM Analytics\\nMachine & Deep Learning\\nMachine Learning Models\\nComputer Vision\\nNatural Language Processing\\nCloud & Infrastructure\\nAWS Services\\nMLOps\\nData Engineering\\nGenerative AI\\nLarge Language Models\\nPrompt Engineering\\nAI Applications\\nMine Research & Development\\nMine Exploration\\nGeostatistics\\nSolid & Block Modeling\\nTechnologies I Work With\\nPython\\nNumPy\\nPandas\\nScikit-learn\\nTensorFlow\\nPyTorch\\nPySpark\\nPower BI\\nChatGPT\\nClaude\\nLangChain\\nHuggingFace\\nFastAPI\\nStreamlit\\nGradio\\nPostgreSQL\\nMLflow\\nDocker\\nKubernetes\\nGit\\nGitHub\\nRed Hat\\nJenkins\\nAWS\\nTerraform\\nHadoop\\nKafka\\nAirflow\\nJavaScript\\nNode.js\\nDatamine\\nSurpac\\nQgis\\nFeatured Projects\\nSmile-Based Face Recognition Access Control System\\nA facial recognition application using AWS infrastructure that activates with your smile and grants\\n access to registered users. Features email notifications, entry logging, and optional ChatGPT\\n integration.\\nAWS\\nTerraform\\nPython\\nFace Recognition\\nLearn More\\nVoice2Image AI Generator\\nAn innovative application that transforms voice into images using AI. Record your voice to generate\\n text via\\n OpenAI's Whisper, create images with DALL·E, and enhance results using Gemini 1.5 Pro for\\n regeneration.\\nOpenAI\\nDALL·E\\nPython\\nGemini\\nLearn More\\nChat with YouTube Video\\nA powerful application that allows you to interact with YouTube videos by converting them into text\\n and asking\\n questions about their content. Uses OpenAI's Whisper for speech-to-text, LangChain's RAG for Q&A, and\\n Gemini\\n Pro for chat.\\nOpenAI Whisper\\nLangChain\\nGemini Pro\\nStreamlit\\nLearn More\\nData Analyzer with LLM Agents\\nAn intelligent application that analyzes CSV files using advanced language models. Features automatic\\n descriptive statistics, data visualization, and LLM-powered Q&A about datasets. Supports multiple\\n models like\\n Gemini, Claude, and GPT.\\nLangChain\\nStreamlit\\nData Analysis\\nLLM Agents\\nLearn More\\nEvolution of Sentiment Analysis\\nA comprehensive exploration of NLP techniques from rule-based to transformer models, analyzing IMDB\\n reviews.\\n Features machine learning, deep learning (LSTM, CNN), and BERT implementations with detailed\\n performance comparisons.\\nNLP\\nBERT\\nDeep Learning\\nTensorFlow\\nLearn More\\nFish Species Classification with ANN\\nAn image classification project using Artificial Neural Networks to identify 9 different fish\\n species. Features\\n smart cropping, PCA dimensionality reduction, and K-means clustering for image preprocessing,\\n achieving 91%\\n accuracy.\\nTensorFlow\\nComputer Vision\\nNeural Networks\\nImage Processing\\nLearn More\\nCardiovascular Disease Prediction\\nA machine learning model for predicting cardiovascular diseases using patient attributes. Features\\n MLflow for\\n model tracking, Gradio for UI, and FastAPI backend. Analyzes various health metrics including ECG\\n results,\\n blood pressure, and cholesterol levels.\\nMLflow\\nFastAPI\\nGradio\\nMachine Learning\\nLearn More\\nVegetable Image Classification\\nA deep learning project that classifies 15 different types of vegetables using transfer learning with\\n EfficientNet B0. Features a Gradio interface for easy interaction, PyTorch implementation, and high\\n accuracy\\n image recognition.\\nPyTorch\\nEfficientNet\\nGradio\\nTransfer Learning\\nLearn More\\nCRM Analytics & Customer Segmentation\\nA comprehensive CRM analysis project featuring cohort analysis, customer lifetime value prediction\\n using\\n BG-NBD and Gamma-Gamma models, RFM analysis, and purchase propensity prediction. Includes customer\\n segmentation and targeted marketing strategies.\\nCustomer Analytics\\nMachine Learning\\nRFM Analysis\\nCLTV Prediction\\nLearn More\\nAmazon Multi-Model Analysis\\nA comprehensive project combining sentiment analysis (LSTM with self-attention), image classification\\n (EfficientNetB0), and recommendation systems. Features transfer learning, BERT embeddings, and\\n FAISS/ChromaDB\\n for similarity search.\\nDeep Learning\\nBERT\\nAWS\\nTensorFlow\\nLearn More\\nLatest Blog Posts\\nTracing the Evolution of Natural Language Processing Through Sentiment Analysis\\nAn exploration of NLP's journey and its applications in sentiment\\n analysis...\\nRead on Medium\\nBuilding a Smile-Based Access Control System Using AWS\\nLet your smile be your password - A unique approach to access\\n control\\n using AWS services and facial recognition...\\nRead on Medium\\nGet in Touch\\nInterested in collaboration? Let's connect!\\n[email\\xa0protected]\\n© 2025 Kanıt Vural. All rights reserved.\"}]" + ] + }, + "execution_count": 17, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ - "# Try this out, and then try for a few more websites\n", - "\n", - "messages_for(ed)" + "messages_for(kanit)" ] }, { @@ -371,7 +823,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 18, "id": "905b9919-aba7-45b5-ae65-81b3d1d78e34", "metadata": {}, "outputs": [], @@ -389,17 +841,28 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 19, "id": "05e38d41-dfa4-4b20-9c96-c46ea75d9fb5", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "\"# Summary of Kanit Vural's Website\\n\\nKanit Vural is a Data Scientist and Machine Learning Engineer with over 15 years of experience, particularly in the mining industry. He began his career in 2008 at Erdemir Mining Company, focusing on geophysical exploration and geostatistics, ultimately leading to significant financial improvements through new field discoveries. Later, he joined Tosyalı Iron Steel Angola, continuing similar work and mentoring junior engineers.\\n\\n## Key Achievements:\\n- Discovered over 300 million tons of iron ore deposits.\\n- Applied AI-driven solutions to enhance operational efficiency.\\n- Provided mentorship and training in mining technologies.\\n\\n## Skills and Expertise:\\n- **Data Science**: Data analysis, machine learning, computer vision, and NLP.\\n- **Cloud Technologies**: AWS services, MLOps, and data engineering.\\n- **Software Development**: Proficient in Python and various frameworks and libraries for data science and machine learning.\\n\\n## Featured Projects:\\n1. **Smile-Based Face Recognition Access Control System**: Uses AWS to grant access based on user smiles.\\n2. **Voice2Image AI Generator**: Converts voice recordings into images using AI technologies.\\n3. **Data Analyzer with LLM Agents**: Analyzes CSV files using language models.\\n4. **Evolution of Sentiment Analysis**: Explores NLP techniques for analyzing reviews.\\n5. **Cardiovascular Disease Prediction**: Machine learning model to predict health outcomes based on patient data.\\n\\n## Latest Blog Posts:\\n- **Tracing the Evolution of Natural Language Processing Through Sentiment Analysis**: Discusses the development of NLP and its uses.\\n- **Building a Smile-Based Access Control System Using AWS**: Outlines the innovative approach to security using facial recognition.\\n\\nKanit Vural aims to leverage his knowledge across both the mining and IT sectors to create impactful solutions.\"" + ] + }, + "execution_count": 19, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ - "summarize(\"https://edwarddonner.com\")" + "summarize(\"https://kanitvural.com\")" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 20, "id": "3d926d59-450e-4609-92ba-2d6f244f1342", "metadata": {}, "outputs": [], @@ -413,12 +876,52 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 21, "id": "3018853a-445f-41ff-9560-d925d1774b2f", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "## Summary of Kanit Vural's Website\n", + "\n", + "**Kanit Vural** is a Data Scientist and Machine Learning Engineer with over 15 years of experience, primarily in the mining and IT industries. His career began at Erdemir Mining Company, where he specialized in geophysical exploration and reserve classifications, contributing to substantial financial improvements. Vural has worked with various mining companies, including Tosyalı Iron Steel Angola, and has been integral in discovering significant mineral deposits.\n", + "\n", + "### Skills and Expertise\n", + "Vural possesses a diverse skill set that includes:\n", + "- **Data Science**: Data analysis, statistical analysis, machine learning, natural language processing (NLP), and machine learning model development.\n", + "- **Cloud & Infrastructure**: Proficient in AWS services and MLOps.\n", + "- **Technologies**: Experienced in programming languages and frameworks such as Python, TensorFlow, PyTorch, and various data engineering tools.\n", + "\n", + "### Featured Projects\n", + "1. **Smile-Based Face Recognition Access Control System**: An innovative access control application that uses facial recognition based on smiles.\n", + "2. **Voice2Image AI Generator**: Transforms voice input into images using a combination of OpenAI technologies.\n", + "3. **Chat with YouTube Video**: Converts YouTube videos into an interactive question-and-answer format.\n", + "4. **Data Analyzer with LLM Agents**: An application for analyzing CSV files using advanced language models.\n", + "5. **Evolution of Sentiment Analysis**: An exploration of NLP techniques for analyzing movie reviews.\n", + "6. **Fish Species Classification**: Uses artificial neural networks for classifying fish species based on images.\n", + "7. **Cardiovascular Disease Prediction**: A machine learning model to predict heart diseases using patient data.\n", + "8. **Vegetable Image Classification**: Classifies vegetable images using deep learning techniques.\n", + "9. **CRM Analytics & Customer Segmentation**: Focuses on customer behavior and targeted marketing strategies.\n", + "10. **Amazon Multi-Model Analysis**: Integrates sentiment analysis, image classification, and recommendation systems.\n", + "\n", + "### Blog\n", + "The latest blog posts tackle topics such as:\n", + "- The evolution of natural language processing through sentiment analysis.\n", + "- Building a smile-based access control system utilizing AWS services.\n", + "\n", + "For collaboration opportunities or more information, Vural encourages users to reach out through contact options provided on the site." + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ - "display_summary(\"https://edwarddonner.com\")" + "display_summary(\"https://kanitvural.com\")" ] }, { @@ -439,20 +942,68 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 22, "id": "45d83403-a24c-44b5-84ac-961449b4008f", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "# Summary of CNN Website\n", + "\n", + "The CNN website offers a comprehensive source for breaking news and diverse topics spanning across various categories including US, World, Politics, Business, Health, Entertainment, and Sports. It features live updates, videos, and a wide range of articles addressing current events, analyses, and in-depth reports on significant global issues. \n", + "\n", + "## Key Highlights\n", + "\n", + "- **Current Events**: Live updates on pressing stories such as wildfires in LA, the Israel-Hamas War, and the Ukraine-Russia War.\n", + "- **Politics**: Ongoing coverage of Trump's legal challenges, Biden's final military aid package for Ukraine, and notable political events.\n", + "- **Health & Science**: Insights into health studies and environmental concerns, including climate-related articles and global health issues.\n", + "- **Entertainment & Lifestyle**: Articles on celebrity news, fashion trends, and travel destinations.\n", + "\n", + "Additionally, the site encourages user feedback to enhance the online experience and offers contact options for further inquiries or technical issues. Overall, CNN serves as a pivotal resource for up-to-date news and analysis." + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "display_summary(\"https://cnn.com\")" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 23, "id": "75e9fd40-b354-4341-991e-863ef2e59db7", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "# Summary of Anthropic Website\n", + "\n", + "Anthropic is an AI safety and research company based in San Francisco, focused on developing reliable and beneficial AI systems. Their flagship product is Claude, with the latest version being Claude 3.5 Sonnet, which is now available for use. The company emphasizes the importance of AI safety and has an interdisciplinary team background in machine learning, physics, policy, and product development.\n", + "\n", + "## Recent Announcements\n", + "- **October 22, 2024:** Introduction of computer use, new models Claude 3.5 Sonnet and Claude 3.5 Haiku.\n", + "- **September 4, 2024:** Updates related to Claude for Enterprise.\n", + "- **March 8, 2023:** Shared core views on AI safety, focusing on the timing and methodology of AI implementation and its impacts.\n", + "\n", + "Users can leverage the capabilities of Claude through an API to create custom AI-powered applications. The site also highlights ongoing research efforts in AI alignment and safety practices. \n", + "\n", + "For potential employees, Anthropic lists open roles indicating a commitment to expanding their team." + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "display_summary(\"https://anthropic.com\")" ] @@ -545,7 +1096,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "venv", "language": "python", "name": "python3" }, @@ -559,7 +1110,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.11" + "version": "3.12.6" } }, "nbformat": 4,