#Linear programming
Explore tagged Tumblr posts
Text
oh my god, linear programming is fucking crazy holy shit. one of my homework problems was to:
1) make a linear program for finding the median of a list of numbers
2) take the dual of it
3) notice that the program has more structure than you first thought it did
4) slightly change the linear program to find any arbitrary percentile of a list
once you take the dual again, you get a really nice linear program to find any percentile that would've been really unintuitive to figure out from the beginning.
it's really poggers u should look at it. trust,,,
https://en.wikipedia.org/wiki/Linear_programming?wprov=sfla1
82 notes · View notes
statanalytica2 · 8 months ago
Text
Need help with linear programming? Our service is designed to support students at all levels, covering basics to advanced topics.
0 notes
dimalink · 2 months ago
Text
Near the shore – to do dreams and programming
Tumblr media
Mysterious story. Text quest. You find yourself at the shore. This is island. From one side - it is ocean. Blue sea. And, from other side – it is forest. And, you are walking the sand beach. Read text. And do actions. There are not a lot of them. With every game scene, you need to do something. And, reading the text, you learning the story. Sometimes, you can go in a different way. But, story is linear.
Tumblr media
You find out yourself at the shore. Sand. Yellow sandy beach. Sandy line, it is going far in a distance, along the island. And ocean. Blue light blue sea. Blue sky. Bright sunny weather. Deeper to the island – it is forest. And, you are with wide sandy line.
youtube
Text story, as old games. Where you need to read text and write commands with actions. There are not a lot of actions here. And story is not very long. Some places, you can turn to the different directions. And, anyway, story is linear. Everything will be going to a key point.
Tumblr media
Little of actions. A direction of move. And some actions. North, south, west, east, speak, take, use, list. Mainly, commands with directions. And little of items.
Decoration is so blue. And so sunny. You are at the island, and going along sand. Sea – big sea from one side. And blue sky. In a bright sunny day. True huge ocean. And sand. And, you walk with it. Mysterious story.
Tumblr media
I dream, for a long time, to make some text quests. With a simple form. To have some background. And text. And simple commands. And, it can to be most different stories. I like to have a dreams and to write. Of course, I watched, also, how it is to play very first Zork. But, I have here not a Zork, absolutely, of course. Much more simple. Zork - it is, well known, text quest. It is very complicated about realization. And, I have everything simple.
Tumblr media
Beach and sand. Yellow sand. You are walking along the sand. Ocean makes a noise nearby. It is so endless and blue. And sky. Cloudless sky. This is a text story. And you write your commands. For example, north. This means go to north. Or south. This means go to south. And it will be written with text. For the south you see a road, for example. This means, by story, you need to go to south. Little game is linear.
Tumblr media
Some places, there are two paths. To the different sides. For example. At the north it is forest, and at the south it is water. And you can go with one of the directions. But, with next turn, story will, anyway, go to one single point. A little of variations for the story.   
Game is not long. And, there are some items here, but not a lot. A little of interactions. For example, it is with the description. You see before your eyes a stick. And, you can to write command take stick. And to see what items do you, already, have there is command – list. Sometimes, you need to talk. For example, with the text it is written, before you it is standing magical creature. And you write speak magic creature.
Tumblr media
Mainly, you need to make a steps with directions. North, south, west, east. And read text. Sometimes, to do something. Valuable part of the game. You are collecting shells. Read text. And watch, it will be written, that before your eyes it is a shell. Green shell, for example. And write take green shell. It is very valuable thing with this story. You need to collect shells, which are all over the place.
Tumblr media
There are moments, which you can to lose. For example, you can be drowning in a swamp. There is one place – where you do not need to go. It will be immediately game over. Dangerous dark place. And there are places, where if you do not have shells, so you never go next. And game will over. Or without some item. Stick, for example. So, there is here such a spiral stick. With patterns. Sometimes, you need to use items. To go right to next scene. Other case, in a next, it will be - game over for you.
Tumblr media
It looks all like Norton Commander for Ms Dos. Blue background. At the low part – commands, which you can write. And text. And you write your command. There are scenes, where you need just to read – there is command next, in those scenes. Only one is shown.
Tumblr media
I am learning and these things too. So here it is good to write a story. To have a dreams, this means. And do programming. It is interesting things. I dream for a long time to learn these things. You are at the sand. What will you do?
Tumblr media
Basic Pascal version 1.18 "Duckling" – most newest version. In this version there are 4 new games! Puddles at Countryside, Duckling Pseudo 3D, Road to Countryside, Duckling Goes 2D. And even more retro games! It is a pack of retro games with modern versions of Basic and Pascal.
It is now in development new version Basic Pascal pack games. This game will be included in a new version.
Basic Pascal: http://www.dimalink.tv-games.ru/games/basicpascal/index_eng.html Website: http://www.dimalink.tv-games.ru/home_eng.html Itchio: https://dimalink.itch.io/basic-pascal
8 notes · View notes
b-blushes · 4 months ago
Text
SAD! the 60 minutes between 2pm and 3pm got lost in the fatigue vortex. oh well there's 23 other hours
8 notes · View notes
datasciencewithmohsin · 5 months ago
Text
Tumblr media
Simple Linear Regression in Data Science and machine learning
Simple linear regression is one of the most important techniques in data science and machine learning. It is the foundation of many statistical and machine learning models. Even though it is simple, its concepts are widely applicable in predicting outcomes and understanding relationships between variables.
This article will help you learn about:
1. What is simple linear regression and why it matters.
2. The step-by-step intuition behind it.
3. The math of finding slope() and intercept().
4. Simple linear regression coding using Python.
5. A practical real-world implementation.
If you are new to data science or machine learning, don’t worry! We will keep things simple so that you can follow along without any problems.
What is simple linear regression?
Simple linear regression is a method to model the relationship between two variables:
1. Independent variable (X): The input, also called the predictor or feature.
2. Dependent Variable (Y): The output or target value we want to predict.
The main purpose of simple linear regression is to find a straight line (called the regression line) that best fits the data. This line minimizes the error between the actual and predicted values.
The mathematical equation for the line is:
Y = mX + b
: The predicted values.
: The slope of the line (how steep it is).
: The intercept (the value of when).
Why use simple linear regression?
click here to read more https://datacienceatoz.blogspot.com/2025/01/simple-linear-regression-in-data.html
6 notes · View notes
fpacatuto · 1 year ago
Text
Tumblr media
firealpaca update log 2.11.15 (19.02.2024) (STABLE VERSION)
Tumblr media
This appears to fix a few things as well as add a few features.
FireAlpaca Ver 2.11.15 ( 2024/02/19 )
Now save temporary resizing state of brush size.
"dominant hand" can now be changed in the environment settings (the direction of the brush cursor will change).
The horizontally flipped display of the canvas is no longer reflected in time-lapse recording.
Improved the timing of ending time-lapse recording.
Opacity can now be changed in the brush editing dialog.
Added “Linear Burn” to layer blend mode.
Added "random coordinate shift for each stroke" option to brush texture.
Improved snap processing to 0 degrees during multi-touch rotation.
You can now turn off snapping to 0 degrees during multi-touch rotation from the preferences.
Improved Chinese (simplified and traditional) and Korean translations.
Improved slider display in dark UI.
Added default color palette.
20 notes · View notes
itsgerges · 2 months ago
Text
Tumblr media
Best Regards Can Young Interference Be A Model For The Solar System Design? https://app.box.com/s/m5knmtma5f0vejev6x17f16idai9yurx or https://app.box.com/s/e9m3r3e9x2o3ncik9xznihwdh2581bsv or https://www.tumblr.com/itsgerges/781095009302740992/can-young-interference-be-a-model-for-the-solar?source=share or https://gerges2022.livejournal.com/254918.html
Paper argument Young Interference Is A Model For The Solar System Design
The Argument Explanation The argument is explained by answer the following 12 questions 1 Can The Space Be Created By Light Beam Energy? 2 How Can Young Interference Be A Model For The Solar System Design? 3 What Are The Useful Results We Get If (Young Interference Can Be A Model For The Solar System Design)? 4 What Proves We Have For The Idea Tells (Young Interference Can Be A Model For The Solar System Design)? 5 How Can The Coherence Of Light Be Occurred? 6 Can The Light Move Into The Past? 7 How Is Planet Formatted (Planet Formation Details)? 8 What problems are made by Young interference as a model for the solar system design? 9 Why Do We See The Bright Fringes As Planets? 10 Does Space Creation Need a speed 1.16 million km per second? 11 What's The Time Definition? 12 Can the solar system design be greater than (Young Interference)? Let's answer in following NOTICE I try to prove that (Young Interference Is A Model For The Solar System Design) in this proof I use many new facts I have discovered- but I don't explain any of these facts here- because all facts are explained and proved in the paper discussions. First Question Can The Space Be Created By Light Beam Energy? What Machine Can Use The Light Beam Energy To Create The Space? Young Interference uses two light beams for coherence of light- and this coherence produced the interference (bright fringes and dark fringes)- if we accept the space is similar to the dark fringes- that tells- the space can be produced by the coherence of light (If we put a small creature as ant inside a dark fringe this creature will see this dark fringe as space around it) Second Question How Can Young Interference Be A Model For The Solar System Design? Young Interference Is Consisted Of Bright Fringes And Dark Fringes And - if Young interference is a model for the solar system- that tells 1 We See The Bright Fringes As Planets (The Fringe Breadth Is Comparable With The Planet Diameter) 2 We See The Dark Fringes As These Planets Orbits (Space)- 3 The bright fringes order is typical to the solar planets distribution between the sun and Pluto 4 Planet velocity is defined based on its order because (V2=0.8 V1)- means- each planet velocity = (0.8) of its previous neighbor velocity (for example The Earth velocity 29.8 km/s x (0.8) = 24.1 km/s Mars velocity error 1%) – means- the order defines each planet velocity- that answers the question (why does planet orbit define its velocity?) NOW- let's compare between Young Interference and the solar system design 1 The planets distribution is typical to Young Interference-because- the greatest diameter planet "Jupiter" is found in the middle and the other planets diameters are decreased gradually on both sides typical to the fringes distribution in Young interference- 2 Please remember- I proved Mars original orbit was between Mercury and Venus and Mars had migrated to its current orbit by that the inner planets original order was (Mercury- Mars- Venus- The Earth) the diameters are decreased gradually from the Earth to Mercury typical to Young Interference (Also the outer planets diameters are decreased gradually from Jupiter to Pluto)- 3 If Young Interference can be used as a model for the solar system that means we see the bright fringes as planets (why? the answer is later) Third Question What Are The Useful Results We Get If (Young Interference Is A Model For The Solar System Design)? we get two useful results which are First result- this proves the conclusion tells (Light Can Move Into The Past)- which can enable us to create the time machine (explained later)(CONT) Gerges Francis Tawdrous +201022532292 Physics Department- Physics & Mathematics Faculty Peoples' Friendship university of Russia – Moscow
Curriculum Vitae https://www.academia.edu/s/b88b0ecb7c E-mail [email protected], [email protected] [email protected] ORCID https://orcid.org/0000-0002-1041-7147 Facebook https://www.facebook.com/gergis.tawadrous VK https://vk.com/id696655587 Tumblr https://www.tumblr.com/blog/itsgerges Researcherid https://publons.com/researcher/3510834/gerges-tawadrous/ Google https://scholar.google.com/citations?user=2Y4ZdTUAAAAJ&hl=en Livejournal https://gerges2022.livejournal.com/profile Pocket https://getpocket.com/@646g8dZ0p3aX5Ad1bsTr4d9THjA5p6a5b2fX99zd54g221E4bs76eBdtf6aJw5d0?src=navbar
box https://app.box.com/s/47fwd0gshir636xt0i3wpso8lvvl8vnv Academia https://rudn.academia.edu/GergesTawadrous List of publications http://vixra.org/author/gerges_francis_tawdrous Slideshare https://www.slideshare.net/Gergesfrancis
2 notes · View notes
boar410511 · 3 months ago
Text
Mars Crater Study-1
This article was written as a practice exercise with reference to the information provided in the COURSERA course, specifically the Mars Crater Study.
=========================================
My program,
import pandas as pd
import statsmodels.formula.api as smf
# Set display format
pd.set_option('display.float_format', lambda x: '%.2f' % x)
# Read dataset
data = pd.read_csv('marscrater_pds.csv')
# Convert necessary variables to numeric format
data['DIAM_CIRCLE_IMAGE'] = pd.to_numeric(data['DIAM_CIRCLE_IMAGE'], errors='coerce')
data['DEPTH_RIMFLOOR_TOPOG'] = pd.to_numeric(data['DEPTH_RIMFLOOR_TOPOG'], errors='coerce')
# Perform basic linear regression analysis
print("OLS regression model for the association between crater diameter and depth")
reg1 = smf.ols('DEPTH_RIMFLOOR_TOPOG ~ DIAM_CIRCLE_IMAGE', data=data).fit()
print(reg1.summary())
=========================================
Output results,
Dep. Variable:     DEPTH_RIMFLOOR_TOPOG
R-squared:0.344
Model: OLS
Adj. R-squared:0.344
Method:Least Squares  
F-statistic:2.018e+05
Date:Thu, 27 Mar 2025
Prob (F-statistic):0.00
Time:14:58:20
Log-Likelihood:1.1503e+05
No. Observations:384343
AIC:-2.301e+05
Df Residuals:384341
BIC:-2.300e+05
Df Model: 1                                        
Covariance Type:nonrobust                                        
                  coef    std err        t      P>|t|      [0.025      0.975]
Intercept   0.0220   0.000     70.370     0.000     0.021       0.023
DIAM_CIRCLE_IMAGE    
0.0151   3.37e-05   449.169    0.000    0.015    0.015
Omnibus:390327.615
Durbin-Watson:1.276
Prob(Omnibus):0.000  
Jarque-Bera (JB):4086668077.223
Skew: -3.506
Prob(JB):0.00
Kurtosis:508.113
Cond. No.10.1
=========================================
Results Summary:
Regression Model Results:
R-squared: 0.344, indicating that the model explains approximately 34.4% of the variability in crater depth.
Regression Coefficient (DIAMCIRCLEIMAGE): 0.0151, meaning that for each unit increase in crater diameter, the depth increases by an average of 0.0151 units.
p-value: 0.000, indicating that the effect of diameter on depth is statistically significant.
Intercept: 0.0220, which is the predicted crater depth when the diameter is zero.
Conclusion:
The analysis shows a significant positive association between crater diameter and depth. While the model provides some explanatory power, other factors likely influence crater depth, and further exploration is recommended.
2 notes · View notes
blake447 · 2 years ago
Text
Tumblr media
I'm happy to announce that save game functionality has been added in the latest version of nDimensional Time Travel Chess! On top of that I've added two new game modes! One on a flattened out 4D board, and one of the first 5D game played about halfway through (added as its own game mode for totally unrelated reasons to save game being a new feature I swear!) Check it out on
https://blake447.itch.io/ndimensional-time-travel-chess
43 notes · View notes
thecoolergoj · 1 year ago
Text
God who left mathematicians in charge of naming math shit?
In linear algebra, which is like algebra with lines on graphs, one of the standards is that when you're talking about a normalized vector (aka a line with a length of 1) it's notated with a lil ^ over it. So for instance, i becomes î. This is literally read as i-hat Because it Looks like it has A Hat.
No other reason.
10 notes · View notes
ustalav · 8 months ago
Text
anyway i really really need to finish my math homework before i play but i dont want to so im doing nothing instead
2 notes · View notes
radioactivelight · 10 months ago
Text
Tumblr media
niche meme is niche
2 notes · View notes
dimalink · 2 months ago
Text
Free Linear Space – space little animals, bugs, ants
Tumblr media
I want a little to speak about numbers. I have drawn 70 types of space bugs, space ships and Ufo Sausages. Total. They are something like types of enemies in videogame Free Linear Space. As a common thing, real point, they are your friends. And, you are flying to them as a guest. So, here there are everyone. Bug, bugs, lots of bugs, Ufo sausages, big ant, big caterpillar. And, total, there are 70 of them.
Tumblr media
So, what the way it is a shooter? Well, yes, these are your friends – yes. But, well, just a genre, game has a genre, joke kind, it is a space vertical shooter. That’s all!
Tumblr media
And, also, I have drawn 15 types of player. You can select, what kind you will play for. Everyone is playing same way. Everyone is flying same kind. And shoot too. Only they have different visual look. Size, also, same. 15 types. It is a rocket and little airplane and little as space ship something. And, again, there are lots of bugs! You can play for your friends – bugs. Bugs in space. Space bugs! This is a good and kind and joyful little game. But, it is in genre of space shooter. And, it is vertical kind, additional points!
Tumblr media
And, what do you think about your friends? As I can say! So, here you see a ladybug is flying in space. About her own things to do. Maybe, somewhere near – there are space flowers. Or big over big ant, just fly across your point. In space! Yes, with giant ant – you need to be a friend, that’s for sure! Caterpillar, is here, little less in size, green it is, and so near to you.
Tumblr media
And, a special mention – it is for Ufo sausages. Alien mysterious guest. It flies and flies over here. And what do you think – who is inside Ufo is sitting in? Maybe, again, bug or ant?
Tumblr media
Wait a second! Here amongst us, there is a big green caterpillar! And, you know what? I have never seen such creatures on planet Earth. So, it flies, by her way. Across you. And, do not notice anyone! Eats some grass, maybe! While on the road. Or, there is here a cockroach. And, here, look, some little and mysterious flies with purple color. So, they are very different by color. Look, they are purple! Just like the flowers. Lavender, for example! Some little fly. Sits at the flower. But here, they all are big in space.
Tumblr media
It is so good, when all around you - it is so a lot of friends. And all of them, are some bugs, aliens. Speaking the truth, all around is such a bustle. So, you need to dodge, all the time! From them. To avoid some crash with them.
Tumblr media
 This is something like a joke. So, it has a joke kind of style. Just to pay some attention to my efforts. And some mark these drawing I made. This is also about good and kind animals. Some way. But, no, it is in space! Do not forget, that all of them are your friends! So, during summer, they live in your garden. And next, they fly in space! As a real thing, how it was, I spent time for drawing. And, this was so special time for drawing. And, I made it everything – just, it was in a plan! And, with drawing, I receive things I want. And, by the way, a lot. 70 sprites. Plus 15 for player sprites. It is nice to watch, as I can say!
Tumblr media
Space little friends are running! And flying! They are flapping their little wings. And, they like everything about what`s going on. And one more thing, I think, that graphics, someway, reminds about eight-bit computer format M S X. So, I don’t know, what certain first or second model. So, a magical computer from 80s. With Basic instead of operating system, as I though in those days. Because of, all the time, Microsoft M S X Basic was loaded. Or, something like that. So, graphics with this style.
Tumblr media
And good and kind animals from space wave to you their eight-bit hello!
Tumblr media
Basic Pascal version 1.18 "Duckling" – most newest version. In this version there are 4 new games! Puddles at Countryside, Duckling Pseudo 3D, Road to Countryside, Duckling Goes 2D. And even more retro games! It is a pack of retro games with modern versions of Basic and Pascal.
It is now in development new version Basic Pascal pack games. This game will be included in a new version.
Basic Pascal: http://www.dimalink.tv-games.ru/games/basicpascal/index_eng.html Website: http://www.dimalink.tv-games.ru/home_eng.html Itchio: https://dimalink.itch.io/basic-pascal
6 notes · View notes
star-byrd · 10 months ago
Text
anyone have tips on learning the basics of linear algebra in approximately seven days. trying to take a datamining class and i might have dived directly into the ocean.
2 notes · View notes
itsjunetime · 2 years ago
Text
Making a Matrix library in Rust
I wrote a blog post! It's available here, and it's about writing a linear algebra library in Rust and all the weird type issues that I ran into along the way.
It's also on my new website that I just got set up - it still needs some work, but I really just wanted it to be a simple blogging platform and an opportunity for me to try to build something new, so I hope it works well (enough) for y'all. It's built in rust as well (why wouldn't it be, that's definitely not overkill), using yew for the frontend and axum/sqlx for the backend. I think I'd like to write a post, on the blog, about how I made the blog, so watch out for that if that seems interesting :)
12 notes · View notes
website-com · 10 months ago
Text
the next thing i want to concentrate on in my art is space and composition, which is gonna be soooooooo annooyiinggg without a formal education. im gonna have to watch tutorials and stuff uugghh
3 notes · View notes