Questions tagged [minima]

Minima is a one-size-fits-all Jekyll theme. https://github.com/jekyll/minima

55 questions
0
votes
1 answer

Discrepancy between GitHub Pages and locally hosted Jekyll site

I'm encountering an odd style difference between my locally hosted Jekyll site and the live site, on GitHub Pages. More specifically, the site shows up with the correct format locally—but with garbled formatting on the live version. I've examined…
sonny
  • 313
  • 3
  • 11
0
votes
1 answer

Is there a way to calculate minima of a function

I have a function similar to square error. It goes till n (n ~ 1000) f(s) = (d1 - sd'1)**2 + (d2 - sd'2)**2 + .... + (dn - sd'n)**2 I have 2 lists d = [0.0322, 0.245, 0.85 ..... n] d' = [56, 200, 340 ..... n] I want to calculate the global minima…
Vdass
  • 3
  • 2
0
votes
1 answer

how to compare the values among more than one local minima in a dataframe?

I have a dataframe as follows - df <- cbind(c(1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3),c(4,8,12,18,21,24,27,1,4,7,10,13,16,19,22,25,28,5,10,15,20,25), c(1.0,0.7,2.0,2.9,1.6,0.6,0.9,2,4,1,8,4,2,0.8,1.2,1.0,0.6,2,9,7,4,5)) colnames(df) <-…
Biostats
  • 51
  • 8
0
votes
1 answer

How to change the header font size and remove the footer in Jekyll minima theme?

I would like to use Jekyll's minima theme but would like to: Increase the size of the header (it will occupy a somewhat bigger fraction of the screen). I would also like to remove the line that separates the header from the rest. Remove the…
Nick
  • 2,924
  • 4
  • 36
  • 43
0
votes
1 answer

Embed gist tag {% gist 7555c74 %} in github minima not working

I am trying to add code excerpts via my gists using tag {% gist 1234567 %}. But they are not getting displayed in my post. They are displayed as is. {% gist 1234567 %}. My post is a markdown file which I am hosting using github pages with jekyll…
Vidya
  • 17
  • 1
  • 6
0
votes
1 answer

How can I update google analytics snippet in minima?

Google analytics has recently changed the code snippet that needs to be added to pages. Minima theme still uses old template, which results in data loss. Here is an open issue on github. I assume I should be able to fix that issue by editing gem…
Rotkiv
  • 1,051
  • 2
  • 13
  • 33
0
votes
1 answer

Optimizing a function within a given range in scipy

I have been trying to get the minimum for a function of a single variable. The function is: sym.sqrt((x+6)**2 + 25) + sym.sqrt((x-6)**2 - 121) The function's derivative (which is (x - 6)/sym.sqrt((x - 6)**2 - 121) + (x + 6)/sym.sqrt((x + 6)**2 +…
0
votes
0 answers

Calculate derivative of a 1-d array

I have a given point list in a text file, that I am reading and store it in an array. I want to calculate the derivative for this array, because I want to figure out where the local maxima and minima are located. Here is the code, which gives an…
krszt
  • 63
  • 1
  • 7
0
votes
2 answers

Graph with data such as this, how do I find peaks and troughs of each 'cluster'? in R

I want maximum and minimum values of each of these clusters, how would i go about finding this? Example data is below. df = structure(list(X1 = c(2729, 2730, 2731, 2732, 2733, 2734, 2735, 2736, 2737, 2738, 2739, 2740, 2741, 2742, 2743, 2744,…
0
votes
0 answers

Combining close points in graph

So I have values given below. Here Index is frame numbers and A is the value related to that frame number. Index A 15 21.0 21 0.0 28 18.0 35 0.0 43 21.0 52 0.0 55 nan 60 nan 63 nan 64 nan 69 16.0 70 nan 72 15.0 79 nan 82 nan 91 …
0
votes
0 answers

Setting column spacing in Minima CSS framework

I have Jekyll-based blog hosted on a GitHub page. The blog uses a local copy (hence editable) of the standard Minima theme. The goal is have a front page layout similar (but not identical to) Google Keep's theme. I'm using a div with "columns: n;"…
Brian Piercy
  • 631
  • 1
  • 7
  • 22
0
votes
1 answer

Missing theme file on Jekyll installed with RVM

I've error when i install Jekyll on MacOS 10.13.2 with 'gem install jekyll' command: ERROR: While executing gem ... (Gem::FilePermissionError) To solve this problem i am installed RVM and install Jekyll with RVM. Jekyll runs perfectly. But i've…
bekircem
  • 3
  • 3
0
votes
0 answers

Finding all the local mins in an ArrayList

I am trying to find all the local minima in an ArrayList. The basic idea is to find all the support levels of a stock. A support level refers to the price level below which, historically, a stock has had difficulty falling. It is the level at which…
Rito
  • 3,092
  • 2
  • 27
  • 40
0
votes
2 answers

R peak and valley filltering with threshold

I am using below code to list out Peaks and Valleys. x_last <- as.numeric(series[1]) x <- as.numeric(series[2]) d_last <- (x-x_last) series[1:2] <- NULL output <- list() for (x_next in series){ if (x_next == x){ next} d_next <- (x_next -…
Rudesh_Bala
  • 85
  • 10
0
votes
1 answer

r find index of minima with gap / distance condition

list <- c(1,1,1,4,5,6,9,9,2) I want to find the index of the 3 lowest values , but with the condition that the index of the found minima is at least 3 points apart from each other. To find the 3 lowest indices I'm using which(list <= sort(list,…
user6774970