Code Material
Open in Telegram
Welcome to Code Material – your one-stop destination for placement tips, online courses, coding tricks, tech insights, and smart shortcuts to boost your learning and career in tech. Stay Tuned ❤️
Show moreNo data
Subscribers
-124 hours
-57 days
-730 days
Posts Archive
3. Set up the Streamlit app and API key input.
• Creates a title for the app
• Adds a secure input field for the Together API key
2. Import necessary libraries
• Streamlit for the web interface
• asyncio for asynchronous operations
• Together AI for LLM interactions
1. Install the necessary Python Libraries
Run the following commands from your terminal to install the required libraries:
🧠 Build your own ChatGPT
Build an LLM app with Mixture of AI Agents using small Open Source LLMs that can beat GPT-4o in just 40 lines of Python Code⬇️ step-by-step instructions ⬇️
🔗 30 Useful AI Apps That Can Help You in 2025
AI apps are taking over the world. There’s an AI app for every conceivable use case. Here are some AI apps for different categories:1 - General Purpose: Perplexity, Anthropic Claude, Grok, ChatGPT, and Gemini 2 - Writing Code: Cursor, Replit, Windsurf AI, Github Copilot, and Tabnine 3 - Productivity: Adobe (PDF Chat), Gemini for Gmail, Gamma (AI slide deck), WisprFlow (AI voice dictation), and Granola (AI notetaker) 4 - Audience Building: Delphi (AI text, voice), HeyGen (video translation), Persona (AI agent builder), Captions (AI video editing), and OpusClips (Video repurposing) 5 - Creativity: ElevenLabs (realistic AI voices), Midjourney, Suno AI (music generation), Krea (enhance images), and Photoroom (AI image editing) 6 - Learning and Growth: Particle News App, Rosebud (AI journal app), NotebookLM, GoodInside (parenting co-pilot), and Ash (AI counselor).
Machine Learning Algorithms every data scientist should know:
📌 Supervised Learning:
🔹 Regression
∟ Linear Regression
∟ Ridge & Lasso Regression
∟ Polynomial Regression
🔹 Classification
∟ Logistic Regression
∟ K-Nearest Neighbors (KNN)
∟ Decision Tree
∟ Random Forest
∟ Support Vector Machine (SVM)
∟ Naive Bayes
∟ Gradient Boosting (XGBoost, LightGBM, CatBoost)
📌 Unsupervised Learning:
🔹 Clustering
∟ K-Means
∟ Hierarchical Clustering
∟ DBSCAN
🔹 Dimensionality Reduction
∟ PCA (Principal Component Analysis)
∟ t-SNE
∟ LDA (Linear Discriminant Analysis)
📌 Reinforcement Learning (Basics):
∟ Q-Learning
∟ Deep Q Network (DQN)
📌 Ensemble Techniques:
∟ Bagging (Random Forest)
∟ Boosting (XGBoost, AdaBoost, Gradient Boosting)
∟ Stacking
Don’t forget to learn model evaluation metrics: accuracy, precision, recall, F1-score, AUC-ROC, confusion matrix, etc.
👨🏻💻 One of the most popular GitHub repositories for "learning and using algorithms in Python" is The Algorithms - Python repo with 196K stars.
✏️ It has a lot of organized and categorized code that you can use to find, read, and run different algorithms. Everything you can think of is here; from simple algorithms like sorting to advanced algorithms for machine learning, artificial intelligence, neural networks, and more.
✅ Why should we use it?
🔢 For learning: If you're looking to learn algorithms in action, this is great.
🔢 For practice: You can take the codes, run them, and modify them to better understand.
🔢 For projects : You can even use the codes here in real-life or academic projects.
🔢 For interviews: If you're preparing for data science interviews, this is full of practical algorithms.
┌ 🏳️🌈 The Algorithms - Python
└ 🐱 GitHub-Repos
