Questions tagged [c]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 views

When would C become nescessary to do an analysis or manage data?

I use python in my day to day work as a research scientist and I am interested in learning C. When would a situation arise where python would prove insufficient to manipulate data?
1 vote
0 answers
34 views

Loading file into and out of HDFS via system call/cmd line vs using libhdfs

I am trying to implement a simple C/C++ program for the HDFS file system like word count, it takes a file from the input path puts it into HDFS (where it gets split), processed my map-reduce function ...
  • 11
3 votes
2 answers
375 views

Is it possible to deploy a python trained machine learning model (e.g. a .pkl file) in C language?

I would like to train my machine learning using Python and libraries such as tensor flow, keras, and scikit-learn. After trained, I would like to export this trained model to a file, so far I have ...
  • 161
1 vote
0 answers
11 views

For diagonal difference this logic is showing a garbage value. Where am I doing wrong? [closed]

...
1 vote
1 answer
55 views

Is there a python version of Mitchell's face pose recognition code?

The original code for chapter 4 in Tom Mitchell's book for recognizing face pose from images is here: http://www.cs.cmu.edu/afs/cs.cmu.edu/user/mitchell/ftp/faces.html But it's in C, not that there ...
0 votes
1 answer
355 views

How to implement Classification and Anomaly detection (C++)

I am creating a system using C++(DX11) and i'm reading raw data into my program, i want to classify what the 3D data-set i'm reading in is and detect any anomalies it may have when compared to a ...
2 votes
0 answers
210 views

Can Convolutional Neural Networks (CNN) be represented by a Mathematical formula?

Let's say that I already trained my CNN. Is there anyway of my ouput to be represented as a formula just like a perceptron can (x1w1 + x2w2 + ... = PREDICTION). It does not matter if the formula is ...
  • 161
3 votes
0 answers
161 views

Best linear algebra library for C++?

I have been trying to find the substitute of numpy and perform some linear algebra using C++. Here's a list of the libraries I have encountered: Eigen Armadillo Dlib GNU Scientific library Please ...
  • 2,255
0 votes
2 answers
213 views

C++ return array from function

I would like to implement machine learning algorithm in C++ without using any C++ machine learning library. So I'm writing this initializer function for generating zero matrices but can't figure out ...
2 votes
1 answer
415 views

How to interpret Sum of Squared Error in a classification task

I am working on ANN. I have 2497 training examples and each of them is a vector of 128, so the input size is 128. Number of neurons in hidden layer is 64 and number of output neurons is 6 (since ...
1 vote
1 answer
196 views

Precision/recall from out-of-bag predictions in RandomForestClassifier

I would like to use out-of-bag training/validation with a classifier such as RandomForestClassifier. Is it possible to get the out-of-bag predictions? I want the OOB predictions so I can compute ...
  • 219
7 votes
2 answers
32k views

Is there a C library for machine learning algorithms? [closed]

Are there any machine learning libraries for C. Specifically interested in unsupervised learning.
6 votes
4 answers
10k views

Why aren't languages like C, C++ used for data analytics instead of R, Python?

I have started learning data science using R, however I have C++ as a subject this semester, and my project is to predict the outcome of a game using C++. I have not come across many instances (close ...
1 vote
1 answer
93 views

Neural network with multiple layer: learning function

Here is my code to implement the learning of my neural network using the backpropagation learning. The algorithms is stable but I don't learn correctly the output. Do you see anything wrong in my ...
  • 11
46 votes
12 answers
53k views

Data Science in C (or C++)

I'm an R language programmer. I'm also in the group of people who are considered Data Scientists but who come from academic disciplines other than CS. This works ...
  • 1,889