This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://towardsdatascience.com/linear-programming-using-python-priyansh-22b5ee888fe0 | |
| # Toy Example: | |
| # If we had Decision Varibales that will use i and j for example | |
| # with 2 warehouses & 4 customers | |
| # Data Definition | |
| # Let’s define the data and assign it to variables which can be then used to feed into the model, objective function and constraints. | |
| n_warehouses = 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Wed Dec 13 09:50:32 2017 | |
| @author: Derek Christensen | |
| The Vector Space Model: Implementation | |
| HW 2 | |
| CIS 833 Information Retrieval and Text Mining |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head><meta charset="utf-8" /> | |
| <title>christensen_finalprj</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | |
| <style type="text/css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Python 2.7 | |
| How can I and/or why can't I slice for a specific row or range of rows? | |
| See code lines & corresponding output below. | |
| ''' | |
| print(type(freq_word_Corpus)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| runfile('C:/Users/Derek Christensen/Dropbox/KSU/imse865advsim/17-G-Projects/prj4_5/20180527-imse865advsim-prj4-stat-dchristensen-2A_RNG_test.py', wdir='C:/Users/Derek Christensen/Dropbox/KSU/imse865advsim/17-G-Projects/prj4_5') | |
| hello, this is line numner 191 | |
| (---------------rep = 0 --------------) | |
| curarrseed = 50001 | |
| curdepseed = 94907 | |
| curdepseed = 94907 | |
| u1 = 0.0105404310107 | |
| curdepseed = 2847365 | |
| u2 = 0.31623014472 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Lab 2 – Week 2 | |
| /* Lab2LoopsArrays2.java | |
| * Author: Derek Christensen | |
| * Date: 20180425 | |
| */ | |
| /** Lab2LoopsArrays2.java | |
| PART 1: | |
| Store and analyze Exam Scores, including: | |
| - input |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Output Payroll.java: | |
| What is your name? Derek | |
| How many hours did you work this week? 20 | |
| What is your hourly pay rate? 5 | |
| Hello, Derek | |
| Your gross pay is $100.0 | |
| Output TextNextLineFlow.java with Line 33 commented out: | |
| ( //keyboard.nextLine(); //without this line program will not work) |