Questions tagged [c#]

C-sharp is a general-purpose object-oriented programming language created & managed by Microsoft.

Filter by
Sorted by
Tagged with
2
votes
0answers
55 views

ML-Agent “std of reward: 0.000.” Agent stops learning

I've been trying to train my self-balancing agent to learn to keep his waist above a certain position. But after a while, he just repeatedly keeps trying the same approach/tactic over and over again. ...
0
votes
1answer
24 views

How can i normalize the input data to neural network [duplicate]

I've got a question. I thought about it so much, but cant get an idea how can I do that. I want to create neural network in Encog framework. The neural network is about shopping. I have a database ...
0
votes
0answers
32 views

Faulty backpropagation of hidden layers? (C#)

I have been getting into machine learning and I decided to create my own NN Backpropagation program without libraries. I was making progress quite nicely for a while, but I got stuck and I can't seem ...
0
votes
0answers
36 views

Why doesn't my Feed-forward NN work when I try to train it with multiple inputs? [duplicate]

Basically I am trying to create a Neural Network in c# from scratch, without using any libraries. The issue that I am facing with right now is whenever I try to train my network with different inputs ...
-1
votes
1answer
112 views

How can we calculate mean? [closed]

In the AForge.net the mean value of a vector is calculated as follows: ...
1
vote
1answer
29 views

Similiarity between temperature vectors [closed]

Please help in the following problem: I have a set of data consisting of daily temperatures, gathered every hour, togheter with daily energy consumption. Given the temperature forecast on the next day,...
2
votes
0answers
387 views

SVD based recommender system C#

I'm trying to reduce the number of dimensions in my dataset for a movie recommender system using SVD. I'm using the 'MovieLens 1M Dataset' from GroupLens.org. I've used the MathNet library for ...
2
votes
0answers
300 views

How to determine states for Hidden Markov Model

I am trying to learn about machine learning using Accord.Net. I created a project that has a number of labeled states that represent screens a user visited in a sequence. I created some unit tests to ...
3
votes
1answer
797 views

Interpreting the entropy of a Dirichlet distribution

I was looking for a measure to interpret the "spikiness" of categorical histograms. So, if it becomes unnaturally skewed towards a certain value at a given time, I want a metric that will show some ...
2
votes
1answer
585 views

Neural network vectorization, no convergence

2I am trying to implement a fully vectorized neural net following this example Stanford. I am using C# with Math.net numerical library of which the binaries can be downloaded here NuGet. Because the ...
0
votes
1answer
63 views

How to calculate ideal amount of reps needed for good average in R

Basically, I have some samples I'm processing to get moisture results on and I want to get a good average on the readings based on the ideal amount of repetitions. Duplicates is not enough and 10 ...
2
votes
0answers
139 views

Calculate value needed to reach target by the end of a year

I have a set of values (scores to a particular KPI), these are reported monthly. I need to calculate what I'd have to score every month from now until the end of the year to reach that target. I'm ...
5
votes
1answer
5k views

Time-series forecasting (in C#)

I'm developing an app in C# (WPF) that amongst other things, it makes a time-series based forecast of sales (4-5 months into the future). I'm an industrial engineer so I'm not pro in statistics nor in ...
0
votes
1answer
701 views

How do I ensure my implementation of a MLP from Weka is correct?

I have been training MLPs for a binary classification problem in the Weka explorer and now have one with an acceptable level of accuracy. I've written some code to parse the text of the model which ...
1
vote
0answers
139 views

Validating logistic regression - formulas needed for simulation

This is related to a data classification problem having a Boolean output variable. Summary: Once I perform the ML task using Logistic regression, I get the required coefficients. I use the ...
3
votes
1answer
977 views

Visualizing large file-based or Redis-in-memory stored large datasets (millions of data points)

I am very active at StackExchange's QuantFinance forum but thought this question is more suitable to be asked here. I am generating large time series data and store them in-memory in Redis (...
1
vote
1answer
189 views

When should I update a recommendation engine?

[I asked this on StackOverflow and was told it would be a better fit here] I am including a basic recommendation engine in a very small project for my final exam. I understand the code and the math ...
2
votes
1answer
3k views

Using multinomial regression's coefficients to derive predicted outcomes in C#

I am attempting to use C# (and the alglib library) to calculate the predicted probability that an outcome ends up in one of five classes. I have managed to calculate parameter estimates (i.e. slope ...
1
vote
3answers
288 views

Comparing odds and payouts of different lotteries

I'm not a statistician, but I'm interested in how far I can push myself with my basic algebra skills, armed with a C# development background and Excel. Suppose I have several lotteries, each with ...
1
vote
1answer
1k views

Dividing and forecasting a normal distribution

I have a collection of real-world samples that I am trying to model and then forecast. There are 10 datasets – each has an increasing number of data points (from 1 to 10). The points are equi-...
2
votes
0answers
47 views

Math Statistics Bell Curve Computing % correct given 2 numbers (C#) [duplicate]

Possible Duplicate: Computing per cent correctness from a bell curve I've been trying to remember my High School teachings and are falling short. I'm working on a project where I need to give a %...