This is a Python environment configured for machine learning projects.
Current Python Version: 3.14.3
Due to the recent release of Python 3.14, some machine learning libraries may not have compatible versions yet. Here's the current status:
- numpy (2.4.4) - Core numerical computing
- pandas (3.0.2) - Data manipulation and analysis
- scipy (1.17.1) - Scientific computing
- matplotlib (3.10.8) - Basic plotting
- seaborn (0.13.2) - Statistical data visualization
- plotly (6.7.0) - Interactive visualizations
- jupyter (1.1.1) - Jupyter notebooks
- ipython (9.12.0) - Enhanced Python shell
- notebook (7.5.5) - Jupyter notebook interface
- joblib (1.5.3) - Lightweight pipelining
- scikit-learn - Requires Python < 3.13
- tensorflow - No compatible version available
- pytorch - May not have 3.14 wheels yet
- xgboost - May require compilation
- lightgbm - May require compilation
Linux/Mac:
source venv/bin/activateWindows:
venv\Scripts\activatepip install -r requirements.txt- Use Python 3.12 or 3.11 for full compatibility with all ML libraries
- Install from source for libraries that don't have wheels:
pip install --no-binary :all: scikit-learn
- Use conda/mamba which may have better compatibility:
conda install scikit-learn tensorflow
project/
├── venv/ # Virtual environment (ignored by git)
├── requirements.txt # Dependencies
├── .gitignore # Git ignore rules
├── README.md # This file
├── data/ # Data directory (create as needed)
├── notebooks/ # Jupyter notebooks
├── src/ # Source code
└── models/ # Trained models
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
# Load data
df = pd.read_csv('data/your_data.csv')
print(df.head())
# Basic visualization
df.plot(kind='hist')
plt.show()- Always activate the virtual environment before working
- Consider using Python 3.12 for full ML library compatibility
- Install new packages with
pip installand update requirements.txt - Use
pip freeze > requirements.txtto update dependencies - Keep data in the
data/directory