Machine Learning Tutorials Structure Overview & Contribution Guide (CodeHarborHub) #133
Replies: 2 comments
-
|
“Hi folks, I'm learning Python dictionaries and just got to dictionary comprehensions. I have a list of fruits like fruits = ["apple", "banana", "orange"] — I want to make a dict where keys are the fruit names and values are their lengths. Is this correct: fruit_len_dict = {fruit: len(fruit) for fruit in fruits}? Also, can this be written in a regular loop way for comparison? Thanks!” |
Beta Was this translation helpful? Give feedback.
-
|
Hi folks, I’m a Python beginner diving deeper into dictionary comprehensions! I have a list of fruits with duplicates: fruits = ["apple", "banana", "apple", "orange", "banana"]. I want to make a dictionary where keys are unique fruit names, and values are the number of times each fruit appears in the list. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Welcome, contributors 👋.
This discussion provides a clear overview of our tutorial repository structure, including folders, file paths, and how content is organized.
The goal is to help contributors:
This repository follows a modular, topic-based structure optimized for Docusaurus (MDX + React).
🗂️ High-Level Folder Structure
/tutorials │ ├── web-development/ │ ├── html/ │ ├── css/ │ ├── javascript/ │ ├── machine-learning/ │ ├── introduction.mdx │ ├── fundamentals/ │ ├── algorithms/ │ ├── projects/ │ ├── data-science/ │ ├── python/ │ ├── statistics/ │ ├── visualization/ │ └── assets/ ├── images/ ├── diagrams/Visual Overview (Mermaid)
Machine Learning Tutorials Structure
Path Example
MDX File Standards
Each tutorial file must include:
Supported Content:
Contribution Flow
Contribution Guidelines
Why This Structure?
💬 Need Help?
If you are unsure:
👉 Start a discussion or comment here.
We’re building CodeHarborHub together.
Happy contributing 💙
Beta Was this translation helpful? Give feedback.
All reactions