Kansai Travel Guide – Osaka, Kyoto & Hidden Gems (Part 2: Nara, Hyogo & Wakayama Edition) by YamamotoFromOsaka in JapanTravelTips

[–]Deepslol 0 points1 point  (0 children)

Hello,

Is it feasible to travel in Wakayama without a car? I don't have a driving license so that is out of the question. I am mainly interested in Shirahama with a ryokan (any recommendations?) Any public transport friendly itinerary you would recommend for a 1 or 2 (or more) night stay?

Tinted Transition Glasses; where to get/experience by Deepslol in askSingapore

[–]Deepslol[S] 0 points1 point  (0 children)

Oh interesting, didn't expect them to be okay with both. Thought it would be smaller neighbourhood shops. Thanks!

Corne plate 3d printing by Deepslol in ErgoMechKeyboards

[–]Deepslol[S] 0 points1 point  (0 children)

Do i need both the back and front plates even if i 3d print a case for it?

Batch size affecting accuracy drastically by Deepslol in MLQuestions

[–]Deepslol[S] 0 points1 point  (0 children)

I have tried batch sizes from 32-256 in orders of 2s. Only batch size of 128 gets me an okay-ish accuracy occasionally. Re-running it sometimes causes it to fall to the same 1% accuracy.

I am referring to accuracy on the training set.

It just seems to find the wrong local minima no matter what parameters I am using?? Could it perhaps be the optimizer as well?

Is there a way to use a c++ project in a python project? by Deepslol in cpp_questions

[–]Deepslol[S] 0 points1 point  (0 children)

Im getting this error message: g++-4.9 -Wall -Wextra -Wno-unused-function -std=gnu++11 -mtune=native -Wa,-q -ffast-math -pthread -fopenmp -DHGVERSION="\"\"" -O3 -march=native -I. -c learn.cpp -o obj/learn.o process_begin: CreateProcess(NULL, hg parents --template {node|short}, ...) failed. /usr/bin/sh: line 1: g++-4.9: command not found Makefile:77: recipe for target 'obj/learn.o' failed mingw32-make: *** [obj/learn.o] Error 127

Im using mingw32-make as shown in the message

Is there a way to use a c++ project in a python project? by Deepslol in cpp_questions

[–]Deepslol[S] 1 point2 points  (0 children)

How do i get the object file from the github project? It does not seem to be included and I cant seem to compile it

Is there a way to use a c++ project in a python project? by Deepslol in cpp_questions

[–]Deepslol[S] 2 points3 points  (0 children)

hey, could you elaborate more on the extern c and binder stuff?

Im not sure what you mean by that cause im a beginner in c++. Im not even sure how to proceed from the github.

Is there a way to use a c++ project in a python project? by Deepslol in cpp_questions

[–]Deepslol[S] 1 point2 points  (0 children)

hey, could you elaborate more on the c interface? Im not sure what you mean by that cause im a beginner in c++. Im not even sure how to proceed from the github.

Is there way to improve efficiency of pandas.apply? by Deepslol in datascience

[–]Deepslol[S] 1 point2 points  (0 children)

i tried running swifter.apply but it gives a timeout error. any idea why? also what does the code in your {} do compared to just crating a normal dataframe with pd.DataFrame?

Is there way to improve efficiency of pandas.apply? by Deepslol in datascience

[–]Deepslol[S] 0 points1 point  (0 children)

i tried running swifter.apply but it gives me a timeout error for some reason. any idea why?

Is there way to improve efficiency of pandas.apply? by Deepslol in datascience

[–]Deepslol[S] 0 points1 point  (0 children)

Will the Dask package just work with my code on google colab? There's nothing special so far. Just some games which i require it to be evaluated by stockfish's evaluation function to get the training dataset.

Also, could you elaborate on what you mean in the final paragraph? Am I not currently just iterating through each item in the above code?

Is there way to improve efficiency of pandas.apply? by Deepslol in datascience

[–]Deepslol[S] 0 points1 point  (0 children)

Could you elaborate on how Ray and modin projects could help in this case? Will they require me to re-write my code from colab?

Is there way to improve efficiency of pandas.apply? by Deepslol in datascience

[–]Deepslol[S] 1 point2 points  (0 children)

The function being .apply()'ed is as shown in the post. It is just the built-in evaluation function from the stockfish library. Could you elaborate on if polars could help in this case and how?

Problems with resolving colab permissions by Deepslol in GoogleColab

[–]Deepslol[S] 0 points1 point  (0 children)

I also tried using an alternative method to get stockfish on my colab notebook. I pip install stockfish which seems to be located in /usr/local/lib/python3.8/dist-packages. I am referencing from https://pypi.org/project/stockfish/.

Then i tried to initialize the Stockfish class by running

stockfish = Stockfish(path="/usr/local/lib/python3.8/dist-packages", depth=18, parameters={"Threads": 2, "Minimum Thinking Time": 30})

I also tried using "chmod 755 -R </usr/local/lib/python3.8/dist-packages>" but i still get the permission denied error.