Comments (6)
Hello @Thilakraj1998 . Shall I contribute to this issue?
from autoai.
Hi @Thilakraj1998 . I have installed all dependencies in requirements.txt and tensorflow in the autoai repository using cond env. For doing sanity check I executed the ClassificationTest.py , but I recieved the following error.
Traceback (most recent call last): File "/Users/user_name/Desktop/foss/autoai/ClassificationTest.py", line 25, in <module> model=bc.train(file=file_path,target=target,features=features) # function to test AutoAI Process File "/Users/user_name/Desktop/foss/autoai/blobcity/main/driver.py", line 51, in train modelClass = modelSearch(CleanedDF,target,dc) File "/Users/user_name/Desktop/foss/autoai/blobcity/main/modelSelection.py", line 125, in modelSearch best=trainOnFull(dataframe,target,modelsList,trainOnSample(dataframe,target,modelsList,DictClass),DictClass) File "/Users/user_name/Desktop/foss/autoai/blobcity/main/modelSelection.py", line 87, in trainOnSample modelScore={m:cvScore(models[m][0](),X,Y,k) for m in tqdm_notebook(models) } File "/Users/user_name/Desktop/foss/autoai/blobcity/main/modelSelection.py", line 87, in <dictcomp> modelScore={m:cvScore(models[m][0](),X,Y,k) for m in tqdm_notebook(models) } File "/Users/user_name/Desktop/foss/autoai/blobcity/main/modelSelection.py", line 60, in cvScore accuracy = cross_val_score(model, X, Y, cv = k,n_jobs=-2) File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/sklearn/model_selection/_validation.py", line 510, in cross_val_score cv_results = cross_validate( File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/sklearn/model_selection/_validation.py", line 267, in cross_validate results = parallel( File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/joblib/parallel.py", line 1056, in __call__ self.retrieve() File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/joblib/parallel.py", line 935, in retrieve self._output.extend(job.get(timeout=self.timeout)) File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/joblib/_parallel_backends.py", line 542, in wrap_future_result return future.result(timeout=timeout) File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/concurrent/futures/_base.py", line 445, in result return self.__get_result() File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result raise self._exception joblib.externals.loky.process_executor.TerminatedWorkerError: A worker process managed by the executor was unexpectedly terminated. This could be caused by a segmentation fault while calling the function or by an excessive memory usage causing the Operating System to kill the worker. The exit codes of the workers are {SIGSEGV(-11)}
Hardware setup
OS - MacOS Big Sur (Version 11.3.1)
Processor - 2.6Ghz 6 Core Intel Core i7
Memory - 16GB
I have attached the env info in txt file below.How to resolve the issue?
from autoai.
@vikneshwara-r-b cross_val_score(model, X, Y, cv = k,n_jobs=-2) here -2
is not a valid value for n_job
. either number of core present in the system or -1 to consider all cores
from autoai.
@Thilakraj1998 After changing n_jobs=-1 or no of cores present in the system n_jobs=6, I still recieve the same error
Traceback (most recent call last):
File "/Users/user_name/Desktop/foss/autoai/ClassificationTest.py", line 25, in
model=bc.train(file=file_path,target=target,features=features) # function to test AutoAI Process
File "/Users/user_name/Desktop/foss/autoai/blobcity/main/driver.py", line 51, in train
modelClass = modelSearch(CleanedDF,target,dc)
File "/Users/user_name/Desktop/foss/autoai/blobcity/main/modelSelection.py", line 125, in modelSearch
best=trainOnFull(dataframe,target,modelsList,trainOnSample(dataframe,target,modelsList,DictClass),DictClass)
File "/Users/user_name/Desktop/foss/autoai/blobcity/main/modelSelection.py", line 87, in trainOnSample
modelScore={m:cvScore(models[m]0,X,Y,k) for m in tqdm_notebook(models) }
File "/Users/user_name/Desktop/foss/autoai/blobcity/main/modelSelection.py", line 87, in
modelScore={m:cvScore(models[m]0,X,Y,k) for m in tqdm_notebook(models) }
File "/Users/user_name/Desktop/foss/autoai/blobcity/main/modelSelection.py", line 60, in cvScore
accuracy = cross_val_score(model, X, Y, cv = k,n_jobs=-1)
File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/sklearn/model_selection/_validation.py", line 510, in cross_val_score
cv_results = cross_validate(
File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/sklearn/model_selection/_validation.py", line 267, in cross_validate
results = parallel(
File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/joblib/parallel.py", line 1056, in call
self.retrieve()
File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/joblib/parallel.py", line 935, in retrieve
self._output.extend(job.get(timeout=self.timeout))
File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/site-packages/joblib/_parallel_backends.py", line 542, in wrap_future_result
return future.result(timeout=timeout)
File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/concurrent/futures/_base.py", line 445, in result
return self.__get_result()
File "/Users/user_name/opt/miniconda3/envs/autoai/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result
raise self._exception
joblib.externals.loky.process_executor.TerminatedWorkerError: A worker process managed by the executor was unexpectedly terminated. This could be caused by a segmentation fault while calling the function or by an excessive memory usage causing the Operating System to kill the worker.The exit codes of the workers are {SIGSEGV(-11)}
from autoai.
@vikneshwara-r-b do check the whether the version of joblib is latest
from autoai.
Yes.Iam using the latest one
from autoai.
Related Issues (20)
- Drop row with 50% or more Null/Nan Value HOT 2
- Imbalanced Target Handling
- Suppress Warnings
- Data Scaling and Transformation
- Add PassiveAggressiveClassifier HOT 1
- Add OrthogonalMatchingPursuit
- Add LinearDiscriminantAnalysis HOT 1
- Actual v/s Predicted Plot for Regression
- Feature importance plot
- Allow user to specify desired accuracy
- Unresponsive on "Quick Search" stage with simple dataset HOT 5
- predict() got an unexpected keyword argument 'file' HOT 2
- MinMaxScaler import missing from auto-generated code
- Index data must be 1-dimensional error
- cannot unpack non-iterable NoneType object
- ModuleNotFoundError for httplib2
- Additional requirements needed for running the tests HOT 2
- AttributeError: module 'blobcity.main.modelSelection' has no attribute 'getKFold' HOT 2
- Sample data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autoai.