Skip to content

Commit c11a9d0

Browse files
committed
Created a hotfix yaml that covers most chapter 3 examples except auto-sklearn and pyspark. Issues on the new mac with the environment. Might need a container option.
1 parent 0ad7c51 commit c11a9d0

9 files changed

Lines changed: 431 additions & 8 deletions

File tree

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,12 @@ cython_debug/
161161

162162
#Other - potentially vs code
163163
*.DS_Store
164-
**/.DS_Store
164+
*/.DS_Store
165165

166166

167167
#MLFlow etc
168168
**/artifacts/model
169169
**/artifacts/**
170-
**/mlruns/**
170+
**/mlruns/**
171+
Chapter08/.DS_Store
172+
Chapter09/.DS_Store

Chapter03/features/feature-engineering.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
# Make a 70/30 train/test split
1111
X_train, X_test, y_train, y_test = train_test_split(X, y,
12-
test_size=0.30,
1312
test_size=0.30,
1413
random_state=42)
1514

Chapter03/hyperparameter-opt/optuna_example.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,4 @@ def objective(trial, n_folds, X, y):
5353
study = optuna.create_study(direction='minimize')
5454
study.optimize(partial(objective, n_folds=n_folds, X=X_train, y=y_train), n_trials=16)
5555

56-
print(study.best_trial.params)
57-
print(stu)
56+
print(study.best_trial.params)
Lines changed: 211 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,211 @@
1+
name: mlewp-chapter03-hotfix
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- aiohappyeyeballs=2.4.4
6+
- aiohttp=3.11.11
7+
- aiosignal=1.3.2
8+
- alembic=1.14.1
9+
- annotated-types=0.7.0
10+
- async-timeout=5.0.1
11+
- attrs=25.1.0
12+
- aws-c-auth=0.8.1
13+
- aws-c-cal=0.8.1
14+
- aws-c-common=0.10.6
15+
- aws-c-compression=0.3.0
16+
- aws-c-event-stream=0.5.0
17+
- aws-c-http=0.9.2
18+
- aws-c-io=0.15.3
19+
- aws-c-mqtt=0.11.0
20+
- aws-c-s3=0.7.9
21+
- aws-c-sdkutils=0.2.2
22+
- aws-checksums=0.2.2
23+
- aws-crt-cpp=0.29.9
24+
- aws-sdk-cpp=1.11.489
25+
- azure-core-cpp=1.14.0
26+
- azure-identity-cpp=1.10.0
27+
- azure-storage-blobs-cpp=12.13.0
28+
- azure-storage-common-cpp=12.8.0
29+
- azure-storage-files-datalake-cpp=12.12.0
30+
- bcrypt=4.2.1
31+
- blinker=1.9.0
32+
- brotli=1.1.0
33+
- brotli-bin=1.1.0
34+
- brotli-python=1.1.0
35+
- bzip2=1.0.8
36+
- c-ares=1.34.4
37+
- ca-certificates=2025.1.31
38+
- cachetools=5.5.1
39+
- certifi=2024.12.14
40+
- cffi=1.17.1
41+
- charset-normalizer=3.4.1
42+
- click=8.1.8
43+
- cloudpickle=3.1.1
44+
- colorama=0.4.6
45+
- colorlog=6.9.0
46+
- contourpy=1.3.1
47+
- cryptography=44.0.0
48+
- cycler=0.12.1
49+
- databricks-sdk=0.43.0
50+
- deprecated=1.2.18
51+
- docker-py=7.1.0
52+
- entrypoints=0.4
53+
- flask=3.1.0
54+
- fonttools=4.55.8
55+
- freetype=2.12.1
56+
- frozenlist=1.5.0
57+
- gflags=2.2.2
58+
- gitdb=4.0.12
59+
- gitpython=3.1.44
60+
- glog=0.7.1
61+
- google-auth=2.38.0
62+
- graphene=3.4.3
63+
- graphql-core=3.2.6
64+
- graphql-relay=3.2.0
65+
- greenlet=3.1.1
66+
- gunicorn=23.0.0
67+
- h2=4.2.0
68+
- hpack=4.1.0
69+
- hyperframe=6.1.0
70+
- icu=75.1
71+
- idna=3.10
72+
- importlib-metadata=8.6.1
73+
- itsdangerous=2.2.0
74+
- jinja2=3.1.5
75+
- joblib=1.4.2
76+
- kiwisolver=1.4.7
77+
- krb5=1.21.3
78+
- lcms2=2.16
79+
- lerc=4.0.0
80+
- libabseil=20240722.0
81+
- libarrow=18.1.0
82+
- libarrow-acero=18.1.0
83+
- libarrow-dataset=18.1.0
84+
- libarrow-substrait=18.1.0
85+
- libblas=3.9.0
86+
- libbrotlicommon=1.1.0
87+
- libbrotlidec=1.1.0
88+
- libbrotlienc=1.1.0
89+
- libcblas=3.9.0
90+
- libcrc32c=1.1.2
91+
- libcurl=8.11.1
92+
- libcxx=19.1.7
93+
- libdeflate=1.23
94+
- libedit=3.1.20250104
95+
- libev=4.33
96+
- libevent=2.1.12
97+
- libffi=3.4.2
98+
- libgfortran=5.0.0
99+
- libgfortran5=13.2.0
100+
- libgoogle-cloud=2.34.0
101+
- libgoogle-cloud-storage=2.34.0
102+
- libgrpc=1.67.1
103+
- libiconv=1.17
104+
- libjpeg-turbo=3.0.0
105+
- liblapack=3.9.0
106+
- liblzma=5.6.4
107+
- liblzma-devel=5.6.4
108+
- libnghttp2=1.64.0
109+
- libopenblas=0.3.28
110+
- libparquet=18.1.0
111+
- libpng=1.6.46
112+
- libprotobuf=5.28.3
113+
- libre2-11=2024.07.02
114+
- libsodium=1.0.20
115+
- libsqlite=3.48.0
116+
- libssh2=1.11.1
117+
- libthrift=0.21.0
118+
- libtiff=4.7.0
119+
- libutf8proc=2.10.0
120+
- libwebp-base=1.5.0
121+
- libxcb=1.17.0
122+
- libxml2=2.13.5
123+
- libzlib=1.3.1
124+
- llvm-openmp=19.1.7
125+
- lz4-c=1.10.0
126+
- mako=1.3.9
127+
- markdown=3.6
128+
- markupsafe=3.0.2
129+
- matplotlib-base=3.10.0
130+
- mlflow=2.20.1
131+
- mlflow-skinny=2.20.1
132+
- mlflow-ui=2.20.1
133+
- multidict=6.1.0
134+
- munkres=1.1.4
135+
- ncurses=6.5
136+
- numpy=1.26.4
137+
- openjpeg=2.5.3
138+
- openssl=3.4.0
139+
- opentelemetry-api=1.16.0
140+
- opentelemetry-sdk=1.16.0
141+
- opentelemetry-semantic-conventions=0.37b0
142+
- optuna=4.2.0
143+
- orc=2.0.3
144+
- packaging=24.2
145+
- pandas=2.2.2
146+
- paramiko=3.5.1
147+
- pillow=11.1.0
148+
- pip=25.0
149+
- prometheus_client=0.21.1
150+
- prometheus_flask_exporter=0.23.1
151+
- propcache=0.2.1
152+
- protobuf=5.28.3
153+
- pthread-stubs=0.4
154+
- py4j=0.10.9.7
155+
- pyarrow=18.1.0
156+
- pyarrow-core=18.1.0
157+
- pyasn1=0.6.1
158+
- pyasn1-modules=0.4.1
159+
- pycparser=2.22
160+
- pydantic=2.10.6
161+
- pydantic-core=2.27.2
162+
- pynacl=1.5.0
163+
- pyopenssl=25.0.0
164+
- pyparsing=3.2.1
165+
- pysocks=1.7.1
166+
- pyspark=3.5.4
167+
- python=3.10.8
168+
- python-dateutil=2.9.0.post0
169+
- python-tzdata=2025.1
170+
- python_abi=3.10
171+
- pytz=2024.2
172+
- pyu2f=0.1.5
173+
- pywin32-on-windows=0.1.0
174+
- pyyaml=6.0.2
175+
- qhull=2020.2
176+
- querystring_parser=1.2.4
177+
- re2=2024.07.02
178+
- readline=8.2
179+
- requests=2.32.3
180+
- rsa=4.9
181+
- scikit-learn=1.6.1
182+
- scipy=1.15.1
183+
- setuptools=75.8.0
184+
- six=1.17.0
185+
- smmap=5.0.0
186+
- snappy=1.2.1
187+
- sqlalchemy=2.0.37
188+
- sqlparse=0.5.3
189+
- threadpoolctl=3.5.0
190+
- tk=8.6.13
191+
- tqdm=4.67.1
192+
- typing-extensions=4.12.2
193+
- typing_extensions=4.12.2
194+
- tzdata=2025a
195+
- unicodedata2=16.0.0
196+
- urllib3=2.3.0
197+
- websocket-client=1.8.0
198+
- werkzeug=3.1.3
199+
- wheel=0.45.1
200+
- wrapt=1.17.2
201+
- xorg-libxau=1.0.12
202+
- xorg-libxdmcp=1.1.5
203+
- xz=5.6.4
204+
- xz-gpl-tools=5.6.4
205+
- xz-tools=5.6.4
206+
- yaml=0.2.5
207+
- yarl=1.18.3
208+
- zipp=3.21.0
209+
- zstandard=0.23.0
210+
- zstd=1.5.6
211+
prefix: /opt/homebrew/Caskroom/miniforge/base/envs/mlewp-chapter03-hotfix

0 commit comments

Comments
 (0)