asked
Introduction to Machine Learning from Scratch
Categorical Data Handling
Written on
·
328
0
앞에서부터 코드 처음부터 쭉 쳤는데 16번째 줄인
raw_example = df.as_matrix()
raw_example[:3]
이 부분에서
'DataFrame' object has no attribute 'as_matrix'
이런 오류가 납니다ㅠㅠ 해결방안 아시는가요?
Answer 1
죄송합니다. 이제 outdate된 코드가 나오기 시작하는군요.
df.values 로 하시면 처리 됩니다.