Questions tagged [monotone]

Monotone is an open-source distributed version control system.

Monotone is an open-source distributed version control system.

13 questions
3
votes
1 answer

Monotone for the Git user?

I'm pretty used to git by now, and I'm about to start contributing to a project that uses Monotone (mtn). I could just use the export system to convert to git locally, but I figured learning another DVCS wouldn't be too hard learning is Good For…
rampion
  • 87,131
  • 49
  • 199
  • 315
2
votes
0 answers

XGboost with monotonic constraints for explainability

I am building in Python a credit scorecard using this public dataset: https://www.kaggle.com/sivakrishna3311/delinquency-telecom-dataset It's a binary classification problem: Target = 1 -> Good applicant Target = 0 -> Bad applicant I only have…
Giampaolo Levorato
  • 1,055
  • 1
  • 8
  • 22
2
votes
1 answer

Monotone - only pull the latest revision of a repository

I have a remote monotone repos I want to pull from, but I really only need the latest revision (Nope, don't need the history. Yes I'm sure. And I really don't want to wait the hour-and-a-half required to get the full history). Is there a quick…
rampion
  • 87,131
  • 49
  • 199
  • 315
2
votes
1 answer

combining git and monotone

I need to work with an monotone repository. However I'm used to git and looking for way to push my changes into monotone (like git-svn). According to monotone doc I can import the monotone repo into git. But do you know some good way to push my…
qbi
  • 2,104
  • 1
  • 23
  • 35
2
votes
1 answer

Code Tidy vs Source Control (Monotone or Git)

I work on a reasonably large project (well over 100K lines of code) and it's pretty messy with each developer using whichever style they feel like at the time (everything from braces to variable names to file names varies). An obvious first step on…
1
vote
0 answers

Why does max_leaves conflicts with monotone_contraints in Python xgboost?

I have trained the following XGboost: model = XGBClassifier( objective='binary:logistic', base_score=0.5, booster='gbtree', colsample_bylevel=1, colsample_bynode=1, colsample_bytree=1, enable_categorical=False, …
Giampaolo Levorato
  • 1,055
  • 1
  • 8
  • 22
1
vote
3 answers

How do I get just the branch from a Git command?

Possible Duplicate: Show just the current branch in Git I am moving my monotone DVCS to git. In my build setup I have qmake get the current revision and the current branch (because these are build on buildbot) so that it can be used as a…
Phil Hannent
  • 12,047
  • 17
  • 71
  • 118
1
vote
0 answers

Is there a Python package for monotonic splines?

I am trying to find a procedure to fit data monotonically in Python. The data won’t be necessarily monotonic but the fit must be because of theoretical assumptions: so the signal must be monotonic but the measurements are taken with noise. I imagine…
0
votes
1 answer

TFS : Deposit 5 pounds, get back 5 pounds?

Q1 : Does TFS gaurentee it's storage? For instance, if I commit a file with content printfn "%s" "fizz buzz" will I get back a file with content printfn "%s" "fizz buzz" or will I get back file with content printfn "%s" "fizz bUzz" and an error…
judek
  • 313
  • 2
  • 8
0
votes
2 answers

non-strict evaluation in Haskell regarding halting-prob

Suppose there exists a Haskel-function realizing the halt-problem: halt :: Integer->Bool that evaluates to True if x is defined and to False otherwise. Let's assume we are calling this function in Haskell in another function as fHalt x = halt…
Rodney
  • 205
  • 2
  • 7
0
votes
1 answer

Smoothing measured data in MATLAB?

I have measured data from MATLAB and I'm wondering how to best smooth the data? Example data (1st colum=x-data / second-colum=y-data): 33400 209.11 34066 210.07 34732 212.3 35398 214.07 36064 …
tim
  • 9,896
  • 20
  • 81
  • 137
-1
votes
1 answer

Solution codewars to car Mileage problem, running out of ideas?

I am trying to work out a solution to the CodeWars challenge Catching Car Mileage Numbers: Write the function that parses the mileage number input, and returns a 2 if the number is "interesting" (see below), a 1 if an interesting number occurs…
-1
votes
1 answer

Edge immediately to the left of a vertex

I would like to know how to know the "edge immediately to the left of a vertex", just by using geometry? Here is an image showing the problem. For instance, how can I know that edge e5 is directly left to vertex e4. Or that the edge directly left to…