id stringlengths 7 11 | source stringclasses 1
value | category stringclasses 11
values | title stringlengths 15 214 | text stringlengths 70 30.5k | url stringlengths 57 160 | tags stringlengths 3 113 | created_at int64 1.22B 1.79B |
|---|---|---|---|---|---|---|---|
se_53636436 | stackoverflow | DATA_ENGINEERING | Make a generic/parametrize trigger in azure data factory | Make a generic/parametrize trigger in azure data factory
I want to load data from on premise to azure blobs. I have data on three on premise servers. Problem is that data copying should run at different time for each source.
Please suggest a way to do that. | https://stackoverflow.com/questions/53636436/make-a-generic-parametrize-trigger-in-azure-data-factory | azure, triggers, azure-data-factory, data-pipeline | 1,544,026,512 |
se_52927694 | stackoverflow | DATA_ENGINEERING | Incremental update of the data in AWS S3 | Incremental update of the data in AWS S3
Incremental update of S3 buckets without natural keys
I need to design an etl flow. OLTP systems are sharing customer, product, campaign and sales record via files. I want to transfer these files incrementally into Aws S3 buckets.
Assume that I want to transfer customer file... | https://stackoverflow.com/questions/52927694/incremental-update-of-the-data-in-aws-s3 | amazon-s3, etl, data-pipeline | 1,540,205,858 |
se_51797008 | stackoverflow | DATA_ENGINEERING | Tensorflow Data API: prefetch when training on CPU? | Tensorflow Data API: prefetch when training on CPU?
I'm training on a MacBook pro (no GPU). After watching https://www.youtube.com/watch?v=SxOsJPaxHME I saw that I could improve my input pipeline by reordering some ops and adding num_parallel_calls.
Question:
Since I'm not using a GPU, does it make sense to include da... | https://stackoverflow.com/questions/51797008/tensorflow-data-api-prefetch-when-training-on-cpu | tensorflow, deep-learning, tensorflow-estimator, data-pipeline | 1,533,968,051 |
se_51711338 | stackoverflow | DATA_ENGINEERING | AWS Datapipeline incorrect java version | AWS Datapipeline incorrect java version
I am trying to execute a jar file in my datapipeline and it is erroring out in a fashion that indicates to me that the version of java that is installed in my pipeline is lower than that required by the executable jar. I have tried to add a command to update the java version as ... | https://stackoverflow.com/questions/51711338/aws-datapipeline-incorrect-java-version | java, amazon-web-services, amazon-data-pipeline, data-pipeline, aws-data-pipeline | 1,533,570,296 |
se_50517431 | stackoverflow | DATA_ENGINEERING | Airflow supported cross data center? | Airflow supported cross data center?
We would like to use Apache Airflow to orchestrate work across global data centers (regions). From what I can tell the only way to make this work is to give access/permission to all tasks to write directly to some cloud exposed database. Does anyone know of a better way to implem... | https://stackoverflow.com/questions/50517431/airflow-supported-cross-data-center | airflow, data-pipeline | 1,527,192,766 |
se_49056230 | stackoverflow | DATA_ENGINEERING | Undo/rollback the effects of a data processing pipeline | Undo/rollback the effects of a data processing pipeline
I have a workflow that I'll describe as follows:
[ Dump(query) ] ---+
|
+---> [ Parquet(dump, schema) ] ---> [ Hive(parquet) ]
|
[ Schema(query) ] ---+
Where:
query is a query to an RDBMS
Dump ... | https://stackoverflow.com/questions/49056230/undo-rollback-the-effects-of-a-data-processing-pipeline | error-handling, airflow, data-pipeline | 1,519,928,382 |
se_49378442 | stackoverflow | DATA_ENGINEERING | What's the difference between task and job in airflow | What's the difference between task and job in airflow
there
In the airflow meta database, a table named job, and there are lots of records in there. I know the difference between DAGRun and task, but what's the difference between task and job in airflow?
Thanks in advance. | https://stackoverflow.com/questions/49378442/whats-the-difference-between-task-and-job-in-airflow | workflow, airflow, data-pipeline | 1,521,530,621 |
se_49057675 | stackoverflow | DATA_ENGINEERING | Workflow orchestration tool compatible with Windows Server 2013? | Workflow orchestration tool compatible with Windows Server 2013?
My current project requires automation and scheduled execution of a number of tasks (copy a file, send an email when a new file arrives in a directory, execute an analytics job, etc). My plan is to write a number of individual shell scripts for each task... | https://stackoverflow.com/questions/49057675/workflow-orchestration-tool-compatible-with-windows-server-2013 | job-scheduling, airflow, orchestration, luigi, data-pipeline | 1,519,934,092 |
se_48779736 | stackoverflow | DATA_ENGINEERING | "Connection timed out (Connection timed out)" Error for SQLActivity | "Connection timed out (Connection timed out)" Error for SQLActivity
I have a connection timed out error on my data pipeline job to run a simple sql script. The script is set up in my S3. The data pipeline itself is in the region of us-east-1. My database is in us-east-2. When I first ran the pipeline I got t... | https://stackoverflow.com/questions/48779736/connection-timed-out-connection-timed-out-error-for-sqlactivity | amazon-web-services, amazon-ec2, amazon-rds, amazon-data-pipeline, data-pipeline | 1,518,582,931 |
se_47090912 | stackoverflow | DATA_ENGINEERING | Python psycopg2: Copy result of query to another table | Python psycopg2: Copy result of query to another table
I am having some problem with psycopg2 in python
I have two disparate connections with corresponding cursors:
1. Source connection - source_cursor
2. Destination connection - dest_cursor
Lets say there is a select query that I want to execute on source_cursor:
... | https://stackoverflow.com/questions/47090912/python-psycopg2-copy-result-of-query-to-another-table | python, postgresql, python-3.x, psycopg2, data-pipeline | 1,509,695,692 |
se_45412940 | stackoverflow | DATA_ENGINEERING | Is it possible to create EMR cluster with Auto scaling using Data pipeline | Is it possible to create EMR cluster with Auto scaling using Data pipeline
I am new to AWS. I have created a EMR cluster using Auto scaling policy through AWS console. I have also created a data pipeline which can use this cluster to perform the activities.
I am also able to create EMR cluster dynamically through da... | https://stackoverflow.com/questions/45412940/is-it-possible-to-create-emr-cluster-with-auto-scaling-using-data-pipeline | amazon-web-services, amazon-emr, amazon-data-pipeline, data-pipeline | 1,501,495,638 |
se_42867258 | stackoverflow | DATA_ENGINEERING | What is the best way to automate replication of RDS (MySQL) schema to AWS Redshift? | What is the best way to automate replication of RDS (MySQL) schema to AWS Redshift?
We use ruby scripts to migrate data from MySQL to Redshift(PostgreSQL).Currently we use YAML configuration files to maintain schema information (column names and types).So whenever a MySQL table is altered, we need to manually change t... | https://stackoverflow.com/questions/42867258/what-is-the-best-way-to-automate-replication-of-rds-mysql-schema-to-aws-redshi | mysql, database, amazon-redshift, data-migration, data-pipeline | 1,489,785,513 |
se_45209684 | stackoverflow | DATA_ENGINEERING | Problems with image recognition using Tensorflow for Google Streetview dataset | Problems with image recognition using Tensorflow for Google Streetview dataset
Tensorboard graph
I'm running this code to classify house numbers from Google Streetview, it runs and then goes into some sort of loop in the first step, I don't know why.
I have narrowed down the problem to be from the input pipeline.
... | https://stackoverflow.com/questions/45209684/problems-with-image-recognition-using-tensorflow-for-google-streetview-dataset | tensorflow, data-pipeline | 1,500,540,178 |
se_45125273 | stackoverflow | DATA_ENGINEERING | How to configure AWS data pipeline using serverless.yml? | How to configure AWS data pipeline using serverless.yml?
I am new to both data pipeline and serverless. I want to know how can I automate AWS data pipeline using serverless. Below is my diagram of AWS data pipeline which exports dynamo db table to S3 | https://stackoverflow.com/questions/45125273/how-to-configure-aws-data-pipeline-using-serverless-yml | amazon-web-services, amazon-data-pipeline, serverless-framework, data-pipeline | 1,500,182,142 |
se_45109951 | stackoverflow | DATA_ENGINEERING | Why does my Cloudformation Data Pipeline fail on my Ec2Resource? | Why does my Cloudformation Data Pipeline fail on my Ec2Resource?
I’m trying to run a Data Pipeline inside a cloud formation stack. This stack references the exports of another stack which contains a Redshift cluster. When I run it, I get an error stating " 'Ec2Instance', errors = Internal error during validation of th... | https://stackoverflow.com/questions/45109951/why-does-my-cloudformation-data-pipeline-fail-on-my-ec2resource | amazon-data-pipeline, aws-cloudformation, data-pipeline | 1,500,058,608 |
se_44806345 | stackoverflow | DATA_ENGINEERING | Is there a way to continuously pipe data from Azure Blob into BigQuery? | Is there a way to continuously pipe data from Azure Blob into BigQuery?
I have a bunch of files in Azure Blob storage and it's constantly getting new ones. I was wondering if there is a way for me to first take all the data I have in Blob and move it over to BigQuery and then keep a script or some job running so that ... | https://stackoverflow.com/questions/44806345/is-there-a-way-to-continuously-pipe-data-from-azure-blob-into-bigquery | azure, google-bigquery, azure-blob-storage, data-pipeline | 1,498,662,470 |
se_44518608 | stackoverflow | DATA_ENGINEERING | How to move compressed TSV files from Google Cloud Bucket to Big Query with auto detect schema? | How to move compressed TSV files from Google Cloud Bucket to Big Query with auto detect schema?
I have been trying multiple ways to move the compressed TSV to Big query. I was able to get the command working but didn't see any table being loaded. Please help me figure out to write the command that works.
bq ‘--proje... | https://stackoverflow.com/questions/44518608/how-to-move-compressed-tsv-files-from-google-cloud-bucket-to-big-query-with-auto | google-bigquery, google-cloud-platform, data-pipeline | 1,497,348,948 |
se_43891386 | stackoverflow | DATA_ENGINEERING | airflow big dag_pickle table | airflow big dag_pickle table
I set up a test installation of airflow a while ago with one test DAG which is in paused state.
Now, after this system ran for some weeks without actually doing much (beside some test runs), I wanted to dump the database and realized, it is huge.
This is due to the dag_pickle table, appr... | https://stackoverflow.com/questions/43891386/airflow-big-dag-pickle-table | python, pickle, directed-acyclic-graphs, airflow, data-pipeline | 1,494,416,264 |
se_43393913 | stackoverflow | DATA_ENGINEERING | Dynamodb import from s3 using emr | Dynamodb import from s3 using emr
I am trying to load json data from s3 bucket to dynamodb using emr. I uploaded data successfully but my count is mismatching without throwing any error.
Why could that happen? | https://stackoverflow.com/questions/43393913/dynamodb-import-from-s3-using-emr | php, amazon-web-services, emr, data-pipeline | 1,492,090,929 |
se_41443821 | stackoverflow | DATA_ENGINEERING | AWS DynamoDB - Data Pipeline real write capacity consumption | AWS DynamoDB - Data Pipeline real write capacity consumption
I've created a data pipeline that pull data from S3 and push it into DynamoDB.
The pipeline started to run successfully.
I've set the write capacity to 20000 units, after few hours the writing decreased in a half, now it's still running with a write capacity... | https://stackoverflow.com/questions/41443821/aws-dynamodb-data-pipeline-real-write-capacity-consumption | amazon-web-services, amazon-dynamodb, amazon-data-pipeline, data-pipeline | 1,483,447,371 |
se_42302316 | stackoverflow | DATA_ENGINEERING | Truncate DynamoDb or rewrite data via Data Pipeline | Truncate DynamoDb or rewrite data via Data Pipeline
There is possibility to dump DynamoDb via Data Pipeline and also import data in DynamoDb. Import is going well, but all the time data appends to already exists data in DynamoDb.
For now I found work examples that scan DynamoDb and delete items one by one or via Batc... | https://stackoverflow.com/questions/42302316/truncate-dynamodb-or-rewrite-data-via-data-pipeline | amazon-dynamodb, truncate, amazon-data-pipeline, data-pipeline | 1,487,347,441 |
se_42433699 | stackoverflow | DATA_ENGINEERING | How can we provision number of core instances in AWS Data Pipeline job | How can we provision number of core instances in AWS Data Pipeline job
Requirement: Restore DynamoDB table from S3 Backup location.
We created Data Pipeline job, and then edit Resources section in Architect Wizard.
We placed 20 instances under Core Instance count, but after the Data Pipeline job activation, EMR Clus... | https://stackoverflow.com/questions/42433699/how-can-we-provision-number-of-core-instances-in-aws-data-pipeline-job | amazon-web-services, amazon-emr, amazon-data-pipeline, data-pipeline | 1,487,924,064 |
se_39066395 | stackoverflow | DATA_ENGINEERING | Is there any blueprint for a data-pipeline? | Is there any blueprint for a data-pipeline?
I use Spark for data processing, but starting from the datasources (mostly csv files) I would like to put in place a data-pipeline which has right stages to control/test/manipulate data and deploy them to different "stages" (CI-CD/QA/UAT/LIVE/etc).
Is there any valid data-p... | https://stackoverflow.com/questions/39066395/is-there-any-blueprint-for-a-data-pipeline | apache-spark, continuous-delivery, data-pipeline | 1,471,796,903 |
se_54793538 | stackoverflow | MACHINE_LEARNING | Create LMDB for new test data | Create LMDB for new test data
I have an LMDB train data file for the VPGNet CNN model pre- trained on Caltech Lane data set.
I would like to test it on new data set different from the training data set. How to create LMDB for the new test data.
Do I need to modify prototxt files for testing with pre-trained net. F... | https://stackoverflow.com/questions/54793538/create-lmdb-for-new-test-data | machine-learning, caffe, lmdb | 1,550,689,384 |
se_58349396 | stackoverflow | MACHINE_LEARNING | Can I suggest top 5 classes for a new data using Multi-class Classification? | Can I suggest top 5 classes for a new data using Multi-class Classification?
I have a dataset of tickets the machine gets for some machine components failure. The ticket are in text form.
For each failure we have around 8-10 diagnosis labels. This tells what the issue might have been and being used to fix the ticket.
... | https://stackoverflow.com/questions/58349396/can-i-suggest-top-5-classes-for-a-new-data-using-multi-class-classification | machine-learning, nlp | 1,570,835,116 |
se_79993940 | stackoverflow | MACHINE_LEARNING | Lack of/Unbalance of Training Data in a High-Accuracy-Required AI Model | Lack of/Unbalance of Training Data in a High-Accuracy-Required AI Model
The Freetown Flash-Flood Prediction Project is a research prototype designed to predict whether a flash flood is likely to occur within the next 24 hours using the previous 48 hours of rainfall, rainfall intensity, soil moisture, temperature and h... | https://stackoverflow.com/questions/79993940/lack-of-unbalance-of-training-data-in-a-high-accuracy-required-ai-model | python, machine-learning | 1,786,656,736 |
se_79433458 | stackoverflow | MACHINE_LEARNING | lightgbm force variables to be in splits | lightgbm force variables to be in splits
I'm trying to find a way to train a lightgbm model forcing to have some features to be in the splits, i.e.: "to be in the feature importance", then the predictions are affected by these variables.
Here is an example of a the modeling code with an usless variable as it is consta... | https://stackoverflow.com/questions/79433458/lightgbm-force-variables-to-be-in-splits | python, machine-learning, lightgbm, ensemble-learning | 1,739,370,986 |
se_79993795 | stackoverflow | MACHINE_LEARNING | Scaling in machine learning | Scaling in machine learning
I have methylation data from different platforms.
And I want to do a classification model; training on one set from a specific platform, and test of the other platform.
Because of this platform difference, I need to scale. I have scaled internally by using the parameter in the train functio... | https://stackoverflow.com/questions/79993795/scaling-in-machine-learning | r, machine-learning, scale, bioinformatics | 1,786,621,221 |
se_79974413 | stackoverflow | MACHINE_LEARNING | Should I learn TensorFlow in parallel while taking Andrew Ng's Machine Learning course? | Should I learn TensorFlow in parallel while taking Andrew Ng's Machine Learning course?
I'm currently taking Andrew Ng's Machine Learning course and have completed the supervised machine learning section. I want to build a strong understanding of machine learning concepts, but I'm also eager to start learning Tens... | https://stackoverflow.com/questions/79974413/should-i-learn-tensorflow-in-parallel-while-taking-andrew-ngs-machine-learning | tensorflow, machine-learning | 1,783,164,086 |
se_30996514 | stackoverflow | MACHINE_LEARNING | How do I find the nearest word for a given vector using a bag-of-words approach? | How do I find the nearest word for a given vector using a bag-of-words approach?
I am trying to build a bag-of-words class which can create a vocabulary and find a nearest word for the given vector in the vocabulary.
For example I load a float vector or a matrix and want to find the nearest word.
Can someone explain t... | https://stackoverflow.com/questions/30996514/how-do-i-find-the-nearest-word-for-a-given-vector-using-a-bag-of-words-approach | c++, machine-learning, nlp, cluster-analysis | 1,435,044,716 |
se_79907944 | stackoverflow | MACHINE_LEARNING | How to implement an efficient Human-in-the-loop workflow for AI-driven ERP risk analysis? | How to implement an efficient Human-in-the-loop workflow for AI-driven ERP risk analysis?
I am currently working on an AI-integrated ERP system that aims to achieve a "symbiotic" relationship between human decision-makers and AI models. Specifically, I am using Python (Pandas & Scikit-learn) to analyze supply chain ri... | https://stackoverflow.com/questions/79907944/how-to-implement-an-efficient-human-in-the-loop-workflow-for-ai-driven-erp-risk | python, machine-learning, artificial-intelligence | 1,773,588,881 |
se_63414169 | stackoverflow | MACHINE_LEARNING | How can implement EM-GMM in python? | How can implement EM-GMM in python?
I have implemented EM algorithm for GMM using this post GMMs and Maximum Likelihood Optimization Using NumPy unsuccessfully as follows:
import numpy as np
def PDF(data, means, variances):
return 1/(np.sqrt(2 * np.pi * variances) + eps) * np.exp(-1/2 * (np.square(data - means) /... | https://stackoverflow.com/questions/63414169/how-can-implement-em-gmm-in-python | python, numpy, machine-learning, scikit-learn, gmm | 1,597,413,321 |
se_79991469 | stackoverflow | MACHINE_LEARNING | Mixing normalization methods (min-max + z-score) for different features | Mixing normalization methods (min-max + z-score) for different features
I am working on a project where I extract a bunch of numeric features (some bounded 0-1, some counts with outliers, some skewed rates, etc.) and feed them into classical ML models.
Is it normal to use different normalization methods for different ... | https://stackoverflow.com/questions/79991469/mixing-normalization-methods-min-max-z-score-for-different-features | best-practices, machine-learning, normalization, minmax, z-score | 1,786,156,201 |
se_66360388 | stackoverflow | MACHINE_LEARNING | Removing Gridlines from Scanned Graph Paper Documents | Removing Gridlines from Scanned Graph Paper Documents
I would like to remove gridlines from a scanned document using Python to make them easier to read.
Here is a snippet of what we're working with:
As you can see, there are inconsistencies in the grid, and to make matters worse the scanning isn't always square. Five... | https://stackoverflow.com/questions/66360388/removing-gridlines-from-scanned-graph-paper-documents | python, opencv, machine-learning, image-processing, computer-vision | 1,614,209,729 |
se_54093185 | stackoverflow | MACHINE_LEARNING | How to understand sample_weight in sklearn.metrics? | How to understand sample_weight in sklearn.metrics?
Do we need to set sample_weight when we evaluate our model? Now I have trained a model about classification, but the dataset is unbalanced. When I set the sample_weight with compute_sample_weight('balanced'), the scores are very nice. Precision:0.88, Recall:0.86 for ... | https://stackoverflow.com/questions/54093185/how-to-understand-sample-weight-in-sklearn-metrics | machine-learning, scikit-learn | 1,546,955,157 |
se_40937543 | stackoverflow | MACHINE_LEARNING | NotFittedError: Estimator not fitted, call `fit` before exploiting the model | NotFittedError: Estimator not fitted, call `fit` before exploiting the model
I am running Python 3.5.2 on a Macbook OSX 10.2.1 (Sierra).
While attempting to run some code for the Titanic Dataset from Kaggle, I keep getting the following error:
NotFittedError Traceback (most recent... | https://stackoverflow.com/questions/40937543/notfittederror-estimator-not-fitted-call-fit-before-exploiting-the-model | python, machine-learning, scikit-learn | 1,480,698,622 |
se_42513694 | stackoverflow | MACHINE_LEARNING | OpenCV 3.1.0 C++ predict function RAW_OUTPUT return values are sometimes inverse | OpenCV 3.1.0 C++ predict function RAW_OUTPUT return values are sometimes inverse
I extract positive and negative descriptor vectors in the cv::Mat objects posSamples and negSamples of type CV_32FC1. Every row corresponds to a vector.
I construct "samples" and "labels" cv::Mat objects to train an SVM. (2 class classif... | https://stackoverflow.com/questions/42513694/opencv-3-1-0-c-predict-function-raw-output-return-values-are-sometimes-inverse | c++, opencv, machine-learning, svm | 1,488,298,369 |
se_69983492 | stackoverflow | MACHINE_LEARNING | How to leverage the Neural Engine on Apple Silicon/M1 processors as a developer? | How to leverage the Neural Engine on Apple Silicon/M1 processors as a developer?
I am struggling to find an answer for this on SO, Google, or Apple's Developer Documentation.
Does Apple provide a APIs for any languages that allow developers to leverage the Neural Engine of the new M1 chips on macOS?
Searching Apple's ... | https://stackoverflow.com/questions/69983492/how-to-leverage-the-neural-engine-on-apple-silicon-m1-processors-as-a-developer | machine-learning, deep-learning, neural-network, apple-m1, apple-silicon | 1,637,033,881 |
se_79981390 | stackoverflow | MACHINE_LEARNING | PyTorch/Captum: RuntimeError: gather(): Expected dtype int32/int64 for index | PyTorch/Captum: RuntimeError: gather(): Expected dtype int32/int64 for index
I'm using captum to do feature attribution using IntegratedGradients on a 1-d regression model I built and trained in PyTorch . To avoid memory errors, I've been running it with the recommended internal_batch_size , based on the number of exa... | https://stackoverflow.com/questions/79981390/pytorch-captum-runtimeerror-gather-expected-dtype-int32-int64-for-index | python, machine-learning, pytorch | 1,784,228,266 |
se_79448910 | stackoverflow | MACHINE_LEARNING | Why facing "CUDA error: device-side assert triggered" while training LSTM model? | Why facing "CUDA error: device-side assert triggered" while training LSTM model?
I am learning Pytorch and deep learning, I am working on a dataset containing 4-features. My problem statement is multiclass classification problem, total 9 possible output 1 to 9.
Gene which is categorical type.
Variation which... | https://stackoverflow.com/questions/79448910/why-facing-cuda-error-device-side-assert-triggered-while-training-lstm-model | python, machine-learning, deep-learning, pytorch | 1,739,894,755 |
se_79980188 | stackoverflow | MACHINE_LEARNING | skl2onnx conversion for standalone RandomForestClassifier results in massive 41% accuracy drop due to list unpacking shape mismatch | skl2onnx conversion for standalone RandomForestClassifier results in massive 41% accuracy drop due to list unpacking shape mismatch
I am converting a standard Scikit-Learn standalone RandomForestClassifier into an ONNX graph using skl2onnx. While my native Python script logs an expected accuracy of 0.7832 on the Titan... | https://stackoverflow.com/questions/79980188/skl2onnx-conversion-for-standalone-randomforestclassifier-results-in-massive-41 | python, machine-learning, scikit-learn, onnx, onnxruntime | 1,783,910,950 |
se_79972279 | stackoverflow | MACHINE_LEARNING | future_invoke_map() deprecated, cannot get replacement to work | future_invoke_map() deprecated, cannot get replacement to work
purrr and furrr have deprecated some of the functions I previously used to build ensemble machine learning models, namely future_invoke_map() which I used as as noted in the snippet below, this mapped the data and random seed to the model function stored i... | https://stackoverflow.com/questions/79972279/future-invoke-map-deprecated-cannot-get-replacement-to-work | r, machine-learning, purrr, tidymodels, furrr | 1,782,927,937 |
se_79866830 | stackoverflow | MACHINE_LEARNING | Do you perform k-fold cross validation in only the training set and how do you coalesce your folds into a single model? | Do you perform k-fold cross validation in only the training set and how do you coalesce your folds into a single model?
I've been trying to wrap my head around how to put k-fold cross validation (which I think I understand conceptually) into practice but every source I consult seems to stop their explanation after jus... | https://stackoverflow.com/questions/79866830/do-you-perform-k-fold-cross-validation-in-only-the-training-set-and-how-do-you-c | machine-learning, cross-validation, k-fold | 1,768,299,010 |
se_79975201 | stackoverflow | MACHINE_LEARNING | Which approaches should be used for monthly demand forecasting with few observations per product? | Which approaches should be used for monthly demand forecasting with few observations per product?
community. How are you?
I am a junior data analyst and I am working on a demand/revenue forecasting project for a factory.
The goal of the project is to forecast, on a monthly basis, the number of units sold/invoiced per ... | https://stackoverflow.com/questions/79975201/which-approaches-should-be-used-for-monthly-demand-forecasting-with-few-observat | python, pandas, machine-learning, data-analysis | 1,783,364,873 |
se_61924299 | stackoverflow | MACHINE_LEARNING | Prevent Keras EarlyStopping from canceling due to early metric spike | Prevent Keras EarlyStopping from canceling due to early metric spike
This is an issue I've run into recently when training various models using Keras. Particularly, this occurs often when training on imbalanced datasets -- archived Medium.com article
The Problem
There are times when model fitting begins with a large s... | https://stackoverflow.com/questions/61924299/prevent-keras-earlystopping-from-canceling-due-to-early-metric-spike | python, tensorflow, machine-learning, keras, tf.keras | 1,590,015,285 |
se_63871492 | stackoverflow | MACHINE_LEARNING | ERROR conda.core.link:_execute(698): An error occurred while installing package 'defaults::icu-58.2-ha925a31_3' | ERROR conda.core.link:_execute(698): An error occurred while installing package 'defaults::icu-58.2-ha925a31_3'
I created environment using anaconda prompt conda create -n talkingbot python=3.5 then install pip install tensorflow==1.0.0 (followed same command as used in one udemy course) but when I tried to in... | https://stackoverflow.com/questions/63871492/error-conda-core-link-execute698-an-error-occurred-while-installing-package | python, machine-learning, anaconda, chatbot, recurrent-neural-network | 1,600,004,544 |
se_79971881 | stackoverflow | MACHINE_LEARNING | Why not use only non-missing value rows as the test set when evaluating an imputed ML pipeline? | Why not use only non-missing value rows as the test set when evaluating an imputed ML pipeline?
For context, I am learning about imputation, and I want to understand what is wrong with my understanding.
The usual workflow I see is:
1. Split X and y into train/test, for example 80/20.
2. fit_transform X_train.
3. trans... | https://stackoverflow.com/questions/79971881/why-not-use-only-non-missing-value-rows-as-the-test-set-when-evaluating-an-imput | python, machine-learning, missing-data, imputation | 1,782,849,644 |
se_79935823 | stackoverflow | MACHINE_LEARNING | Project-level recursive monthly forecasting: even with dynamic anchoring, aggregate portfolio forecast drops unrealistically | Project-level recursive monthly forecasting: even with dynamic anchoring, aggregate portfolio forecast drops unrealistically
I am working on a monthly forecasting problem at project level. Each row in my dataset represents one project for one month, and the target is the monthly effort/imputation for that project. The... | https://stackoverflow.com/questions/79935823/project-level-recursive-monthly-forecasting-even-with-dynamic-anchoring-aggreg | machine-learning, recursion, time-series, xgboost, forecasting | 1,777,895,535 |
se_74640695 | stackoverflow | MACHINE_LEARNING | Convert .ckpt to .h5 | Convert .ckpt to .h5
I have trained the model using resnet18 for mask R-CNN detection. For every epoch, it created a ".ckpt" file only.
Now I want to use that .ckpt file as the detector for detecting images. I have python code that takes a ".h5" file for detection.
Please help me with How I can use the ".ckpt" file fo... | https://stackoverflow.com/questions/74640695/convert-ckpt-to-h5 | python-3.x, tensorflow, machine-learning, object-detection, resnet | 1,669,891,858 |
se_79955889 | stackoverflow | MACHINE_LEARNING | Will a 80 GB GPU and a 48 GB GPU give identical results on an open source text-to-video model for the same quantization and seed? | Will a 80 GB GPU and a 48 GB GPU give identical results on an open source text-to-video model for the same quantization and seed?
I am considering to buy GPUs for my project of open source text-to-video models like ltx-2-19b (lightricks) or wan-v2.2-a14b. I read online that the same configuration/quantization and seed... | https://stackoverflow.com/questions/79955889/will-a-80-gb-gpu-and-a-48-gb-gpu-give-identical-results-on-an-open-source-text-t | machine-learning, deep-learning, artificial-intelligence | 1,781,073,669 |
se_79949369 | stackoverflow | MACHINE_LEARNING | Writing a Neural Network which can have an arbitrary number of hidden layers, could someone tell me if this is the best way to do it? | Writing a Neural Network which can have an arbitrary number of hidden layers, could someone tell me if this is the best way to do it?
#Multiple Layers
import numpy as np
class NeuralNetwork:
def __init__(self, input_size, hiddenLayerSizes, output_size):
self.input_size = input_size
self.hiddenL... | https://stackoverflow.com/questions/79949369/writing-a-neural-network-which-can-have-an-arbitrary-number-of-hidden-layers-co | python, numpy, machine-learning | 1,780,252,448 |
se_79969015 | stackoverflow | MACHINE_LEARNING | Evaluating long-term memory limits in stateless LLM chatbots — feedback needed | Evaluating long-term memory limits in stateless LLM chatbots — feedback needed
I’m working on a research project exploring how stateless LLM-based chatbots handle long conversations and whether important earlier information is still reliably retained over time.
My idea is to:
Run a chatbot using an LLM API without an... | https://stackoverflow.com/questions/79969015/evaluating-long-term-memory-limits-in-stateless-llm-chatbots-feedback-needed | machine-learning, nlp, chatbot, large-language-model | 1,782,665,641 |
se_79902067 | stackoverflow | MACHINE_LEARNING | can V-JEPA be used to detect audience engagement during a seminar from live video | can V-JEPA be used to detect audience engagement during a seminar from live video
I am experimenting with the V-JEPA model developed by Meta for video understanding.
My goal is to analyze a live video stream of people attending a seminar and determine their engagement level (for example: bored, attentive, or intereste... | https://stackoverflow.com/questions/79902067/can-v-jepa-be-used-to-detect-audience-engagement-during-a-seminar-from-live-vide | machine-learning, deep-learning, pytorch, computer-vision, video-processing | 1,772,782,100 |
se_79963197 | stackoverflow | MACHINE_LEARNING | How to update dynamic user embeddings with negative ratings in 768-d space without causing vector drift? | How to update dynamic user embeddings with negative ratings in 768-d space without causing vector drift?
I am building a production-grade recommendation system for a short-video platform (processing around 50k videos). The architecture utilizes a vector database (Qdrant) to store and query 768-dimensional video embedd... | https://stackoverflow.com/questions/79963197/how-to-update-dynamic-user-embeddings-with-negative-ratings-in-768-d-space-witho | python, machine-learning, embedding, recommendation-engine, vector-database | 1,781,876,546 |
se_79956997 | stackoverflow | MACHINE_LEARNING | Trigram Language Model :Two implementations give different loss, are they equivalent? | Trigram Language Model :Two implementations give different loss, are they equivalent?
I am implementing a trigram character-level language model following Andrej Karpathy's makemore series. I have two implementations and I want to understand if they are mathematically equivalent or fundamentally different models( i ga... | https://stackoverflow.com/questions/79956997/trigram-language-model-two-implementations-give-different-loss-are-they-equiva | machine-learning, deep-learning, pytorch, neural-network, cross-entropy | 1,781,254,604 |
se_15104318 | stackoverflow | MACHINE_LEARNING | Difference between image retrieval and image classification | Difference between image retrieval and image classification
load fisheriris
xdata = meas(51:end,3:4);
group = species(51:end);
svmStruct = svmtrain(xdata,group,'showplot',true);
species = svmclassify(svmStruct,[5 2],'showplot',true)
hold on;plot(5,2,'ro','MarkerSize',12);hold off
The above code gives the result -... | https://stackoverflow.com/questions/15104318/difference-between-image-retrieval-and-image-classification | matlab, machine-learning, computer-vision, classification, svm | 1,361,939,791 |
se_79966086 | stackoverflow | MACHINE_LEARNING | class_weight vs data augmentation for handling class imbalance in binary classification? | class_weight vs data augmentation for handling class imbalance in binary classification?
I'm working on a face mask detection project using MobileNetV2 transfer learning for binary classification (with_mask vs without_mask). My dataset has a significant class imbalance:
With mask: 685 images (80.3%)
Without mask: 16... | https://stackoverflow.com/questions/79966086/class-weight-vs-data-augmentation-for-handling-class-imbalance-in-binary-classif | machine-learning, classification | 1,782,262,930 |
se_79965844 | stackoverflow | MACHINE_LEARNING | How can I improve the accuracy of a Random Forest model for student performance prediction? | How can I improve the accuracy of a Random Forest model for student performance prediction?
I am a beginner learning machine learning.
I built a Random Forest classifier to predict student performance using a dataset from Kaggle. My model currently achieves about 87% accuracy.
I would like to know what are some common... | https://stackoverflow.com/questions/79965844/how-can-i-improve-the-accuracy-of-a-random-forest-model-for-student-performance | python, machine-learning, random-forest | 1,782,215,188 |
se_58811930 | stackoverflow | MACHINE_LEARNING | In OLS, why is squaring preferred over taking absolute while calculating errors in linear regression? | In OLS, why is squaring preferred over taking absolute while calculating errors in linear regression?
Why do we use the squared residuals instead of the absolute residuals in OLS estimation.
My idea was that we use the square of the error values, so that residuals below the fitted line (which are then negative), woul... | https://stackoverflow.com/questions/58811930/in-ols-why-is-squaring-preferred-over-taking-absolute-while-calculating-errors | machine-learning, statistics, artificial-intelligence, linear-regression, statsmodels | 1,573,532,001 |
se_47143521 | stackoverflow | MACHINE_LEARNING | Where to apply batch normalization on standard CNNs | Where to apply batch normalization on standard CNNs
I have the following architecture:
Conv1
Relu1
Pooling1
Conv2
Relu2
Pooling3
FullyConnect1
FullyConnect2
My question is, where do I apply batch normalization? And what would be the best function to do this in TensorFlow? | https://stackoverflow.com/questions/47143521/where-to-apply-batch-normalization-on-standard-cnns | python, machine-learning, tensorflow, conv-neural-network, batch-normalization | 1,509,993,421 |
se_79953088 | stackoverflow | MACHINE_LEARNING | What should I focus on? | What should I focus on?
I’m a 1st-year B.Tech CSE (AI & ML) student, and my first year has just ended. During this year, I mainly focused on learning Python because it’s important for AI/ML.
Now during my summer break, I’m feeling a bit confused about what direction I should take next. Should I continue focusing mainl... | https://stackoverflow.com/questions/79953088/what-should-i-focus-on | python, machine-learning, advice | 1,780,932,875 |
se_79960435 | stackoverflow | MACHINE_LEARNING | Uncertainty Estimation vs Oversampling | Uncertainty Estimation vs Oversampling
I am currently doing some work with a fraud detection dataset as part of a research to leverage uncertainty to improve neural networks ensemble of experts' results.
Firstly I had to take the dataset's training data and split it into 6 different domains (5 in-distribution and 1 oo... | https://stackoverflow.com/questions/79960435/uncertainty-estimation-vs-oversampling | python, machine-learning, neural-network, uncertainty, fraud-prevention | 1,781,582,468 |
se_79468013 | stackoverflow | MACHINE_LEARNING | How to run DeepSeek model locally | How to run DeepSeek model locally
I am trying to run DeepSeek locally according to their instructions but it does not work with some silly error (I will show it later).
This is what I am doing.
Download the smallest model (3.5GB) from here https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
Follow the st... | https://stackoverflow.com/questions/79468013/how-to-run-deepseek-model-locally | python, docker, machine-learning, large-language-model, deepseek | 1,740,521,660 |
se_79854533 | stackoverflow | MACHINE_LEARNING | General Curiosity about ai | General Curiosity about ai
Currently i am exploring about agentic ai and found some cool use-cases of it in real world and amazed to see how it's been continously growing over the market and automating simple process together into complex workflows.
Want to deep dive into it more but confused as i don't have studied d... | https://stackoverflow.com/questions/79854533/general-curiosity-about-ai | machine-learning, artificial-intelligence, data-science | 1,766,599,890 |
se_76994104 | stackoverflow | MACHINE_LEARNING | Issue with using XGBoost Regressor | Issue with using XGBoost Regressor
I'm using XGBRegressor algorithm in Jupyter Notebook. Here is my script:
from xgboost import XGBRegressor #xgb regressor module
xgb = XGBRegressor(n_estimators = 3000,learning_rate=0.01)
xgb.fit(X_train,y_train)
But after running the script, I faced the following error,
AttributeEr... | https://stackoverflow.com/questions/76994104/issue-with-using-xgboost-regressor | python, machine-learning, xgboost | 1,693,235,957 |
se_79956615 | stackoverflow | MACHINE_LEARNING | Why is it so difficult to train an accuracte GAN model? | Why is it so difficult to train an accuracte GAN model?
I'm trying to train a GAN model, but its results are very bad. The Generator doesn't seem to work. Can someone suggest how this can be improved? What is the best way to remember the code? Can this also be done using a builtin library?
import os
import torch
impor... | https://stackoverflow.com/questions/79956615/why-is-it-so-difficult-to-train-an-accuracte-gan-model | python, tensorflow, machine-learning, neural-network | 1,781,190,778 |
se_79956866 | stackoverflow | MACHINE_LEARNING | Best pre-trained vision model for multi-plant disease detection in async web back-end | Best pre-trained vision model for multi-plant disease detection in async web back-end
I'm building a web app with FastAPI + async/await Python backend. Users upload leaf photos via API and the server should return: 1) plant species, 2) disease label or "healthy".
Constraints:
Generalization: Must handle multiple crop... | https://stackoverflow.com/questions/79956866/best-pre-trained-vision-model-for-multi-plant-disease-detection-in-async-web-bac | tensorflow, machine-learning, nlp, artificial-intelligence, huggingface-transformers | 1,781,234,440 |
se_75371176 | stackoverflow | MACHINE_LEARNING | module 'numpy' has no attribute 'MachAr'? | module 'numpy' has no attribute 'MachAr'?
I have a question. When I import 'variance_inflation_factor ' from 'statsmodels.stats.outliers_influence', I get ' module 'numpy' has no attribute 'MachAr'' error, what is the reason?
I once executed this code in a project and it worked without any problems, bu... | https://stackoverflow.com/questions/75371176/module-numpy-has-no-attribute-machar | machine-learning, deep-learning, jupyter-notebook, linear-regression | 1,675,761,467 |
se_79945508 | stackoverflow | MACHINE_LEARNING | Advice on Dataset Choice for Two-Way Sign Language App in Flutter | Advice on Dataset Choice for Two-Way Sign Language App in Flutter
I am developing a Flutter app called Talk to Deaf, which aims to enable real-time two-way communication between deaf and hearing users. The app will allow normal users to input text or voice and the deaf user will respond in sign language, while the app... | https://stackoverflow.com/questions/79945508/advice-on-dataset-choice-for-two-way-sign-language-app-in-flutter | flutter, machine-learning, computer-vision, dataset, real-time | 1,779,517,662 |
se_79952666 | stackoverflow | MACHINE_LEARNING | How to save a colored JPG image to the Milvus database? | How to save a colored JPG image to the Milvus database?
I have an application on Symfony, through which images are uploaded.
Image data should be saved to the Milvus database to be processed by AI in the future. If I understand everything correctly, for this I need to convert the JPG image into vectors and save the ar... | https://stackoverflow.com/questions/79952666/how-to-save-a-colored-jpg-image-to-the-milvus-database | php, machine-learning, milvus | 1,780,843,676 |
se_37108811 | stackoverflow | MACHINE_LEARNING | OpenCV 3.1.0: Save and load trained SVMs | OpenCV 3.1.0: Save and load trained SVMs
At the moment I am trying to train different SVMs for the recognition of different emotions. So for example to recognize the emotion happy I train a SVM with images of happy people as positives and images where people express other emotions such as anger, fear, disgust, ... as ... | https://stackoverflow.com/questions/37108811/opencv-3-1-0-save-and-load-trained-svms | c++, opencv, machine-learning, svm | 1,462,774,270 |
se_59749991 | stackoverflow | MACHINE_LEARNING | PyTorch - Custom ReLU squared Implementation | PyTorch - Custom ReLU squared Implementation
I work on a project and I want to implement the ReLU squared activation function (max{0,x^2}). Is it ok to call it like:
# example code
def forward(self, x):
s = torch.relu(x**2)
return s
Or should I implement the activation function on my own? In the... | https://stackoverflow.com/questions/59749991/pytorch-custom-relu-squared-implementation | python, machine-learning, deep-learning, neural-network, pytorch | 1,579,085,934 |
se_72672993 | stackoverflow | MACHINE_LEARNING | ModuleNotFoundError: No module named 'keras.saving' | ModuleNotFoundError: No module named 'keras.saving'
Complete Error:
Using TensorFlow backend.
Traceback (most recent call last):
File "file.py", line 32, in <module>
pickled_model = pickle.load(open('model.pkl', 'rb'))
ModuleNotFoundError: No module named 'keras.saving'
I am not able to solve this error... | https://stackoverflow.com/questions/72672993/modulenotfounderror-no-module-named-keras-saving | python, tensorflow, machine-learning, keras, deep-learning | 1,655,589,140 |
se_79952170 | stackoverflow | MACHINE_LEARNING | What is the practical approach to become an AI Developer to Build AI powered apps/products? | What is the practical approach to become an AI Developer to Build AI powered apps/products?
I request Senior AI Developers to give answer take this question very seriously as most of the students trying to embark in AI your time and advice is very valuable for us so I request all the AI Developers to give precise answ... | https://stackoverflow.com/questions/79952170/what-is-the-practical-approach-to-become-an-ai-developer-to-build-ai-powered-app | machine-learning, deep-learning, artificial-intelligence | 1,780,722,206 |
se_78703313 | stackoverflow | MACHINE_LEARNING | segment_anything causing error with numpy.uint8 | segment_anything causing error with numpy.uint8
I am trying to run https://github.com/facebookresearch/segment-anything/blob/main/notebooks/onnx_model_example.ipynb locally, on an M2 MacBook with Sonoma 14.5. However, I keep running into the following error at step 11:
-------------------------------------------------... | https://stackoverflow.com/questions/78703313/segment-anything-causing-error-with-numpy-uint8 | python, numpy, machine-learning, pytorch, segment-anything | 1,720,024,997 |
se_67740146 | stackoverflow | MACHINE_LEARNING | Learn the matrix function of a sort of bilinear form | Learn the matrix function of a sort of bilinear form
I am thinking to the problem of doing regression on a scalar function f:R^n->R, where I have a set of training samples (x1,y1),...,(xN,yN), with yi = f(xi).
I know I could in principle apply any neural network architecture to do regression on this function, however ... | https://stackoverflow.com/questions/67740146/learn-the-matrix-function-of-a-sort-of-bilinear-form | python, machine-learning, neural-network, regression, non-linear-regression | 1,622,209,918 |
se_79937300 | stackoverflow | MACHINE_LEARNING | Real Time Image Classification Task | Real Time Image Classification Task
I am trying to create a program that takes live camera output on my mac and classifies the gesture that the user is making. I currently have the gestures to be [wave, fist, thumbs up, peace sign, no gesture]
I am currently using ollama's moondream since it is supposedly a fast cv mo... | https://stackoverflow.com/questions/79937300/real-time-image-classification-task | machine-learning, computer-vision, classification, image-classification | 1,778,116,640 |
se_79937962 | stackoverflow | MACHINE_LEARNING | cosine but with little distance duplication at radius_neighbors | cosine but with little distance duplication at radius_neighbors
what metric at NearestNeighbors() that very similiar with cosine. but only make a litttle distance duplication at radius_neighbors() distance?. | https://stackoverflow.com/questions/79937962/cosine-but-with-little-distance-duplication-at-radius-neighbors | python, machine-learning, metrics, nearest-neighbor, cosine-similarity | 1,778,226,023 |
se_79946943 | stackoverflow | MACHINE_LEARNING | PyCaret 3.4.0 and scikit-learn return different results | PyCaret 3.4.0 and scikit-learn return different results
I am currently working with PyCaret 3.4.0, since 4.0 lacks some configuration parameters that are useful for my case.
I tried to replicate PyCaret results using scikit-learn.
This is my script, after running Pycaret's setup and obtaining the transformed data:
com... | https://stackoverflow.com/questions/79946943/pycaret-3-4-0-and-scikit-learn-return-different-results | python, machine-learning, scikit-learn, pycaret | 1,779,822,942 |
se_79944099 | stackoverflow | MACHINE_LEARNING | Training own recommendation model for diploma thesis | Training own recommendation model for diploma thesis
For part of my thesis project, I need to create a mechanism that will generate recommendations for the user based on data stored in my database.
For example, the system has a list of specific tools and their descriptions. I need to create a chat that, when asked how... | https://stackoverflow.com/questions/79944099/training-own-recommendation-model-for-diploma-thesis | machine-learning, artificial-intelligence, recommendation-engine | 1,779,285,342 |
se_79935400 | stackoverflow | MACHINE_LEARNING | KDTree 2d index searching based on pivot_table vector error | KDTree 2d index searching based on pivot_table vector error
i want find 2d index(from PCA). based on pivot_table vector at my custom metric. fastly. that's why im using KDTree. but because it, these error is occur:
ValueError Traceback (most recent call last)
/tmp/ipykernel_9428/753399497.py in <cell line: 0>()
... | https://stackoverflow.com/questions/79935400/kdtree-2d-index-searching-based-on-pivot-table-vector-error | python, numpy, machine-learning, scikit-learn, pca | 1,777,807,145 |
se_79945000 | stackoverflow | MACHINE_LEARNING | Rationale for StandardScaler over MinMaxScaler in spatiotemporal tree-based ensemble models with SHAP interpretability | Rationale for StandardScaler over MinMaxScaler in spatiotemporal tree-based ensemble models with SHAP interpretability
I am developing a spatiotemporal tree-based ensemble framework (utilizing LightGBM, XGBoost, and CatBoost) to forecast dengue outbreaks based on climate variables (temperature, precipitation, humidity... | https://stackoverflow.com/questions/79945000/rationale-for-standardscaler-over-minmaxscaler-in-spatiotemporal-tree-based-ense | python, machine-learning, scikit-learn, xgboost, lightgbm | 1,779,428,707 |
se_58870663 | stackoverflow | MACHINE_LEARNING | How to solve "cannot coerce class to data.frame? | How to solve "cannot coerce class to data.frame?
Problems occur in Line 20: x3 <- lm(Salary ~ ...
Error in as.data.frame.default(data) : cannot coerce class ‘c("train", "train.formula")’ to a data.frame
How to solve?
attach(Hitters)
Hitters
library(caret)
set.seed(123)
# Define training control
set.seed(1... | https://stackoverflow.com/questions/58870663/how-to-solve-cannot-coerce-class-to-data-frame | r, machine-learning, regression, training-data, supervised-learning | 1,573,794,548 |
se_79926858 | stackoverflow | MACHINE_LEARNING | How to get good at feature engineering in building machine learning projects | How to get good at feature engineering in building machine learning projects
I have been trying to tackle different projects and to implement different machine learning architectures. The first roadblock that I face is how to write the code for implementing feature engineering from the data that I already possess.
Any... | https://stackoverflow.com/questions/79926858/how-to-get-good-at-feature-engineering-in-building-machine-learning-projects | machine-learning, feature-engineering | 1,776,363,711 |
se_66181731 | stackoverflow | MACHINE_LEARNING | LineSearchWarning: The line search algorithm did not converge | LineSearchWarning: The line search algorithm did not converge
I have done hyperparameter tuning using logistic regression and I get the error the line search algorithm did not converge. HOw do I resolve this error?
# grid searching key hyperparametres for logistic regression
# define models and parameters
lr_model =... | https://stackoverflow.com/questions/66181731/linesearchwarning-the-line-search-algorithm-did-not-converge | python, machine-learning, scikit-learn | 1,613,189,422 |
se_79941687 | stackoverflow | MACHINE_LEARNING | Improving a Convolutional Neural Network for simulating a fabric | Improving a Convolutional Neural Network for simulating a fabric
As a part of my university course I am working on a project where I am trying to simulate a fabric using machine learning to calculate the forces.
I am very new to Git and GitHub but I think you can find the entire project here (minus the datasets as the... | https://stackoverflow.com/questions/79941687/improving-a-convolutional-neural-network-for-simulating-a-fabric | python, machine-learning, pytorch, conv-neural-network, softbody | 1,778,839,520 |
se_79941323 | stackoverflow | MACHINE_LEARNING | AI/ML student with projects but weak fundamentals because of heavy LLM usage — how should I realistically improve for internships? | AI/ML student with projects but weak fundamentals because of heavy LLM usage — how should I realistically improve for internships?
I’m a 6th sem B.Tech AI/ML student targeting AI/ML internships at Indian startups.
Current situation:
built a multi-agent clinical reasoning system
built a movie recommender using embedd... | https://stackoverflow.com/questions/79941323/ai-ml-student-with-projects-but-weak-fundamentals-because-of-heavy-llm-usage-h | python, machine-learning, architecture, artificial-intelligence | 1,778,780,730 |
se_79911354 | stackoverflow | MACHINE_LEARNING | Using LLM models downloaded from huggingface with langgraph | Using LLM models downloaded from huggingface with langgraph
I downloaded the weights of a llama model from huggingface. It works for simple tasks, but I don't know how to use it with langgraph to create agents or how to bind tools.
Here is how I downloaded it:
model_id = "meta-llama/Llama-3.2-3B-Instruct"
pipeline = t... | https://stackoverflow.com/questions/79911354/using-llm-models-downloaded-from-huggingface-with-langgraph | machine-learning, nlp, large-language-model, ollama, langgraph | 1,774,012,424 |
se_79940924 | stackoverflow | MACHINE_LEARNING | Best practices for image annotation consistency in object detection projects | Best practices for image annotation consistency in object detection projects
I am working on a computer vision dataset preparation workflow for object detection training.
The project involves image annotation using bounding boxes and polygon segmentation for AI model training.
I would like to understand the best pract... | https://stackoverflow.com/questions/79940924/best-practices-for-image-annotation-consistency-in-object-detection-projects | machine-learning, image-processing, deep-learning, computer-vision, yolo | 1,778,741,886 |
se_55569260 | stackoverflow | MACHINE_LEARNING | Feedforward Algorithm in NEAT (Neural Evolution of Augmenting Topologies) | Feedforward Algorithm in NEAT (Neural Evolution of Augmenting Topologies)
I don’t understand how the NEAT algorithm takes inputs and then outputs numbers based on the connection genes, I am familiar with using matrixes in fixed topology neural networks to feedforward inputs, however as each node in NEAT has its own nu... | https://stackoverflow.com/questions/55569260/feedforward-algorithm-in-neat-neural-evolution-of-augmenting-topologies | machine-learning, neural-network, neat, biological-neural-network | 1,554,712,559 |
se_79868178 | stackoverflow | MACHINE_LEARNING | How to become Machine Learning Engineer | How to become Machine Learning Engineer
I'm a salesforce developer, having over 6 years of experience. With this advance in AI, I have decided to change my profile into AI/ML. So, right now I'm studying for Machine Learning Engineer role. I've learned basic ML, transformers, LLMs. I've tried building couple of basic L... | https://stackoverflow.com/questions/79868178/how-to-become-machine-learning-engineer | machine-learning | 1,768,436,746 |
se_79872592 | stackoverflow | MACHINE_LEARNING | What exactly does AI do beyond ML models and rule-based logic? | What exactly does AI do beyond ML models and rule-based logic?
I am learning Machine Learning and AI from scratch and I think I understand the basics, but I am confused at a system-design level.
My current understanding is:
ML models learn patterns from data and output predictions (e.g., classification, regression, p... | https://stackoverflow.com/questions/79872592/what-exactly-does-ai-do-beyond-ml-models-and-rule-based-logic | machine-learning, architecture, artificial-intelligence, system-design | 1,768,979,418 |
se_79923048 | stackoverflow | MACHINE_LEARNING | A question regarding Machine learning linear regression model - Is it possible to create a Linear Regression model with a dataset of shape(505, 1)) | A question regarding Machine learning linear regression model - Is it possible to create a Linear Regression model with a dataset of shape(505, 1))
enter image description here - here is the .detail of the data
enter image description here - the shape of the data
enter image description here .info() and describe()
I'... | https://stackoverflow.com/questions/79923048/a-question-regarding-machine-learning-linear-regression-model-is-it-possible-t | machine-learning, linear-regression | 1,775,757,400 |
se_79939816 | stackoverflow | MACHINE_LEARNING | How to Evaluate my RAG System using Local / free tier API model | How to Evaluate my RAG System using Local / free tier API model
I have build a self-evaluating RAG System now i want to evaluate it so i can know what my system performance for that i used DeeEval framework but the thing is i don’t have OpenAI API key as i’m broke so i’m using free tier API from Groq/Cerebra’s or loc... | https://stackoverflow.com/questions/79939816/how-to-evaluate-my-rag-system-using-local-free-tier-api-model | machine-learning, deep-learning, artificial-intelligence, evaluation, rag | 1,778,574,623 |
se_79939212 | stackoverflow | MACHINE_LEARNING | Best Open Source Models or Libraries for Accurate PDF Data Extraction? | Best Open Source Models or Libraries for Accurate PDF Data Extraction?
I am looking for the best open-source models, frameworks, or libraries for extracting text and structured data from PDFs with high accuracy.
My use case includes:
Extracting text from scanned and digital PDFs
Handling invoices, forms, insurance d... | https://stackoverflow.com/questions/79939212/best-open-source-models-or-libraries-for-accurate-pdf-data-extraction | python, machine-learning, pdf, ocr, python-tesseract | 1,778,485,895 |
se_79930771 | stackoverflow | MACHINE_LEARNING | AI ML roadmap for a beginner aiming for a remote job | AI ML roadmap for a beginner aiming for a remote job
I am just starting out as a cs student. I wanna get into ML domain where I can apply for remote jobs from the country I am living in. How can I get started?, Where can I learn the required technologies? and What can I expect from them? | https://stackoverflow.com/questions/79930771/ai-ml-roadmap-for-a-beginner-aiming-for-a-remote-job | python, machine-learning, artificial-intelligence, computer-science, large-language-model | 1,776,953,756 |
se_42070528 | stackoverflow | MACHINE_LEARNING | What does global pooling do? | What does global pooling do?
I recently found the "global_pooling" flag in the Pooling layer in caffe, however was unable to find sth about it in the documentation here (Layer Catalogue)
nor here (Pooling doxygen doc) .
Is there an easy forward examply explanation to this in comparison to the normal Pool-Layer behavio... | https://stackoverflow.com/questions/42070528/what-does-global-pooling-do | machine-learning, deep-learning, conv-neural-network, caffe | 1,486,392,351 |
se_79937075 | stackoverflow | MACHINE_LEARNING | Guidance on Training an AI Connect 4 Bot | Guidance on Training an AI Connect 4 Bot
(If StackOverflow is not the place for these kinds of general guidance questions, please point me to where I should ask them 😊)
Hi there!
I have a lot of experience as a programmer, but I've never done anything AI related. I thought a good place to start would be to train a bo... | https://stackoverflow.com/questions/79937075/guidance-on-training-an-ai-connect-4-bot | python, machine-learning, rust, neural-network, artificial-intelligence | 1,778,078,152 |
se_28736050 | stackoverflow | MACHINE_LEARNING | Logistic Regression in Machine Learning | Logistic Regression in Machine Learning
I'm researching on the topic of "logistic Regression" in machine learning.I could understand the entire concept that it's trying to maximize the likelihood of an instance belonging to a particular class label
The algorithm, if run for many iterations, finds a weight vector th... | https://stackoverflow.com/questions/28736050/logistic-regression-in-machine-learning | machine-learning, logistic-regression | 1,424,932,839 |
se_70775762 | stackoverflow | MACHINE_LEARNING | How to make a Confusion Matrix with Keras? | How to make a Confusion Matrix with Keras?
I have trained my model (multiclass classification) of CNN using keras and now I want to evaluate the model on my test set of images. Is there a way to create confusion matrix? | https://stackoverflow.com/questions/70775762/how-to-make-a-confusion-matrix-with-keras | python, tensorflow, machine-learning, keras, confusion-matrix | 1,642,616,069 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.