Skip to content

Instantly share code, notes, and snippets.

View parth394's full-sized avatar
🎯
Focusing

Parth Pandey parth394

🎯
Focusing
View GitHub Profile
@mark05e
mark05e / apache-superset-on-windows10.md
Last active June 20, 2025 18:27
Installing Apache Superset on Windows 10

Installing Apache Superset on Windows 10

⚠️ WARN: This doc might be outdated. Use with caution. Only tested with Python v3.7

πŸ™‹β€β™‚οΈ INFO: If you have fixes/suggestions to for this doc, please comment below.

🌟 STAR: This doc if you found this document helpful.


@yamanahlawat
yamanahlawat / replacers.py
Created January 25, 2017 12:17
Using Regular Expressions to expand contractions of a Word
import re
replacement_patterns = [
(r'won\'t', 'will not'),
(r'can\'t', 'cannot'),
(r'i\'m', 'i am'),
(r'ain\'t', 'is not'),
(r'(\w+)\'ll', '\g<1> will'),
(r'(\w+)n\'t', '\g<1> not'),
(r'(\w+)\'ve', '\g<1> have'),
@fchollet
fchollet / classifier_from_little_data_script_1.py
Last active February 18, 2026 04:59
Updated to the Keras 2.0 API.
'''This script goes along the blog post
"Building powerful image classification models using very little data"
from blog.keras.io.
It uses data that can be downloaded at:
https://www.kaggle.com/c/dogs-vs-cats/data
In our setup, we:
- created a data/ folder
- created train/ and validation/ subfolders inside data/
- created cats/ and dogs/ subfolders inside train/ and validation/
- put the cat pictures index 0-999 in data/train/cats